/* Web 1.4 — one editorial scale, preserving the Academy colour and type identity. */
:root {
  --h1: clamp(42px, 4.2vw, 62px);
  --h2: clamp(30px, 3vw, 46px);
  --h3: clamp(22px, 2vw, 28px);
  --section-space: clamp(56px, 6vw, 88px);
  --gutter: max(24px, calc((100vw - 1280px) / 2));
}
body { font-size: 16px; line-height: 1.7; }
h1, h2, h3 { letter-spacing: -.045em; }
h2 { font-size: var(--h2); line-height: 1.17; }
h3 { font-size: var(--h3); line-height: 1.25; }
.eyebrow, .smallcaps, .section-index, .card-number { font-size: 11px; letter-spacing: .12em; }
.site-header { height: 78px; padding-inline: var(--gutter); }
html { scroll-padding-top: 94px; }
.hero { grid-template-columns: 1.22fr 1fr; min-height: 0; gap: clamp(36px, 4vw, 64px); padding: 38px var(--gutter) 42px; align-items: stretch; }
.hero-copy { padding: 14px 0; justify-content: center; }
.hero-copy .eyebrow { font-size: 11px; letter-spacing: .1em; }
.hero h1 { font-size: var(--h1); line-height: 1.16; letter-spacing: -.05em; margin: 27px 0 28px; max-width: 12.8em; }
.hero h1 > span { margin-bottom: 4px; }
.hero-bottom { margin-top: 10px; padding: 0; gap: 24px; }
.hero-bottom p { font-size: 15px; line-height: 1.75; }
.hero-image { height: 460px; min-height: 0; align-self: center; }
.hero-image img { object-position: 50% 47%; }
.hero .photo-gradient { display: none; }
.worlds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 38px var(--gutter) 40px; min-height: 0; border-top: 1px solid var(--rule); border-bottom: 0; }
.worlds-intro { display: block; grid-column: 1 / -1; padding: 0; margin-bottom: 24px; }
.worlds-intro h2 { font-size: clamp(30px, 2.6vw, 40px); line-height: 1.18; }
.worlds-intro h2 br { display: none; }
.worlds-intro h2 em { margin-left: .25em; color: var(--orange-text); }
.worlds > a { display: grid; grid-template-columns: 1fr 24px; grid-template-rows: auto 1fr; min-width: 0; gap: 14px 12px; align-items: start; min-height: 148px; padding: 22px 24px; border: 1px solid var(--rule); border-right: 0; font-family: var(--heading); font-size: 21px; line-height: 1.3; transition: background .2s ease, color .2s ease; }
.worlds > a:first-of-type { border-left: 1px solid var(--rule); }
.worlds > a:last-of-type { border-right: 1px solid var(--rule); }
.world-number { grid-column: 1; grid-row: 1; padding: 0; color: var(--orange-text); font-family: var(--body); font-size: 11px; letter-spacing: .08em; }
.worlds > a > span:nth-child(2) { grid-column: 1; grid-row: 2; min-width: 0; }
.worlds small { margin-top: 9px; font-family: var(--body); font-size: 13px; line-height: 1.5; color: var(--muted); }
.world-arrow { display: block; grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0; font-size: 22px; transition: transform .2s ease; }
.worlds > a:hover { background: #eee7de; color: var(--orange-text); }
.worlds > a:hover .world-arrow { transform: translate(3px, -3px); }
.worlds > a:focus-visible { outline: 3px solid var(--orange-text); outline-offset: -3px; background: #eee7de; z-index: 1; }
.section-wrap { padding: var(--section-space) var(--gutter); }
.section-heading { padding-bottom: 18px; margin-bottom: 28px; align-items: center; }
.section-heading .eyebrow { font-size: 11px; }
.heading-grid { grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: 32px; }
.heading-grid h2 { font-size: var(--h2); line-height: 1.17; }
.section-description { font-size: 16px; line-height: 1.8; max-width: 480px; }
.academy-visual { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: end; min-height: 0; padding-bottom: 16px; }
.academy-visual figure { height: clamp(280px, 26vw, 350px); margin: 0; }
.academy-visual img { object-position: 50% 25%; }
.academy-overlay { position: relative; top: auto; right: auto; width: calc(100% + 32px); margin-left: -32px; margin-bottom: -16px; padding: 27px 28px; box-shadow: none; }
.academy-overlay .smallcaps { font-size: 10px; }
.academy-overlay h3 { font-size: 26px; line-height: 1.27; margin: 22px 0 24px; }
.academy-overlay .text-link { font-size: 14px; }
.philosophy { grid-template-columns: 1fr 1fr; }
.philosophy-copy { padding: 62px 48px 36px var(--gutter); }
.philosophy .eyebrow { font-size: 11px; }
.philosophy h2 { font-size: var(--h2); line-height: 1.17; margin: 28px 0 24px; }
.philosophy-copy > p:not(.eyebrow) { font-size: 16px; max-width: 470px; line-height: 1.8; margin-bottom: 24px; }
.philosophy-foot { margin-top: 38px; padding-top: 16px; font-size: 9px; }
.philosophy figure { min-height: 480px; }
.philosophy img { object-position: 50% 43%; }
.corporate-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); }
.corporate h2 { font-size: var(--h2); line-height: 1.17; }
.corporate-body { max-width: 560px; padding-top: 0; }
.corporate-body .lead { font-size: 20px; line-height: 1.65; }
.corporate-body > p + p { font-size: 16px; line-height: 1.8; margin-top: 18px; }
.corporate-topics { margin: 24px 0; }
.professional-cards { gap: 24px; }
.professional-cards article { min-height: 345px; padding: 30px 32px; }
.professional-cards h3 { font-size: var(--h3); line-height: 1.25; }
.card-line-art { width: 120px; height: 54px; margin: 18px 0; }
.professional-cards p { font-size: 16px; line-height: 1.75; margin: 18px 0 25px; }
.os-intro { grid-template-columns: 1.25fr 1fr; gap: 64px; padding: 44px var(--gutter); }
.os-intro .eyebrow { font-size: 11px; margin-bottom: 16px; }
.os-intro h2 { font-size: clamp(27px, 2.4vw, 36px); line-height: 1.2; }
.os-rotating { font-size: clamp(30px, 3vw, 46px); height: 2.3em; line-height: 1.17; }
.os-intro-action > p { font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.os-section { padding: var(--section-space) var(--gutter) 36px; }
.os-copy { max-width: 760px; }
.os-copy .eyebrow { font-size: 11px; }
.os-copy h2 { font-size: var(--h2); line-height: 1.17; margin: 24px 0 22px; }
.os-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; max-width: 610px; }
.os-actions { margin-top: 28px; }
.os-product-visual { max-width: 740px; margin: 38px auto 28px; padding: 28px 34px 20px; border-radius: 16px; }
.os-product-composition { padding: 18px 16px 66px 8px; }
.os-product-frame { margin-right: 14px; }
.os-product-dog { width: 26%; border-width: 6px; }
.os-product-visual .product-caption { margin-top: 18px; }
.os-features { font-size: 13px; padding-top: 24px; gap: 20px; }
.story { grid-template-columns: .7fr 1.3fr; gap: 64px; }
.story-year { font-size: clamp(100px, 11vw, 160px); line-height: .95; }
.story-year span { font-size: 11px; letter-spacing: .12em; margin-top: 18px; padding-left: 6px; }
.story-copy h2 { font-size: var(--h2); line-height: 1.17; margin: 20px 0; }
.story-copy p:not(.eyebrow) { font-size: 16px; line-height: 1.8; max-width: 530px; margin-bottom: 24px; }
.contact-section { padding: 56px var(--gutter); }
.contact-main { grid-template-columns: 1.1fr 1fr; gap: 64px; margin-top: 24px; }
.contact-main h2 { font-size: clamp(40px, 4vw, 60px); line-height: 1.14; }
.contact-main p { font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
footer { padding: 38px var(--gutter) 24px; }
.footer-top { gap: 30px; }
.footer-top p { font-size: 14px; line-height: 1.8; }
.footer-links { margin: 28px 0 24px; font-size: 14px; }
.footer-bottom { padding-top: 18px; }
#detail-dialog h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.chat-panel h2 { font-size: 28px; }
.chat-topic-detail h3 { font-size: 23px; }
@media (min-width: 1700px) {
  .hero-image { height: 480px; }
}
@media (max-width: 1100px) {
  .hero { gap: 32px; }
  .hero h1 { font-size: clamp(42px, 4.2vw, 54px); }
  .hero-image { height: 420px; }
  .worlds > a { padding: 20px 18px; font-size: 19px; }
  .academy-visual { grid-template-columns: minmax(0, 1fr) 250px; }
  .academy-overlay { padding: 24px; }
  .academy-overlay h3 { font-size: 24px; }
  .os-intro { gap: 36px; }
  .philosophy-copy { padding-right: 32px; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .site-header { height: 76px; }
  .site-header nav { top: 75px; }
  .hero { grid-template-columns: 1.15fr 1fr; padding-block: 30px; gap: 24px; }
  .hero h1 { font-size: 36px; margin: 22px 0 24px; }
  .hero h1 > span { margin-bottom: 6px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero-image { height: 410px; }
  .hero-bottom p { font-size: 14px; }
  .worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 30px; }
  .worlds > a { min-height: 136px; border: 1px solid var(--rule); padding: 22px; }
  .worlds > a:nth-of-type(even) { border-left: 0; }
  .worlds > a:nth-of-type(n+3) { border-top: 0; }
  .heading-grid { grid-template-columns: 1.1fr 1fr; gap: 32px; }
  .academy-visual { grid-template-columns: minmax(0, 1fr) 220px; }
  .academy-overlay { width: calc(100% + 20px); margin-left: -20px; padding: 22px; }
  .academy-overlay h3 { font-size: 22px; }
  .philosophy-copy { padding-block: 44px 28px; padding-right: 24px; }
  .philosophy figure { min-height: 460px; }
  .philosophy-foot { font-size: 8px; }
  .professional-cards article { padding: 26px; }
  .professional-cards h3 { font-size: 25px; }
  .story { gap: 40px; }
  .contact-main { gap: 36px; }
}
@media (max-width: 700px) {
  :root { --h2: clamp(30px, 7.4vw, 34px); --h3: 24px; --section-space: 52px; --gutter: 23px; }
  .site-header { height: 70px; }
  .site-header nav { top: 69px; }
  .hero { display: flex; gap: 25px; padding: 26px var(--gutter) 30px; }
  .hero-copy { padding: 0; }
  .hero-copy .eyebrow { font-size: 10px; max-width: 100%; gap: 8px; }
  .hero h1 { font-size: clamp(33px, 8.8vw, 40px); line-height: 1.17; margin: 22px 0; max-width: 100%; }
  .hero h1 > span { margin-bottom: 5px; }
  .hero-bottom { margin-top: 0; gap: 16px; }
  .hero-bottom p { font-size: 14px; line-height: 1.75; }
  .round-link { flex-shrink: 0; }
  .hero-image { height: 320px; width: 100%; }
  .hero-image img { object-position: 50% 46%; }
  .worlds { grid-template-columns: 1fr; padding: 28px var(--gutter) 32px; }
  .worlds-intro { margin-bottom: 22px; }
  .worlds-intro h2 { font-size: 30px; }
  .worlds-intro h2 br { display: initial; }
  .worlds-intro h2 em { margin-left: 0; }
  .worlds > a { grid-template-columns: 25px minmax(0, 1fr) 24px; grid-template-rows: 1fr; align-items: center; gap: 15px; min-height: 105px; padding: 19px 18px; border: 1px solid var(--rule); border-bottom: 0; font-size: 21px; }
  .worlds > a:nth-of-type(odd) { padding-left: 18px; }
  .worlds > a:nth-of-type(1), .worlds > a:nth-of-type(2) { border-bottom: 0; }
  .worlds > a:last-of-type { border-bottom: 1px solid var(--rule); }
  .world-number { grid-column: 1; grid-row: 1; align-self: center; }
  .worlds > a > span:nth-child(2) { grid-column: 2; grid-row: 1; }
  .world-arrow { grid-column: 3; grid-row: 1; align-self: center; }
  .worlds small { font-size: 13px; margin-top: 6px; }
  .section-heading { padding-bottom: 15px; margin-bottom: 24px; }
  .section-heading .eyebrow { font-size: 10px; }
  .section-index { font-size: 9px; max-width: 125px; text-align: right; letter-spacing: .08em; }
  .heading-grid { display: block; margin-bottom: 26px; }
  .heading-grid h2 { font-size: var(--h2); }
  .section-description { font-size: 15px; line-height: 1.8; margin-top: 20px; }
  .academy-visual { display: block; padding-bottom: 0; }
  .academy-visual figure { height: 250px; }
  .academy-visual img { object-position: 50% 35%; }
  .academy-overlay { width: 100%; margin: 0; padding: 25px 26px; }
  .academy-overlay h3 { font-size: 25px; margin: 18px 0 20px; }
  .philosophy { display: flex; }
  .philosophy-copy { padding: 46px var(--gutter) 28px; }
  .philosophy h2 { font-size: var(--h2); margin: 26px 0 22px; }
  .philosophy .eyebrow { font-size: 10px; }
  .philosophy-copy > p:not(.eyebrow) { font-size: 15px; max-width: 100%; }
  .philosophy-foot { font-size: 8px; margin-top: 28px; }
  .philosophy figure { min-height: 0; height: 330px; }
  .corporate-grid { display: block; }
  .corporate h2 { font-size: var(--h2); }
  .corporate-body { padding-top: 26px; }
  .corporate-body .lead { font-size: 19px; }
  .corporate-body > p + p { font-size: 15px; }
  .corporate-topics { font-size: 13px; margin: 20px 0 24px; }
  .professional-cards { grid-template-columns: 1fr; gap: 18px; }
  .professional-cards article { min-height: 315px; padding: 27px; }
  .professional-cards h3 { font-size: 25px; }
  .professional-cards p { font-size: 15px; }
  .os-intro { grid-template-columns: 1fr; gap: 24px; padding: 36px var(--gutter); }
  .os-intro .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .os-intro h2 { font-size: 28px; }
  .os-rotating { font-size: 34px; height: 2.35em; }
  .os-intro-action > p { font-size: 15px; margin-bottom: 20px; }
  .os-section { padding: 52px var(--gutter) 30px; }
  .os-copy h2 { font-size: var(--h2); }
  .os-copy .eyebrow { font-size: 10px; }
  .os-copy > p:not(.eyebrow) { font-size: 15px; }
  .os-actions { margin-top: 25px; gap: 22px; }
  .os-product-visual { max-width: 100%; margin: 30px 0 24px; padding: 20px 14px 18px; border-radius: 14px; }
  .os-product-composition { padding: 12px 8px 56px; }
  .os-product-frame { margin-right: 6px; }
  .os-product-dog { width: 29%; border-width: 4px; }
  .os-product-visual .product-caption { font-size: 11px; margin-top: 16px; }
  .os-features { grid-template-columns: 1fr 1fr; font-size: 12px; gap: 16px 12px; }
  .story { display: block; }
  .story-year { font-size: 110px; }
  .story-year span { font-size: 10px; }
  .story-copy { margin-top: 30px; }
  .story-copy h2 { font-size: var(--h2); margin: 20px 0; }
  .story-copy p:not(.eyebrow) { font-size: 15px; }
  .contact-section { padding: 44px var(--gutter); }
  .contact-main { display: block; margin-top: 22px; }
  .contact-main h2 { font-size: 40px; }
  .contact-main > div { margin-top: 26px; }
  .contact-main p { font-size: 15px; }
  footer { padding: 34px var(--gutter) 24px; }
  .footer-top { gap: 24px; }
  .footer-top p { font-size: 14px; }
  .footer-links { gap: 16px 22px; margin: 26px 0 23px; }
  #detail-dialog h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .worlds > a, .world-arrow { transition: none; }
  .worlds > a:hover .world-arrow { transform: none; }
}
