:root {
  --ink: #1b2723;
  --ink-soft: #293732;
  --paper: #f4f2ed;
  --paper-deep: #e8e5dc;
  --line: rgba(27, 39, 35, .18);
  --muted: #6f766e;
  --accent: #c78358;
  --accent-dark: #a66141;
  --cream: #f5f0e8;
  --max: 1240px;
  --serif: Georgia, "Noto Serif TC", "Source Han Serif TC", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(calc(100% - 64px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 20; padding: 10px 16px; background: var(--accent); color: white; }
.skip-link:focus { top: 16px; }

.notice-strip { background: var(--accent); color: white; font-size: 13px; letter-spacing: .05em; }
.notice-strip__inner { min-height: 42px; display: flex; align-items: center; gap: 14px; }
.notice-strip__label { padding: 1px 8px; border: 1px solid rgba(255,255,255,.55); font-size: 11px; letter-spacing: .12em; }
.notice-strip a { margin-left: auto; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 12px; }

.site-header { position: absolute; left: 0; right: 0; z-index: 2; color: white; border-bottom: 1px solid rgba(255,255,255,.18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand { display: inline-flex; align-items: flex-start; flex-direction: column; gap: 3px; }
.brand__wordmark { width: 150px; height: auto; filter: grayscale(1) brightness(0) invert(1); }
.brand small { display: block; margin-left: 2px; color: rgba(255,255,255,.65); font-size: 8px; letter-spacing: .18em; line-height: 1; }
.brand strong { display: block; font-size: 17px; letter-spacing: .16em; font-weight: 700; line-height: 1.2; }
.brand__mark { width: 27px; height: 27px; display: flex; align-items: flex-end; gap: 3px; padding: 3px 4px; border: 1px solid currentColor; }
.brand__mark i { display: block; flex: 1; background: currentColor; }
.brand__mark i:nth-child(1) { height: 38%; opacity: .65; }
.brand__mark i:nth-child(2) { height: 68%; opacity: .82; }
.brand__mark i:nth-child(3) { height: 100%; }
.nav { display: flex; align-items: center; gap: 29px; font-size: 14px; }
.nav > a:not(.nav__cta) { opacity: .78; transition: opacity .2s ease; }
.nav > a:not(.nav__cta):hover { opacity: 1; }
.nav__cta { padding: 8px 13px; border: 1px solid rgba(255,255,255,.45); font-size: 13px; }
.nav__cta span { margin-left: 9px; }

.hero { position: relative; min-height: min(760px, calc(100vh - 42px)); display: flex; align-items: center; overflow: hidden; background: var(--ink); color: white; }
.hero__media, .hero__veil { position: absolute; inset: 0; }
.hero__media { background: url('/assets/guangming-study-01.webp') center right / cover no-repeat; opacity: .95; }
.hero__veil { background: linear-gradient(90deg, rgba(18,30,26,.98) 0%, rgba(18,30,26,.88) 33%, rgba(18,30,26,.28) 72%, rgba(18,30,26,.08) 100%); }
.hero__content { position: relative; z-index: 1; padding: 160px 0 110px; }
.eyebrow { margin: 0 0 23px; color: var(--accent-dark); font-size: 11px; line-height: 1.2; letter-spacing: .2em; font-weight: 700; }
.eyebrow--light { color: #e0a175; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.18; }
h1 { max-width: 750px; margin-bottom: 28px; font-size: clamp(3.5rem, 6.8vw, 6.5rem); }
h1 em, h2 span { color: #e0a175; font-style: normal; }
.hero__intro { max-width: 430px; margin-bottom: 34px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 2; }
.hero__actions { display: flex; align-items: center; gap: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 11px 18px; font-size: 14px; letter-spacing: .05em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--accent); color: white; }
.button--primary:hover { background: #d69367; }
.button--dark { background: var(--ink); color: white; }
.button--dark:hover { background: var(--ink-soft); }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; border-bottom: 1px solid rgba(27,39,35,.45); padding-bottom: 2px; font-size: 14px; }
.text-link:hover { border-color: var(--accent); color: var(--accent-dark); }
.text-link--light { border-color: rgba(255,255,255,.45); color: white; }
.text-link--light:hover { color: #e0a175; border-color: #e0a175; }
.hero__meta { display: flex; align-items: center; gap: 12px; margin-top: 90px; color: rgba(255,255,255,.54); font-size: 12px; letter-spacing: .14em; }
.hero__meta-line { width: 36px; height: 1px; background: rgba(255,255,255,.36); }
.hero__side-note { position: absolute; right: 32px; bottom: 34px; z-index: 1; color: rgba(255,255,255,.78); font-size: 11px; letter-spacing: .08em; line-height: 1.7; writing-mode: vertical-rl; }
.hero__side-note span { font-size: 8px; letter-spacing: .15em; }

.section { padding: 128px 0; }
.section--notice { background: var(--cream); }
.section--light { background: var(--paper); }
.section--dark { background: var(--ink); color: white; }
.section--contact { background: var(--paper-deep); padding: 110px 0 120px; }
.section-heading { max-width: 700px; margin-bottom: 62px; }
.section-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 60px; }
h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5vw, 5.4rem); }
.section-heading__note { max-width: 365px; margin-bottom: 5px; color: var(--muted); font-size: 15px; line-height: 2; }

.notice-card { display: grid; grid-template-columns: minmax(280px, 43%) 1fr; min-height: 625px; background: white; box-shadow: 0 22px 60px rgba(27,39,35,.09); }
.notice-card__cover { display: flex; align-items: center; justify-content: center; padding: 65px; background: #ddd8cc; background-image: radial-gradient(rgba(27,39,35,.08) .6px, transparent .6px); background-size: 6px 6px; }
.paper-frame { position: relative; width: min(100%, 360px); transform: rotate(-2deg); box-shadow: 0 18px 24px rgba(27,39,35,.2); }
.paper-frame img { width: 100%; }
.paper-frame__badge { position: absolute; right: -18px; bottom: 20px; padding: 7px 10px; background: var(--accent); color: white; font-size: 10px; letter-spacing: .13em; transform: rotate(2deg); }
.notice-card__body { padding: 72px clamp(34px, 7vw, 90px) 56px; }
.notice-card__topline { display: flex; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--accent-dark); font-size: 11px; letter-spacing: .15em; font-weight: 700; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.status-dot--green { margin-right: 7px; background: #75a36f; vertical-align: 1px; }
.notice-card h3 { margin-bottom: 23px; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.35; }
.notice-card__desc { max-width: 500px; margin-bottom: 34px; color: var(--muted); font-size: 15px; }
.event-facts { margin: 0 0 34px; border-top: 1px solid var(--line); }
.event-facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.event-facts dt { color: var(--accent-dark); font-size: 12px; letter-spacing: .1em; }
.event-facts dd { margin: 0; font-size: 14px; line-height: 1.8; }
.event-facts dd strong { color: var(--accent-dark); font-size: 17px; font-weight: 500; }
.notice-card__actions { display: flex; align-items: center; gap: 23px; }
.fine-print { margin: 30px 0 0; color: #8c918a; font-size: 11px; line-height: 1.8; }

.project-intro { display: flex; justify-content: space-between; gap: 60px; align-items: flex-start; margin-bottom: 38px; }
.project-intro p { max-width: 570px; margin: 0; color: var(--muted); font-size: 16px; line-height: 2; }
.project-intro__note { max-width: 360px !important; padding-left: 20px; border-left: 2px solid var(--accent); font-size: 13px !important; }
.project-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.project-gallery figure { margin: 0; overflow: hidden; background: #e7e8e5; }
.project-gallery img { width: 100%; height: 440px; object-fit: cover; }
.project-gallery__main img { object-position: center center; }
.project-gallery__secondary img { object-position: 55% center; }
.project-gallery figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 15px 18px 18px; color: var(--ink); font-size: 13px; }
.project-gallery figcaption span { color: var(--accent-dark); font-size: 10px; font-weight: 700; letter-spacing: .1em; }

.company-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; align-items: start; }
.company-layout__intro h2 { margin-bottom: 27px; }
.company-layout__intro > p:not(.eyebrow) { max-width: 390px; margin-bottom: 30px; color: rgba(255,255,255,.6); font-size: 15px; line-height: 2; }
.company-layout__facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.22); }
.fact { min-height: 126px; padding: 20px 23px 20px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.fact:nth-child(odd) { margin-right: 25px; border-right: 1px solid rgba(255,255,255,.22); }
.fact span:first-child { display: block; margin-bottom: 10px; color: rgba(255,255,255,.48); font-size: 11px; letter-spacing: .13em; }
.fact strong { color: #f6f3ec; font-size: 19px; font-weight: 400; line-height: 1.6; }
.fact strong small { font-size: 12px; color: rgba(255,255,255,.6); }
.fact--wide { grid-column: span 2; min-height: 103px; }
.fact--wide:nth-child(odd) { margin-right: 0; border-right: 0; }
.fact--wide strong { font-size: 16px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; }
.contact-layout h2 { color: var(--ink); }
.contact-layout h2 span { color: var(--accent-dark); }
.contact-details { max-width: 430px; padding-top: 15px; }
.contact-details > p { margin-bottom: 36px; color: var(--muted); font-size: 15px; line-height: 2; }
.contact-detail { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; border-top: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-detail > span { color: var(--accent-dark); font-size: 12px; letter-spacing: .1em; }
.contact-detail strong { text-align: right; font-size: 15px; font-weight: 400; line-height: 1.8; }
.contact-detail:hover strong { color: var(--accent-dark); }

.site-footer { background: #121b18; color: white; padding: 55px 0 30px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.17); }
.brand--footer { align-items: flex-start; }
.brand--footer .brand__wordmark { width: 170px; }
.site-footer__top > p { margin: 0; color: rgba(255,255,255,.55); text-align: right; font-family: var(--serif); font-size: 18px; line-height: 1.8; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: rgba(255,255,255,.42); font-size: 11px; letter-spacing: .04em; }

.hearing-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 0 36px; padding: 26px 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hearing-summary dt { margin-bottom: 8px; color: var(--accent-dark); font-size: 12px; letter-spacing: .1em; }
.hearing-summary dd { margin: 0; font-size: 15px; line-height: 1.9; }
.hearing-summary dd strong { color: var(--accent-dark); font-weight: 500; }
.hearing-summary a:hover { text-decoration: underline; }
.document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.document-card { display: flex; flex-direction: column; background: white; box-shadow: 0 14px 40px rgba(27,39,35,.06); }
.document-card__preview { position: relative; display: block; padding: 24px; background: #ddd8cc; }
.document-card__preview img { width: 100%; height: 270px; object-fit: contain; }
.document-card__badge { position: absolute; right: 18px; bottom: 18px; padding: 6px 12px; background: var(--ink); color: white; font-size: 11px; letter-spacing: .06em; }
.document-card__body { display: flex; flex-direction: column; flex: 1; padding: 34px; }
.document-card__label { margin-bottom: 16px; color: var(--accent-dark); font-size: 11px; letter-spacing: .08em; font-weight: 700; }
.document-card h3 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.4; font-weight: 400; letter-spacing: -.04em; }
.document-card__body > p:not(.document-card__label) { margin-bottom: 28px; color: var(--muted); font-size: 15px; }
.document-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: auto; }
.document-archive { margin-top: 48px; }
.document-archive summary { cursor: pointer; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.document-archive summary:hover { color: var(--accent-dark); }
.document-archive summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.document-archive .notice-card { margin-top: 24px; }

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 40px), var(--max)); }
  .site-header__inner { min-height: 72px; }
  .nav { gap: 15px; font-size: 12px; }
  .nav > a:not(.nav__cta) { display: none; }
  .hero { min-height: 730px; }
  .hero__media { background-position: 62% center; }
  .hero__veil { background: linear-gradient(90deg, rgba(18,30,26,.96) 0%, rgba(18,30,26,.66) 72%, rgba(18,30,26,.3) 100%); }
  .hero__content { padding: 150px 0 80px; }
  .hero__side-note { display: none; }
  .section { padding: 88px 0; }
  .section-heading--split { display: block; }
  .section-heading__note { margin-top: 28px; }
  .hearing-summary { grid-template-columns: 1fr; gap: 22px; padding: 24px 0; }
  .document-grid { grid-template-columns: 1fr; }
  .notice-card { grid-template-columns: 1fr; }
  .notice-card__cover { padding: 55px 30px; }
  .notice-card__body { padding: 48px 30px; }
  .project-intro { display: block; }
  .project-intro__note { max-width: 100% !important; margin-top: 22px !important; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery img { height: auto; aspect-ratio: 1.6; }
  .company-layout, .contact-layout { grid-template-columns: 1fr; gap: 65px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .notice-strip__inner { min-height: 50px; flex-wrap: wrap; gap: 4px 9px; padding: 8px 0; line-height: 1.4; }
  .notice-strip__inner > span:nth-child(2) { max-width: calc(100% - 78px); }
  .notice-strip a { width: 100%; margin-left: 0; padding-left: 78px; }
  .brand__wordmark { width: 122px; }
  .brand small { display: none; }
  .nav__cta { padding: 6px 9px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.6rem); }
  .hero__intro { max-width: 330px; font-size: 15px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero__meta { margin-top: 58px; font-size: 10px; }
  .section-heading { margin-bottom: 40px; }
  h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .document-card__body { padding: 28px 24px; }
  .document-card__preview { padding: 18px; }
  .document-card__preview img { height: 230px; }
  .notice-card h3 { font-size: 2rem; }
  .event-facts > div { grid-template-columns: 80px 1fr; gap: 8px; }
  .notice-card__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .project-gallery img { aspect-ratio: 1.15; }
  .project-gallery figcaption { display: block; }
  .project-gallery figcaption span { display: block; margin-bottom: 3px; }
  .company-layout { gap: 45px; }
  .company-layout__facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(odd), .fact--wide, .fact--wide:nth-child(odd) { grid-column: auto; margin-right: 0; border-right: 0; }
  .contact-layout { gap: 45px; }
  .contact-detail { align-items: flex-start; flex-direction: column; gap: 4px; }
  .contact-detail strong { text-align: left; }
  .site-footer__top, .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .site-footer__top > p { text-align: left; font-size: 16px; }
  .site-footer__bottom { gap: 10px; }
}
