@charset "UTF-8";

:root {
  --paper: #f6f5f1;
  --ink: #232522;
  --muted: #74766f;
  --line: #d9dad3;
  --soft: #eeeee8;
  --body-font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --title-font: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --gutter: clamp(24px, 7.8vw, 140px);
  --content-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body-font); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; background: none; font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { opacity: .25; cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h2, h3 { font-weight: 500; }
[hidden] { display: none !important; }
::selection { background: #d9dfd0; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; padding: 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 15px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 0 var(--gutter);
  background: rgb(246 245 241 / 94%);
  backdrop-filter: blur(16px);
}
.brand { font-size: 19px; font-weight: 600; letter-spacing: .3px; white-space: nowrap; }
.brand > span { font-size: 12px; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { padding: 14px 0; font-size: 12px; color: var(--muted); transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-join { display: flex; align-items: center; gap: 22px; min-height: 44px; font-size: 12px; }
.header-join span { font-size: 19px; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 25px; min-height: min(780px, calc(100svh - 96px)); max-width: 1600px; margin: 0 auto; padding: 65px var(--gutter) 80px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-family: var(--title-font); font-weight: 500; font-size: clamp(72px, 7.25vw, 112px); line-height: 1.4; letter-spacing: -5px; text-align: left; }
.hero h1 span { display: block; animation: enter 1s both; }
.hero h1 span:last-child { animation-delay: .12s; }
.hero-link { display: grid; place-items: center; width: 48px; height: 48px; margin-top: 52px; font-size: 24px; transition: transform .3s; }
.hero-link:hover { transform: translateY(5px); }
.hero-art { position: relative; height: 570px; width: 100%; pointer-events: none; }
.staircase { position: absolute; left: 50%; top: 50%; width: 460px; height: 510px; transform: translate(-50%, -50%); }
.staircase::before { content: ""; position: absolute; width: 285px; height: 34px; left: 56px; bottom: 45px; background: #aaa99b; opacity: .15; border-radius: 50%; filter: blur(19px); transform: rotate(-24deg); }
.stair { position: absolute; width: 255px; height: 150px; left: calc(14px + var(--step) * 24px); bottom: calc(34px + var(--step) * 40px); animation: stair-enter 1.2s both; animation-delay: calc(.1s + var(--step) * .065s); }
.stair::before, .stair::after, .stair > i { position: absolute; inset: 0; content: ""; }
.stair::before { background: #e9e8e0; clip-path: polygon(0 40%, 65% 0, 100% 20%, 35% 60%); }
.stair::after { background: #d4d3c9; clip-path: polygon(0 40%, 35% 60%, 35% 76%, 0 56%); }
.stair > i { background: #b8baaf; clip-path: polygon(35% 60%, 100% 20%, 100% 36%, 35% 76%); }
.about-section { border-top: 1px solid var(--line); }

.section { max-width: calc(var(--content-width) + var(--gutter) * 2); margin: 0 auto; padding: 132px var(--gutter); }
.section h2 { font-size: 24px; letter-spacing: -.7px; line-height: 1.5; }
.about-layout, .practice-layout, .faq-layout { display: grid; grid-template-columns: 1fr 1.85fr; gap: 80px; }
.about-layout > h2, .practice-layout > h2, .faq-layout > h2 { padding-top: 7px; }
.about-statement { max-width: 690px; font-size: clamp(26px, 2.6vw, 39px); line-height: 1.7; font-weight: 400; letter-spacing: -1px; }
.about-core { font-size: 17px; line-height: 1.9; margin: 27px 0 37px; color: var(--muted); }
.practice-layout { margin-top: 105px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; gap: 28px; min-height: 76px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 16px; line-height: 1.7; }
summary::-webkit-details-marker { display: none; }
.plus { flex-shrink: 0; position: relative; margin-left: auto; width: 12px; height: 12px; }
.plus::before, .plus::after { content: ""; position: absolute; top: 5px; left: 0; width: 12px; height: 1px; background: var(--muted); transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.detail-body { padding: 0 35px 28px 0; font-size: 14px; line-height: 2; color: var(--muted); }
.detail-body > p + p { margin-top: 15px; }
.practice-list summary { font-size: 20px; min-height: 85px; }

.projects-section { border-top: 1px solid var(--line); padding-top: 99px; }
.section .section-title { font-family: var(--title-font); font-size: 49px; font-weight: 500; letter-spacing: -1px; }
.project-filters { display: flex; gap: 32px; margin: 45px 0 36px; }
.filter { min-height: 44px; padding: 8px 0 14px; border-bottom: 1px solid transparent; font-size: 13px; color: var(--muted); }
.filter.active { border-color: var(--ink); color: var(--ink); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px 30px; }
.project-card { display: block; width: 100%; padding: 0; text-align: left; }
.project-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.52; overflow: hidden; background: var(--soft); }
.project-image img { height: 100%; object-fit: cover; transition: transform .7s; }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-image.screen { padding: 30px; }
.project-image.screen img { object-fit: contain; }
.project-image.phone { gap: 15px; padding: 31px 40px 0; }
.project-image.phone img { align-self: flex-start; width: 28%; height: auto; border: 1px solid #d5d6cf; border-radius: 9px; }
.project-image.phone.single img { width: 37%; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 21px; }
.project-meta h3 { font-size: 17px; font-weight: 400; line-height: 1.6; }
.project-meta > span { flex-shrink: 0; font-size: 20px; color: var(--muted); transition: transform .3s; }
.project-card:hover .project-meta > span { transform: translate(3px, -3px); }
.honors-details { margin-top: 65px; border-top: 1px solid var(--line); }
.honors-details > .detail-body { padding-right: 0; }
.honors-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.honor-controls { flex-shrink: 0; }
.honor-images { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; margin-top: 22px; padding-bottom: 16px; }
.honor-images:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.honor-images img { flex: 0 0 calc((100% - 48px) / 3); width: calc((100% - 48px) / 3); min-width: 0; height: 330px; object-fit: contain; background: var(--soft); scroll-snap-align: start; }

.community-section { padding-top: 25px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.gallery-controls { display: flex; gap: 12px; }
.icon-button { display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; font-size: 25px; transition: opacity .2s; }
.icon-button:hover:not(:disabled) { opacity: .55; }
.gallery { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery-item { flex: 0 0 calc((100% - 24px) / 2); padding: 0; overflow: hidden; scroll-snap-align: start; background: var(--soft); }
.gallery-item img { aspect-ratio: 1.35; object-fit: cover; filter: saturate(.55); transition: transform .7s, filter .7s; }
.gallery-item:hover img { transform: scale(1.025); filter: saturate(1); }
.alumni-details { margin-top: 44px; }
.alumni-content { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.alumni-content h3 { font-size: 16px; color: var(--ink); margin-bottom: 16px; }

.join-section { border-top: 1px solid var(--line); padding-top: 100px; }
.join-heading { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 58px; }
.join-heading h2 { font-family: var(--title-font); font-size: clamp(42px, 4.5vw, 66px); font-weight: 500; letter-spacing: -2px; }
.join-button { display: flex; align-items: center; justify-content: center; gap: 40px; min-height: 60px; padding: 0 26px; font-size: 14px; color: var(--paper); background: var(--ink); transition: background .3s; }
.join-button:hover { background: #4c5147; }
.join-button > span { font-size: 22px; }
.join-information { margin-left: calc((100% - 80px) / 2.85 + 80px); }
.expectations { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.expectations h3 { font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.benefits { margin: 0; padding-left: 18px; }
.benefits li + li { margin-top: 10px; }
.faq-layout { margin-top: 105px; }
.faq-list summary { font-size: 15px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 28px var(--gutter); color: var(--muted); font-size: 12px; }
.noscript-join { display: block; padding: 20px var(--gutter); text-decoration: underline; }

.detail-dialog { position: fixed; width: min(850px, calc(100% - 40px)); max-height: 88dvh; padding: 54px 45px 40px; border: 0; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.detail-dialog::backdrop { background: rgb(24 27 22 / 45%); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: 29px; }
.detail-dialog h2 { padding-right: 15px; margin-bottom: 29px; font-size: 28px; font-weight: 500; line-height: 1.6; }
.dialog-images { display: grid; gap: 22px; }
.dialog-images img { max-height: 620px; object-fit: contain; background: var(--soft); }
.dialog-images.phone-images { grid-template-columns: repeat(3, 1fr); }
.dialog-images.phone-images img { max-height: 430px; }
.event-names { list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 2.3; }
.join-dialog-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.qr-image { width: 100%; max-width: 275px; margin: 0 auto; }
.qr-tools { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 15px; }
.qr-number { user-select: all; font-size: 18px; letter-spacing: 1px; }
.qr-tools .icon-button { font-size: 21px; }
.copy-icon { display: block; width: 13px; height: 15px; border: 1px solid currentColor; position: relative; }
.copy-icon::before { content: ""; position: absolute; width: 10px; height: 12px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; left: -4px; top: -4px; }
.join-steps { list-style: none; margin: 0; padding: 0; }
.join-steps li { padding: 0 0 23px; font-size: 16px; }
.join-steps p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.reveal { opacity: 1; transform: none; }
.js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .85s, transform .85s; }
.js-motion .reveal.visible { opacity: 1; transform: none; }
@keyframes enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes stair-enter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (min-width: 1700px) {
  .hero { min-height: 780px; }
}

@media (max-width: 1100px) {
  :root { --gutter: 6vw; }
  .desktop-nav { gap: 20px; }
  .brand > span { display: block; margin-left: 0; margin-top: 5px; font-size: 10px; }
  .hero { min-height: 650px; gap: 0; }
  .hero h1 { font-size: clamp(64px, 7.6vw, 84px); }
  .staircase { transform: translate(-50%, -50%) scale(.85); }
  .about-layout, .practice-layout, .faq-layout { gap: 50px; grid-template-columns: 1fr 1.9fr; }
  .section { padding-top: 100px; padding-bottom: 100px; }
  .about-statement { font-size: 29px; }
  .join-information { margin-left: calc((100% - 50px) / 2.9 + 50px); }
  .community-section { padding-top: 10px; }
  .project-image.screen { padding: 20px; }
  .project-image.phone { padding: 25px 25px 0; gap: 10px; }
  .project-meta h3 { font-size: 15px; }
  .detail-body { padding-right: 10px; }
  .honor-images { gap: 15px; }
  .honor-images img { flex-basis: calc((100% - 30px) / 3); width: calc((100% - 30px) / 3); height: 280px; }
}

@media (max-width: 800px) {
  .site-header { height: 80px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; }
  .menu-toggle span { width: 20px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 79px; left: 0; right: 0; display: flex; flex-direction: column; padding: 15px var(--gutter) 30px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 17px 0; font-size: 15px; }
  .hero { min-height: 575px; padding-top: 35px; padding-bottom: 35px; }
  .hero h1 { font-size: clamp(49px, 7.6vw, 62px); letter-spacing: -3px; }
  .hero-art { height: 470px; }
  .staircase { transform: translate(-50%, -50%) scale(.65); }
  .section { padding-top: 85px; padding-bottom: 85px; }
  .section h2 { font-size: 21px; }
  .about-layout, .practice-layout, .faq-layout { grid-template-columns: 1fr 1.8fr; gap: 35px; }
  .about-statement { font-size: 26px; }
  .about-core { font-size: 14px; }
  .practice-list summary { font-size: 18px; min-height: 75px; }
  .practice-layout { margin-top: 75px; }
  .section .section-title { font-size: 39px; }
  .project-grid { gap: 35px 22px; }
  .project-meta h3 { font-size: 14px; }
  .project-image { aspect-ratio: 1.3; }
  .project-image.phone { padding: 25px 15px 0; }
  .project-image.phone img { width: 30%; }
  .honor-images img { flex-basis: calc((100% - 15px) / 2); width: calc((100% - 15px) / 2); height: 300px; }
  .community-section { padding-top: 0; }
  .join-heading h2 { font-size: 44px; }
  .join-button { min-height: 54px; gap: 25px; padding: 0 20px; }
  .join-information { margin-left: calc((100% - 35px) / 2.8 + 35px); }
  .expectations { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 13px; }
  .detail-dialog { padding: 55px 30px 30px; }
  .join-dialog-layout { gap: 28px; }
}

@media (max-width: 560px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 92px; }
  .site-header { height: 76px; }
  .brand { font-size: 16px; }
  .brand > span { font-size: 9px; margin-top: 4px; }
  .header-actions { gap: 6px; }
  .header-join { font-size: 10px; gap: 6px; }
  .header-join span { font-size: 15px; }
  .menu-toggle { width: 32px; }
  .mobile-nav { top: 75px; }
  .hero { grid-template-columns: 1fr; min-height: 690px; gap: 0; padding: 63px var(--gutter) 12px; }
  .hero h1 { font-size: clamp(56px, 15vw, 78px); line-height: 1.35; letter-spacing: -3px; }
  .hero-link { position: absolute; right: 0; bottom: 0; margin-top: 0; font-size: 21px; }
  .hero-art { height: 395px; }
  .staircase { transform: translate(-48%, -50%) scale(.68); }
  .section { padding-top: 65px; padding-bottom: 65px; }
  .about-layout, .practice-layout, .faq-layout { display: block; }
  .section h2 { font-size: 21px; }
  .about-content { margin-top: 31px; }
  .about-statement { font-size: 27px; letter-spacing: -.8px; line-height: 1.8; }
  .about-core { font-size: 14px; margin: 21px 0 25px; }
  summary { min-height: 70px; font-size: 14px; gap: 20px; }
  .detail-body { font-size: 13px; padding-bottom: 23px; }
  .practice-layout { margin-top: 62px; }
  .practice-list { margin-top: 24px; }
  .practice-list summary { font-size: 17px; min-height: 72px; }
  .section .section-title { font-size: 36px; line-height: 1.5; }
  .project-filters { gap: 27px; margin: 26px 0 27px; }
  .filter { font-size: 11px; }
  .project-grid { grid-template-columns: 1fr; gap: 35px; }
  .project-image { aspect-ratio: 1.4; }
  .project-image.screen { padding: 24px; }
  .project-image.phone { padding: 29px 24px 0; gap: 12px; }
  .project-image.phone img { width: 28%; }
  .project-meta { padding-top: 16px; }
  .project-meta h3 { font-size: 15px; }
  .honors-details { margin-top: 40px; }
  .honor-images { gap: 15px; }
  .honors-toolbar { align-items: flex-start; gap: 12px; }
  .honor-images img { flex-basis: 86%; width: 86%; height: 320px; }
  .community-section { padding-top: 13px; }
  .section-heading { margin-bottom: 29px; gap: 15px; }
  .gallery-controls { gap: 2px; }
  .gallery { gap: 15px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .gallery-item { flex-basis: 88%; }
  .gallery-item img { aspect-ratio: 1.2; }
  .alumni-details { margin-top: 30px; }
  .join-heading { display: block; padding-bottom: 29px; }
  .join-heading h2 { font-size: clamp(35px, 9.8vw, 46px); letter-spacing: -1.5px; white-space: nowrap; }
  .join-button { margin-top: 29px; min-height: 53px; padding: 0 22px; gap: 45px; font-size: 13px; }
  .join-information { margin-left: 0; }
  .faq-layout { margin-top: 61px; }
  .faq-list { margin-top: 22px; }
  .faq-list summary { font-size: 13px; }
  .site-footer { padding-top: 23px; padding-bottom: 23px; font-size: 10px; gap: 12px; }
  .detail-dialog { width: calc(100% - 24px); padding: 55px 21px 28px; max-height: 90dvh; }
  .detail-dialog h2 { font-size: 22px; padding-right: 0; margin-bottom: 23px; }
  .dialog-images { gap: 14px; }
  .dialog-images.phone-images { gap: 10px; }
  .join-dialog-layout { grid-template-columns: 1fr; gap: 30px; }
  .qr-image { max-width: 255px; }
  .join-steps li { font-size: 15px; }
  .join-steps p { font-size: 12px; }
  .event-names { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}
