/* v31: OTI identity, cross-category experience and image-led brand stories. */
body[data-page] .site-header .header-logo { width: 78px; height: 70px; flex: 0 0 78px; }
body[data-page] .site-header .wordmark { gap: 18px; }
body[data-page] .site-header .wordmark-en { font-size: 14px; }
body[data-page] .footer-identity > img { width: 88px; height: 80px; object-fit: contain; }
body[data-page] .footer-identity { gap: 22px; }
.company-oti-mark { width: clamp(120px, 14vw, 200px); height: auto; object-fit: contain; }

body[data-page="home"] .editorial-hero-layout { align-items: center; }
body[data-page="home"] main .editorial-intro > .hero-scope { font-size: 16px; line-height: 1.75; }
body[data-page="home"] .editorial-hero .hero-eyebrow { font-size: 14px; }
.oti-hero-visual { min-width: 0; display: grid; gap: 28px; }
.oti-signature { display: flex; align-items: center; gap: 26px; padding: 4px 0; }
.oti-signature img { width: 130px; height: 116px; object-fit: contain; filter: invert(1); flex: none; }
.oti-signature p { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.18; letter-spacing: -.025em; max-width: 12ch; font-weight: 700; }
body[data-lang="zh"] .oti-signature p,
body[data-lang="ja"] .oti-signature p,
body[data-lang="ko"] .oti-signature p { max-width: none; text-wrap: balance; }
.oti-event-figure { margin: 0; }
.hero-event-trigger { display: block; position: relative; width: 100%; padding: 0; background: #101510; overflow: hidden; text-align: left; }
.hero-event-trigger > img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1282; object-fit: cover; }
.hero-event-cta { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 22px; min-height: 48px; padding: 12px 20px; background: var(--lime); color: var(--ink); font-size: 16px; line-height: 1.4; }
.hero-event-cta > span:last-child { font-size: 24px; line-height: 1; }
.hero-event-trigger:hover .hero-event-cta { background: var(--paper); }
.oti-event-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 12px; line-height: 1.5; color: #bdc9b1; }

/* v33: give the competition a leading case without replacing the broader portfolio. */
body[data-page="home"] #work .work-card:nth-child(n) { padding-top: 0; }
body[data-page="home"] #work .work-card--flagship { grid-column: 1 / -1; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
body[data-page="home"] #work .work-card--flagship .case-button { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(28px, 4vw, 64px); align-content: center; }
body[data-page="home"] #work .work-card--flagship .case-image { grid-column: 1; grid-row: 1 / 5; height: 100%; min-height: 320px; aspect-ratio: 3 / 2; }
body[data-page="home"] #work .work-card--flagship .case-image img { height: 100%; object-fit: cover; }
body[data-page="home"] #work .work-card--flagship .case-labels { grid-column: 2; grid-row: 1; padding-top: 12px; }
body[data-page="home"] #work .work-card--flagship h3 { grid-column: 2; grid-row: 2; font-size: clamp(32px, 3.1vw, 48px); margin-bottom: 24px; }
body[data-page="home"] #work .work-card--flagship .case-summary { grid-column: 2; grid-row: 3; }
body[data-page="home"] #work .work-card--flagship .case-proof { grid-column: 2; grid-row: 4; align-self: end; }

