.studio-nav nav { gap: clamp(.6rem, 1.9vw, 2rem); }
.studio-nav nav a { min-height: 44px; white-space: nowrap; }
.studio-nav nav a[aria-current="page"] { color: var(--cobalt); font-weight: 700; }
.home-product-menu { position: relative; z-index: 3; }
.home-product-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 44px;
  min-height: 44px;
  height: 100%;
  font-weight: 530;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}
.home-product-menu summary::-webkit-details-marker { display: none; }
.home-product-menu summary::after {
  content: "";
  width: .38rem;
  height: .38rem;
  margin-top: -.2rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.home-product-menu[open] summary { color: var(--cobalt); }
.home-product-menu[open] summary::after { margin-top: .15rem; transform: rotate(225deg); }
.product-nav-links {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  width: 13rem;
  max-height: min(25rem, calc(100dvh - 6rem));
  margin: 0;
  padding: .45rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce5f4;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 .8rem 2.5rem #182d561a;
  list-style: none;
}
.product-nav-links li:first-child { margin-bottom: .28rem; padding-bottom: .28rem; border-bottom: 1px solid #e4eaf5; }
.site-header nav .product-nav-links a {
  display: flex;
  justify-content: flex-start;
  padding-inline: .8rem;
  border-radius: .5rem;
  font-size: .94rem;
}
.site-header nav .product-nav-links a::after { content: none; }
.product-nav-links a:is(:hover, :focus-visible) { color: var(--cobalt); background: #f1f5fc; }
.product-nav-links a:focus-visible { outline-offset: -3px; }
.studio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.15rem; }
.studio-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
.studio-copy p { max-width: 24em; }
.entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  min-height: 46px;
  padding: .48rem clamp(.84rem, 1.45vw, 1.2rem);
  border: 1px solid #c9d7ed;
  border-radius: 2.5rem;
  background: #fff;
  color: #234482;
  font-size: .94rem;
  font-weight: 670;
  line-height: 1.35;
  text-align: center;
}
.entry-link::after {
  content: "";
  flex: none;
  width: .44rem;
  height: .44rem;
  border: solid currentColor;
  border-width: 1.7px 1.7px 0 0;
  transform: rotate(45deg);
}
.entry-link:is(:hover, :focus-visible) { border-color: #9bb2dd; background: #f0f5ff; }
.entry-link--primary { border-color: transparent; background: var(--cobalt); color: white; }
.entry-link--primary:is(:hover, :focus-visible) { border-color: transparent; background: var(--ultramarine); }
.entry-link--play::after {
  order: -1;
  width: 0;
  height: 0;
  border: .29rem solid transparent;
  border-right: 0;
  border-left: .43rem solid currentColor;
  transform: none;
}
.character-actions { margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .entry-link { transition: background .18s ease, border-color .18s ease, box-shadow .22s ease; }
  .entry-link::after { transition: translate .22s ease; }
  .entry-link:hover { box-shadow: 0 .4rem .9rem #264a8c14; }
  .entry-link:not(.entry-link--play):hover::after { translate: .12rem 0; }
}

.brand-principles {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  gap: clamp(1.35rem, 6vw, 6rem);
  padding: clamp(1.25rem, 4.25vw, 4.25rem);
  border-radius: clamp(1.15rem, 2.65vw, 2.1rem);
  background: radial-gradient(ellipse at 12% 12%, #263e72, transparent 82%), #192b51;
  color: #fff;
}
.section-heading h2,
.recruit-panel h2 {
  font-size: clamp(1.7rem, 3.35vw, 3.4rem);
  line-height: 1.27;
  letter-spacing: -.055em;
}
.section-heading .section-label { margin-bottom: .65rem; }
.section-heading > p:last-child { max-width: 38rem; margin-top: .9rem; color: var(--secondary); }
.brand-principles .section-label { color: #f4d28b; }
.brand-principles .section-heading h2 { font-size: clamp(1.95rem, 4.45vw, 4.5rem); line-height: 1.18; }
.brand-principles .section-heading > p:last-child { max-width: 26em; color: #e5edfd; line-height: 1.85; }
.principle-list {
  display: grid;
  align-content: center;
  gap: clamp(.95rem, 1.85vw, 1.65rem);
  margin: 0;
}
.principle-list > div { padding-top: .75rem; border-top: 1px solid #7690c083; }
.principle-list dt { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 720; }
.principle-list dd { margin: .35rem 0 0; color: #dce8fc; line-height: 1.8; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.65rem, 1.65vw, 1.5rem);
  margin-top: clamp(1.2rem, 3.15vw, 2.75rem);
}
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce2e9;
  border-radius: 1rem;
}
.product-card:hover { border-color: var(--cobalt); }
.product-visual { aspect-ratio: 16 / 9; overflow: hidden; background: #edf2f7; }
.product-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-visual.contained img { object-fit: contain; padding: .35rem; }
.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(.7rem, 1.8vw, 1.55rem);
}
.product-copy h3 {
  margin: .32rem 0 .45rem;
  font-size: clamp(1.12rem, 1.85vw, 1.8rem);
  line-height: 1.25;
}
.product-copy p { color: var(--secondary); line-height: 1.65; }
.product-copy .product-state { color: var(--cobalt); font-size: clamp(.73rem, 1.15vw, .88rem); font-weight: 650; }
.product-link {
  color: var(--cobalt);
  margin-top: auto;
  padding-top: .85rem;
  font-weight: 650;
}
.product-card:hover .product-link { text-decoration: underline; text-underline-offset: .25em; }
.brand-home #founder { border-top: 0; }
.brand-home #founder .studio-actions { margin-top: .65rem; }
.account-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem 1.8rem;
  margin-top: 1.25rem;
  padding: clamp(1.1rem, 2.6vw, 2.25rem);
  border: 1px solid #dae1ee;
  border-radius: 1rem;
  background: #f7f9fc;
}
.account-panel h2, .account-panel h3 { margin: .25rem 0; font-size: clamp(1.3rem, 2.35vw, 2.05rem); }
.account-panel p:not(.section-label) { max-width: 37rem; color: var(--secondary); }
.account-panel .text-link { margin: 0; min-height: 44px; }

.studio-page, .status-page { padding-block: clamp(1.4rem, 4.5vw, 4.25rem); }
.page-intro { padding-bottom: clamp(1.5rem, 4vw, 3.25rem); }
.page-intro h1, .health-panel h1 {
  margin: .45rem 0 .75rem;
  font-size: clamp(2.6rem, 6.15vw, 6.2rem);
  line-height: 1.12;
  letter-spacing: -.055em;
}
.page-intro p:not(.section-label) {
  max-width: 35em;
  color: var(--secondary);
  font-size: clamp(1rem, 1.32vw, 1.21rem);
  line-height: 1.85;
}
.health-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.2rem, 5vw, 4rem);
  padding: clamp(1.4rem, 4.5vw, 4.2rem);
  border-radius: 1.25rem;
  background: #eef3fa;
}
.health-panel .studio-actions { margin-top: 1.15rem; }
.profile-project {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(1rem, 4.5vw, 4rem);
  padding-block: clamp(1.4rem, 3.7vw, 3.6rem);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}
.profile-project h2, .profile-project h3, .note h2 {
  margin: .5rem 0 .75rem;
  font-size: clamp(1.45rem, 2.75vw, 2.75rem);
  line-height: 1.34;
  letter-spacing: -.045em;
}
.profile-project p:not(.section-label), .profile-project li, .note p:not(.section-label) { color: var(--secondary); line-height: 1.9; }
.profile-project p + p, .note p + p { margin-top: .75rem; }
.profile-project ul { margin: .8rem 0; padding-left: 1.2rem; }
.profile-project li + li { margin-top: .55rem; }
.profile-project .studio-actions { margin-top: .7rem; }
.profile-project img { width: 100%; border-radius: .75rem; }
.profile-project figcaption { margin-top: .55rem; color: var(--secondary); font-size: .88rem; }
.resume-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .35rem 1.5rem;
  margin-bottom: clamp(1rem, 3vw, 2.5rem);
}
.resume-intro h1 { font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.15; letter-spacing: -.045em; }
.resume-intro p { margin-top: .42rem; color: var(--secondary); }
.resume-intro .text-link { margin: 0; }
.profile-feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(1rem, 3.15vw, 2.6rem);
  padding: clamp(1.1rem, 3.1vw, 2.8rem);
  border: 1px solid #dce5f4;
  border-radius: clamp(1rem, 2.2vw, 1.7rem);
  background: #eff4fb;
}
.profile-feature h3 { font-size: clamp(1.85rem, 4.35vw, 3.7rem); }
.profile-feature p.case-promise { color: var(--ink); font-size: clamp(1.05rem, 1.6vw, 1.34rem); font-weight: 650; line-height: 1.55; }
.profile-feature figure { min-width: 0; }
.profile-feature img { border: 1px solid #d8e2f3; background: white; }
.case-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem clamp(1rem, 3vw, 2.4rem);
  margin: 0;
}
.case-details div { padding-top: .72rem; border-top: 1px solid #cbd9eb; }
.case-details dt { font-weight: 700; line-height: 1.4; }
.case-details dd { margin: .35rem 0 0; color: var(--secondary); font-size: .92rem; line-height: 1.65; }
.resume-work .profile-feature + .profile-project { margin-top: clamp(1.25rem, 3vw, 2rem); border-top: 0; }
.poster-figure { text-align: center; background: #f3f0ea; padding: clamp(.85rem, 2vw, 1.6rem); border-radius: .95rem; }
.poster-figure img { width: min(100%, 19rem); margin-inline: auto; border-radius: .25rem; }
.recruit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.3rem, 3.6vw, 3rem);
  border-radius: 1rem;
  background: #15284b;
  color: white;
}
.recruit-panel p { max-width: 29em; margin-top: .75rem; color: #e1eafa; }
.recruit-panel .profile-contact { margin: 0; padding: 0; border: 0; }
.recruit-panel .text-link { color: #e1eafa; }

.notebook { max-width: 52rem; }
.notes-index { display: flex; flex-wrap: wrap; gap: 0 1.15rem; border-top: 1px solid var(--rule); }
.notes-index a { display: inline-flex; min-height: 44px; align-items: center; color: var(--cobalt); text-decoration: underline; text-underline-offset: .2em; }
.note { padding-block: clamp(1.6rem, 4vw, 3.4rem); border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.cover-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
}
.cover-intro img, .health-panel img { width: 100%; border-radius: .8rem; }
.ai-use-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 clamp(1.5rem, 4.5vw, 4rem); }
.health-panel { background: #e9f4ed; color: #173f35; }
.health-panel h1 { font-size: clamp(2.3rem, 5.5vw, 5.35rem); }
.backup-actions { margin-top: .65rem; }

.collaboration-panel, .contact-page { max-width: 74rem; }
.collaboration-panel { margin-bottom: clamp(1.5rem, 4vw, 3.5rem); scroll-margin-top: 1rem; }
.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dce5f5;
  border-radius: clamp(1.25rem, 3vw, 2.25rem);
  background: linear-gradient(135deg, #fbfcff, #eff3fb);
  color: #182543;
}
.contact-content { align-self: center; min-width: 0; padding: clamp(1.2rem, 3.6vw, 3.5rem); }
.contact-title {
  font-size: clamp(1.9rem, 3.7vw, 3.3rem);
  line-height: 1.25;
  letter-spacing: -.055em;
}
.contact-description { max-width: 27em; margin-top: .85rem; color: #4a5870; }
.contact-topic {
  margin-top: .8rem;
  padding: .85rem 1rem .35rem;
  border: 1px solid #dce5f5;
  border-radius: .75rem;
  background: #fff;
  color: #334561;
  font-size: .94rem;
  line-height: 1.65;
}
.copy-contact-intro { margin: 0; padding: 0; border: 0; background: transparent; }
.contact-topic-feedback { margin-inline-start: .45rem; color: #4a5870; font-size: .84rem; }
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: clamp(1rem, 2.4vw, 1.8rem);
}
.contact-options article { scroll-margin-top: 1rem; }
.contact-options a {
  position: relative;
  display: block;
  min-height: 100%;
  padding: .8rem 1.9rem .8rem .85rem;
  border: 1px solid #dbe4f3;
  border-radius: .85rem;
  background: #fff;
}
.contact-options a::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: .85rem;
  width: .53rem;
  height: .53rem;
  border: solid var(--cobalt);
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.contact-options a:hover { border-color: #8ba8e8; background: #f3f7ff; }
.contact-options h3 { margin: 0 0 .28rem; font-size: 1.04rem; line-height: 1.35; }
.contact-options p { color: #4a5870; font-size: .88rem; line-height: 1.55; }
.contact-actions { margin-top: clamp(1rem, 2.3vw, 1.55rem); }
.contact-actions .studio-action:hover { background: var(--ultramarine); }
.contact-actions .contact-email { max-width: 100%; overflow-wrap: anywhere; font-size: .94rem; }
.contact-visual {
  position: relative;
  isolation: isolate;
  min-height: clamp(25rem, 35vw, 30rem);
  overflow: hidden;
  overflow: clip;
  background: linear-gradient(148deg, #e8efff, #bed1ff 85%);
}
.contact-visual::before, .contact-visual::after { content: ""; position: absolute; }
.contact-visual::before {
  inset: 26% 15% -20% 7%;
  border: 1px solid #f7f9ffbc;
  border-radius: 23%;
  background: linear-gradient(150deg, #f0f5ff 6%, #d5e2ff 76%);
  transform: rotate(-23deg);
}
.contact-visual::after {
  top: 21%;
  right: 16%;
  width: clamp(2rem, 5vw, 3.8rem);
  aspect-ratio: 1.55;
  border-radius: .55rem;
  background: #ffcc57;
  transform: rotate(28deg);
}
.contact-visual img {
  position: absolute;
  z-index: 1;
  top: 6%;
  left: 50%;
  width: auto;
  height: 116%;
  max-width: none;
  transform: translateX(-50%);
}
.contact-content .wechat-card {
  width: min(100%, 15rem);
  margin-top: .9rem;
  border: 1px solid #dce5f5;
  border-radius: .75rem;
  background: white;
}
.contact-card-hint { margin-top: .65rem; color: #4a5870; font-size: .88rem; }
.contact-dialog {
  width: min(47rem, calc(100% - 1.4rem));
  max-height: calc(100dvh - 1.4rem);
  padding: 0;
  border: 0;
  border-radius: 1.35rem;
  box-shadow: 0 1rem 4rem #13255235;
}
.contact-dialog::backdrop { background: #10213eaa; }
.contact-dialog .contact-layout { border: 0; border-radius: 0; }
.contact-dialog .contact-content { padding: 1.35rem clamp(1.2rem, 3vw, 2.4rem); }
.contact-dialog .contact-title { font-size: 1.72rem; }
.contact-dialog .contact-visual { min-height: 0; }
.contact-dialog .contact-visual img { height: 104%; }
.close-contact {
  position: absolute;
  z-index: 1;
  top: .75rem;
  right: .75rem;
  min-width: 44px;
  min-height: 44px;
  padding: .35rem .7rem;
  border: 1px solid #c9d7ee;
  border-radius: 2rem;
  background: #fff;
  font-size: .85rem;
}
.close-contact:hover { background: #f1f5ff; }

@media (prefers-reduced-motion: no-preference) {
  .contact-options a, .contact-actions .studio-action, .close-contact {
    transition: border-color .18s ease, background-color .18s ease;
  }
  .contact-dialog[open] { animation: contact-enter .23s cubic-bezier(.19, .72, .28, 1) both; }
  @keyframes contact-enter {
    from { opacity: 0; transform: translateY(.6rem) scale(.99); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 64rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .site-header.studio-nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: .5rem; }
  .studio-nav .identity { justify-self: start; }
  .studio-nav nav { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; }
  .studio-nav nav a { font-size: .9rem; }
  .home-product-menu summary { font-size: .9rem; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-visual { min-height: clamp(16.5rem, 57vw, 24rem); }
}
@media (max-width: 45rem) {
  .brand-principles, .profile-project, .case-details, .recruit-panel, .health-panel, .cover-intro { grid-template-columns: 1fr; }
  .principle-list > div { padding-top: .65rem; }
  .product-copy p:not(.product-state), .product-link { font-size: .9rem; }
}
@media (max-width: 52rem), (max-height: 30rem) {
  .contact-dialog { width: min(25rem, calc(100% - 1.4rem)); }
  .contact-dialog .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-dialog .contact-title { padding-right: 3rem; }
  .contact-dialog .contact-visual { display: none; }
  .contact-dialog .wechat-card { margin-inline: auto; }
  .contact-dialog .contact-card-hint { text-align: center; }
  .contact-dialog .contact-actions { justify-content: center; }
}
@media (max-width: 31rem) {
  .contact-options { grid-template-columns: minmax(0, 1fr); }
}
