* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; color: #272b2d; background: #fff; font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif; line-height: 1.6; letter-spacing: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
figure, h1, h2, p { margin-top: 0; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.eyebrow { margin-bottom: 22px; color: #a8202c; font-size: 12px; font-weight: 750; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid #e4e7e4; background: #fff; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { display: grid; line-height: 1.14; }
.brand strong { font-size: 17px; font-weight: 750; }
.brand small { margin-top: 5px; color: #5e6669; font-size: 10px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { position: relative; padding: 25px 0; font-size: 14px; font-weight: 650; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; background: #a8202c; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }

.hero { position: relative; isolation: isolate; min-height: calc(100svh - 100px); display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: #f5f6f5; }
.hero-art { position: absolute; z-index: 0; top: 0; right: -3%; bottom: 96px; width: 66%; background: url("assets/red-flag-canal-sketch.jpg") center / cover no-repeat; mix-blend-mode: multiply; mask-image: linear-gradient(to right, transparent, #000 24%); opacity: .38; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 86px; padding-block: 24px 146px; }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 { display: grid; margin: 0; line-height: 1.14; }
.hero h1 strong { font-size: 82px; font-weight: 730; }
.hero h1 span { margin-top: 8px; font-size: 34px; font-weight: 610; }
.hero-statement { margin: 29px 0 0; color: #4e585b; font-size: 21px; line-height: 1.7; }
.action-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 196px; margin-top: 34px; padding: 13px 0; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }
.action-link span { font-size: 20px; font-weight: 400; }
.hero-aside { padding-left: 42px; border-left: 1px solid #c9cfd0; }
.hero-aside::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 29px; background: #a8202c; }
.hero-aside .eyebrow { margin-bottom: 19px; }
.hero-aside strong { display: block; font-size: 34px; font-weight: 650; line-height: 1.42; }
.hero-aside > p:last-child { max-width: 280px; margin: 22px 0 0; color: #485356; font-size: 15px; line-height: 1.85; }
.proof-nav { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c9cfd0; border-bottom: 1px solid #c9cfd0; }
.proof-nav a { display: grid; grid-template-columns: 32px 1fr 20px; column-gap: 16px; align-items: baseline; padding: 23px 24px 23px 0; transition: color .18s ease; }
.proof-nav a:hover, .proof-nav a:focus-visible { color: #a8202c; }
.proof-nav a + a { padding-left: 31px; border-left: 1px solid #c9cfd0; }
.proof-nav em { grid-row: span 2; color: #a8202c; font-size: 12px; font-style: normal; font-weight: 800; }
.proof-nav strong { font-size: 18px; font-weight: 700; }
.proof-nav span { color: #5e6669; font-size: 12px; }
.proof-nav a::after { content: "↗"; grid-column: 3; grid-row: 1 / span 2; align-self: center; color: #a8202c; font-size: 18px; font-weight: 400; }

.section { min-height: calc(100svh - 78px); display: flex; flex-direction: column; justify-content: center; padding: 86px 0; }
.section h2 { margin-bottom: 0; font-size: 46px; font-weight: 680; line-height: 1.34; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 54px; }
.section-heading > p { max-width: 390px; margin: 0 0 5px; color: #5e6669; font-size: 15px; line-height: 1.85; }

.strength { background: #fbfbfa; }
.strength .section-heading h2 { font-size: 49px; }
.strength-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d8dcdd; }
.strength-line { min-height: 235px; padding: 30px 24px 24px 0; border-bottom: 1px solid #d8dcdd; }
.strength-line + .strength-line { padding-left: 28px; border-left: 1px solid #d8dcdd; }
.strength-line span { display: block; margin-bottom: 27px; color: #a8202c; font-size: 13px; font-weight: 700; }
.strength-line strong { display: block; font-size: 22px; font-weight: 670; }
.strength-line p { margin: 14px 0 0; color: #5e6669; font-size: 14px; line-height: 1.8; }

.projects { background: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-grid figure { min-width: 0; margin: 0; }
.project-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #e7eae6; }
.project-grid figcaption { margin-top: 16px; }
.project-grid figcaption span { color: #a8202c; font-size: 12px; font-weight: 700; }
.project-grid figcaption strong { display: block; margin-top: 5px; font-size: 19px; font-weight: 650; }

.spirit { background: #e9edf0; }
.spirit-grid, .honors-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 84px; }
.spirit-grid > div > p:last-child, .honors-grid > div > p:last-child { max-width: 540px; margin: 24px 0 0; color: #596468; font-size: 17px; line-height: 1.85; }
.spirit-grid figure, .honors-grid figure { margin: 0; }
.spirit-grid img, .honors-grid img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.spirit-grid figcaption, .honors-grid figcaption { margin-top: 9px; color: #5e6669; font-size: 11px; }

.honors { background: #f5f7f4; }
.honors-grid { grid-template-columns: 1.1fr .9fr; }
.honors-grid img { object-position: center 40%; }

.values { min-height: calc(100svh - 78px); display: flex; align-items: center; padding: 80px 0; background: #eceeed; }
.values .eyebrow { margin-bottom: 16px; }
.values h2 { margin: 0 0 36px; font-size: 32px; font-weight: 630; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #c7cdcc; border-bottom: 1px solid #c7cdcc; }
.value-grid div { display: flex; gap: 18px; align-items: baseline; padding: 30px 15px 30px 0; }
.value-grid div + div { padding-left: 24px; border-left: 1px solid #c7cdcc; }
.value-grid span { color: #a8202c; font-size: 12px; }
.value-grid strong { font-size: 45px; font-weight: 650; }
.values .wrap > p:last-child { margin: 34px 0 0; color: #586265; font-size: 18px; }

.site-footer { border-top: 1px solid #c7cdcc; background: #eceeed; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-block: 40px 28px; }
.footer-main strong { font-size: 15px; }
.footer-main p { max-width: 590px; margin: 8px 0 0; color: #5e6669; font-size: 12px; }
.back-top { align-self: start; border-bottom: 1px solid #a8202c; color: #a8202c; font-size: 13px; font-weight: 700; white-space: nowrap; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px 24px; border-top: 1px solid #c7cdcc; color: #687174; font-size: 12px; }
.footer-legal a:hover { color: #a8202c; }

.holiday-banner[hidden], .holiday-overlay[hidden] { display: none; }
html.has-holiday { scroll-padding-top: 116px; }
.holiday-banner { height: 38px; border-top: 1px solid #e8dddd; background: #f8f4f3; }
.holiday-banner-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.holiday-banner-label { flex: none; color: #a8202c; font-size: 11px; font-weight: 750; white-space: nowrap; }
.holiday-banner-window { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent); }
.holiday-banner-track { display: flex; width: max-content; animation: holiday-ticker 22s linear infinite; }
.holiday-banner-copy { flex: none; padding-right: 72px; color: #51595b; font-size: 12px; white-space: nowrap; }
.holiday-banner-static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.holiday-banner:hover .holiday-banner-track { animation-play-state: paused; }
.holiday-overlay { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(29, 34, 36, .48); transition: opacity .35s ease; }
.holiday-overlay.is-closing { opacity: 0; pointer-events: none; }
.holiday-card { position: relative; isolation: isolate; display: flex; align-items: center; width: min(620px, 100%); min-height: 395px; overflow: hidden; padding: 56px; border-top: 5px solid #a8202c; background: #f5f6f5; box-shadow: 0 24px 80px rgba(24, 29, 31, .22); }
.holiday-card::before { content: ""; position: absolute; z-index: 0; inset: 0; background: url("assets/red-flag-canal-sketch.jpg") 68% center / cover no-repeat; mix-blend-mode: multiply; opacity: .15; pointer-events: none; }
.holiday-card-content { position: relative; z-index: 1; }
.holiday-close { position: absolute; z-index: 2; top: 14px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: transparent; color: #4b5254; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.holiday-close:hover, .holiday-close:focus-visible { color: #a8202c; }
.holiday-kicker { margin-bottom: 18px; color: #a8202c; font-size: 12px; font-weight: 750; }
.holiday-card h2 { margin: 0; color: #a8202c; font-size: 58px; font-weight: 720; line-height: 1.2; }
.holiday-subtitle { margin: 7px 0 26px; font-size: 27px; font-weight: 640; }
.holiday-card #holiday-message { margin: 0; color: #4d575a; font-size: 17px; }
.holiday-signature { margin: 44px 0 0; color: #656e70; font-size: 12px; }
.holiday-progress { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 3px; background: #a8202c; transform-origin: left; animation: holiday-progress 4.8s linear both; }
@keyframes holiday-ticker { to { transform: translateX(-50%); } }
@keyframes holiday-progress { to { transform: scaleX(0); } }

@media (max-width: 950px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .hero-inner { gap: 42px; }
  .hero-aside { padding-left: 28px; }
  .hero h1 strong { font-size: 62px; }
  .spirit-grid, .honors-grid { gap: 42px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 110px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: block; min-height: 104px; padding-top: 12px; }
  .brand img { width: 35px; height: 35px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 9px; }
  .site-nav { gap: 20px; overflow-x: auto; margin-top: 7px; padding-bottom: 4px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 5px 0 8px; font-size: 12px; }
  .site-nav a::after { bottom: 2px; }
  .hero { min-height: calc(100svh - 126px); }
  .hero-art { top: 53%; right: -25%; bottom: 130px; width: 120%; background-position: right center; opacity: .13; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 53px 42px; }
  .hero .eyebrow { margin-bottom: 19px; }
  .hero h1 strong { font-size: 44px; }
  .hero h1 span { font-size: 24px; }
  .hero-statement { margin-top: 22px; font-size: 17px; }
  .action-link { margin-top: 17px; }
  .hero-aside { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding: 19px 0 0; border-top: 1px solid #c9cfd0; border-left: 0; }
  .hero-aside::before { display: none; }
  .hero-aside .eyebrow { margin: 0; }
  .hero-aside strong { font-size: 20px; }
  .hero-aside strong br { display: none; }
  .hero-aside > p:last-child { flex-basis: 100%; max-width: none; margin: 0; font-size: 13px; line-height: 1.6; }
  .proof-nav { grid-template-columns: 1fr; }
  .proof-nav a, .proof-nav a + a { grid-template-columns: 31px 1fr 20px; align-items: center; padding: 8px 0; border-left: 0; }
  .proof-nav a + a { border-top: 1px solid #c9cfd0; }
  .proof-nav strong { font-size: 16px; }
  .proof-nav span { display: none; }
  .proof-nav em { grid-row: 1; }
  .proof-nav a::after { grid-row: 1; }
  .section { min-height: 0; padding: 75px 0; }
  .section h2, .strength .section-heading h2 { font-size: 32px; }
  .section-heading { display: grid; gap: 22px; margin-bottom: 32px; }
  .section-heading > p { max-width: none; font-size: 14px; }
  .strength-lines { grid-template-columns: 1fr; }
  .strength-line, .strength-line + .strength-line { min-height: 0; padding: 22px 0; border-left: 0; }
  .strength-line span { margin-bottom: 8px; }
  .project-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-grid img { aspect-ratio: 16 / 10; }
  .spirit-grid, .honors-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .spirit-grid > div > p:last-child, .honors-grid > div > p:last-child { font-size: 16px; }
  .honors-grid figure { order: 2; }
  .values { min-height: 0; padding: 76px 0; }
  .values h2 { font-size: 24px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-grid div, .value-grid div + div { padding: 16px 0; border-left: 0; }
  .value-grid div:nth-child(even) { padding-left: 16px; border-left: 1px solid #c7cdcc; }
  .value-grid div:nth-child(-n+2) { border-bottom: 1px solid #c7cdcc; }
  .value-grid strong { font-size: 34px; }
  .values .wrap > p:last-child { font-size: 15px; }
  .footer-main { display: grid; gap: 20px; }
  .footer-legal { display: grid; gap: 4px; }
  html.has-holiday { scroll-padding-top: 146px; }
  .holiday-banner { height: 36px; }
  .holiday-banner-inner { gap: 12px; }
  .holiday-banner-label { font-size: 10px; }
  .holiday-banner-copy { padding-right: 38px; font-size: 11px; }
  .holiday-card { min-height: 360px; padding: 38px 28px; }
  .holiday-card h2 { font-size: 43px; }
  .holiday-subtitle { font-size: 22px; }
  .holiday-card #holiday-message { font-size: 15px; }
  .holiday-signature { margin-top: 37px; font-size: 11px; }
}

@media (max-width: 360px) {
  .hero-inner { gap: 23px; padding-block: 38px 28px; }
  .hero h1 strong { font-size: 39px; }
  .hero-statement { font-size: 15px; }
  .hero-aside strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
  .holiday-banner-track, .holiday-progress { animation: none; }
}