body[data-page="home"] .experience-section { background: var(--paper); padding-block: 88px; }
.experience-heading { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8%; align-items: end; }
.experience-heading h2 { margin-top: 20px; max-width: 15ch; font-size: clamp(36px, 4.1vw, 62px); line-height: 1.1; text-wrap: balance; }
.experience-heading > p { font-size: 18px; line-height: 1.7; max-width: 43ch; color: var(--muted); }
.experience-section .section-index, .own-brand-section .section-index { font-size: 14px; line-height: 1.5; }
.experience-credit { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 30px 0 26px; }
.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.experience-card { min-width: 0; }
.experience-card > a { display: block; height: 100%; }
.experience-card-image { position: relative; margin: 0 0 24px; aspect-ratio: 4 / 3; background: #101010; overflow: hidden; }
.experience-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.work-brand-label { display: block; font-size: 13px; line-height: 1.6; letter-spacing: .025em; font-weight: 700; }
.experience-card h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.18; letter-spacing: -.025em; margin: 14px 0; }
.experience-card p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.experience-card > a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.experience-link { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; border-bottom: 1px solid currentColor; font-size: 16px; line-height: 1.5; padding-block: 8px; font-weight: 600; }
.experience-link:hover { color: #466226; }
.experience-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; border-top: 1px solid var(--line); margin-top: 46px; padding-top: 26px; }
.experience-brand-line { flex: 1 1 600px; margin: 0; font-size: 14px; line-height: 2; color: var(--muted); letter-spacing: .035em; }
.experience-footer .experience-link { flex-shrink: 0; margin-left: auto; }

body[data-page="home"] .expertise .home-proof-strip { border-top: 1px solid #fff3; margin-top: 42px; padding-top: 30px; }
.own-brand-section { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; background: #dce2d2; }
.own-brand-copy h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.1; max-width: 14ch; margin: 22px 0 28px; }
.own-brand-copy > p { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 45ch; }
.own-brand-copy .experience-link { margin-top: 26px; }
.own-brand-artwork { margin: 0; }
.own-brand-artwork > img { display: block; width: 100%; height: auto; }
.own-brand-artwork figcaption { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 14px; }

body[data-page="company"] .founder-body { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 65ch; margin-top: 24px; }
body[data-page="company"] .founder-work-grid { display: grid; gap: 48px; margin-top: 28px; }
.founder-work-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 32px; align-items: center; border-top: 1px solid var(--line); padding-top: 36px; scroll-margin-top: 120px; }
.founder-work-image { margin: 0; background: #101010; }
.founder-work-image img { width: 100%; height: auto; max-height: 480px; object-fit: contain; display: block; }
.founder-work-copy h3 { font-size: clamp(25px, 2.4vw, 36px); line-height: 1.25; letter-spacing: -.025em; margin: 14px 0 18px; }
.founder-work-copy p { font-size: 17px; line-height: 1.8; color: var(--muted); }
.work-project-date { display: block; font-size: 13px; color: var(--muted); margin-top: 22px; }

/* Supporting retail photographs keep PUBLISH first and Champion secondary. */
.founder-retail-gallery { min-width: 0; margin-top: -12px; scroll-margin-top: 120px; }
.founder-retail-gallery > h3 { font-size: 18px; line-height: 1.5; font-weight: 600; margin: 0 0 20px; }
.founder-retail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.founder-retail-grid figure { min-width: 0; margin: 0; scroll-margin-top: 120px; }
.founder-retail-grid img { display: block; width: 100%; height: auto; object-fit: contain; }
.founder-retail-grid figcaption { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 12px; }

@media (max-width: 1180px) {
  body[data-page] .site-header .header-logo { width: 64px; height: 58px; flex-basis: 64px; }
  body[data-page] .mobile-nav { top: 94px; }
}
@media (max-width: 900px) {
  .oti-hero-visual { margin-top: 42px; grid-template-columns: .7fr 1.3fr; align-items: center; }
  .oti-signature { display: block; }
  .oti-signature img { width: 88px; height: 80px; margin-bottom: 20px; }
  .oti-signature p { font-size: 27px; }
  .experience-grid { gap: 24px; }
  .experience-heading { gap: 36px; }
  .founder-work-card { gap: 24px; }
}
@media (max-width: 760px) {
  body[data-page] .site-header { min-height: 90px; padding-top: 12px; padding-bottom: 12px; }
  body[data-page] .site-header .header-logo { width: 56px; height: 52px; flex-basis: 56px; }
  body[data-page] .site-header .wordmark { gap: 10px; }
  body[data-page] .site-header .wordmark-en { font-size: 11px; max-width: 112px; line-height: 1.4; }
  body[data-page] .header-actions { gap: 7px; }
  body[data-page] .mobile-nav { top: 90px; }
  body[data-page] .footer-identity > img { width: 72px; height: 66px; }
  .company-oti-mark { position: absolute; top: 0; right: 0; width: 64px; }
  body[data-page="company"] .company-hero-heading { display: block; position: relative; }
  body[data-page="company"] .company-hero-heading > div { min-width: 0; }
  body[data-page="company"] .company-hero-heading .company-name-zh { padding-right: 80px; }
  body[data-page="home"] .editorial-hero .hero-eyebrow { font-size: 13px; }
  body[data-page="home"] main .editorial-intro > .hero-scope { font-size: 16px; line-height: 1.75; margin-top: 18px; }
  .oti-hero-visual { margin-top: 36px; grid-template-columns: 1fr; gap: 24px; }
  .oti-signature { display: flex; gap: 24px; }
  .oti-signature img { width: 90px; height: 82px; margin: 0; }
  .oti-signature p { font-size: 25px; max-width: 13ch; }
  .oti-event-figure figcaption { font-size: 12px; padding-top: 12px; }
  .hero-event-cta { left: 14px; bottom: 14px; padding: 10px 14px; font-size: 14px; min-height: 44px; gap: 18px; }
  body[data-page="home"] #work .work-card--flagship { padding-bottom: 30px; }
  body[data-page="home"] #work .work-card--flagship .case-button { display: flex; }
  body[data-page="home"] #work .work-card--flagship .case-image { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
  body[data-page="home"] #work .work-card--flagship .case-labels { padding-top: 20px; }
  body[data-page="home"] #work .work-card--flagship h3 { font-size: 32px; margin-bottom: 18px; }
  body[data-page="home"] .experience-section { padding-block: 60px; }
  .experience-heading { grid-template-columns: 1fr; gap: 22px; }
  .experience-heading h2 { font-size: 36px; max-width: none; }
  .experience-heading > p { font-size: 17px; }
  .experience-grid { grid-template-columns: 1fr; gap: 38px; }
  .experience-card-image { aspect-ratio: auto; max-height: 420px; margin-bottom: 20px; }
  .experience-card-image img { position: static; display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
  .experience-card h3 { font-size: 28px; }
  .experience-footer { margin-top: 36px; padding-top: 24px; }
  .experience-footer .experience-link { margin-left: 0; }
  .experience-brand-line { flex-basis: 100%; line-height: 2; }
  .own-brand-section { grid-template-columns: 1fr; gap: 32px; padding-block: 60px; }
  .own-brand-copy h2 { font-size: 36px; max-width: none; }
  .own-brand-copy > p { font-size: 17px; }
  body[data-page="company"] .founder-work-grid { gap: 36px; }
  .founder-work-card { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .founder-work-copy h3 { font-size: 28px; }
  .founder-work-image img { max-height: 460px; }
  .founder-retail-grid { gap: 16px; }
  .founder-retail-grid figcaption { min-height: 3.2em; margin-top: 10px; }
}
@media (max-width: 400px) {
  body[data-page] .site-header .wordmark-en { max-width: 112px; font-size: 11px; }
  body[data-page] .site-header .wordmark { gap: 8px; }
  body[data-page] .site-header .header-actions { gap: 5px; }
  body[data-page] .header-instagram { display: none; }
  .company-oti-mark { width: 64px; }
}

.work-image-caption { display: block; background: var(--paper); color: var(--muted); font-size: 12px; line-height: 1.6; padding: 10px 0; }
.experience-card .work-image-caption { margin-top: -16px; margin-bottom: 8px; }

/* v34: keep each exhibition photo with its own event identity and caption. */
.dialog-content .dialog-photo { margin: 0; min-width: 0; }
.dialog-content .dialog-photo figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.dialog-content .dialog-photo-title { margin: 0 0 16px; font-size: 18px; line-height: 1.5; }
.dialog-content .dialog-photo .dialog-hero, .dialog-gallery .dialog-photo img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.dialog-gallery .dialog-photo { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); }
