.company-main { letter-spacing: 0; }
.company-main figure { margin: 0; }
.company-intro { padding-block: 0; }
.company-panorama { position: relative; overflow: hidden; isolation: isolate; }
.company-panorama > img { width: 100%; height: 440px; display: block; object-fit: cover; object-position: center 48%; }
.company-panorama-shade { position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, #101b18c9 0%, #111c197a 38%, #111c191f 72%, transparent 100%), linear-gradient(0deg, #101b185c 0%, transparent 48%); pointer-events: none; }
.company-panorama-copy { position: absolute; z-index: 1; left: clamp(24px, 5vw, 72px); right: 24px; bottom: 70px; max-width: 720px; }
.company-panorama-copy h1 { max-width: 700px; color: #fff; font-size: 52px; line-height: 1.15; font-weight: 500; }
.company-panorama figcaption { position: absolute; z-index: 1; right: 20px; bottom: 20px; display: flex; align-items: center; }
.company-film { display: inline-flex; min-height: 44px; gap: 9px; align-items: center; padding: 0 15px; border: 1px solid #ffffff70; background: #142019c7; color: #fff; font-size: var(--text-sm); }
.company-film:hover { background: var(--blue); }
.company-film svg { width: 15px; height: 15px; }
.company-story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 64px; }
.company-main h2 { margin: 17px 0 0; font-size: var(--text-section); font-weight: 400; line-height: 1.3; }
.company-story-copy p, .company-details p { margin: 0 0 16px; max-width: 600px; color: #60685f; font-size: var(--text-base); line-height: 1.65; }
.company-story-copy p:last-child { margin-bottom: 0; }
.company-name-note { margin-top: 26px; padding: 17px 0 0; border-top: 1px solid var(--line); }
.company-name-note .section-kicker { color: var(--blue); }
.company-name-note p { margin: 8px 0 0; max-width: 600px; color: var(--ink); font-size: var(--text-sm); line-height: 1.65; }
.company-history { padding-block: 48px 54px; background: #f2f5f5; border-block: 1px solid var(--line); }
.company-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.company-history-range { font-size: var(--text-sm); color: #60685f; padding-bottom: 6px; white-space: nowrap; }
.company-department-gallery { margin-top: 0; }
.department-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.department-gallery-heading h3 { margin: 7px 0 0; font-size: var(--text-lg); font-weight: 500; line-height: 1.4; }
.department-gallery-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.department-gallery-controls button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #cbd5d3; background: #fff; color: #344b4b; cursor: pointer; }
.department-gallery-controls button:hover { border-color: var(--blue); color: var(--blue); }
.department-gallery-controls button[aria-label^="Resume"] { border-color: var(--blue); color: var(--blue); }
.department-gallery-controls svg { width: 17px; height: 17px; }
.department-gallery-viewport { overflow: hidden; margin-top: 17px; overscroll-behavior-inline: contain; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.department-gallery-viewport:active { cursor: grabbing; }
.department-gallery-track, .department-gallery-set { display: flex; width: max-content; }
.department-gallery-track { will-change: transform; }
.department-gallery-set { flex: 0 0 auto; gap: 18px; padding-right: 18px; }
.department-photo { flex: 0 0 clamp(240px, 24vw, 370px); min-width: 0; margin: 0; }
.department-photo img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.department-photo figcaption { margin-top: 10px; color: #384544; font-size: var(--text-sm); font-weight: 600; line-height: 1.4; }
.company-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 38px 0 0; padding: 0; list-style: none; }
.company-timeline li { position: relative; padding-right: 30px; }
.company-timeline li:last-child { padding-right: 0; }
.milestone-heading { display: flex; align-items: center; gap: 13px; }
.milestone-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #d9e0df; background: #fff; color: var(--blue); }
.milestone-icon svg { width: 19px; height: 19px; }
.company-timeline time { display: block; color: var(--blue); font-size: var(--text-section); line-height: 1.2; font-weight: 400; }
.timeline-point { display: block; position: relative; height: 1px; margin-block: 18px; background: #ccd7d6; }
.timeline-point::before { content: ""; position: absolute; width: 7px; height: 7px; top: -3px; left: 0; border-radius: 50%; background: var(--blue); }
.company-timeline h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.4; margin: 0 0 10px; }
.company-timeline p { margin: 0; max-width: 285px; color: #60685f; font-size: var(--text-base); line-height: 1.65; }
.company-details { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(50px, 6vw, 96px); align-items: start; padding-block: 72px; }
.company-details figure > img { width: 92%; height: auto; margin-inline: auto; display: block; }
.company-founder-portrait figcaption { display: flex; width: 92%; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 7px 16px; margin: 18px auto 0; }
.company-founder-portrait figcaption strong { font-family: Georgia, "Times New Roman", serif; color: #27364a; font-size: 26px; font-weight: 600; line-height: 1.25; }
.company-founder-portrait figcaption span { color: #60685f; font-size: var(--text-sm); }
.company-founder-story h2 { margin-top: 25px; color: #27364a; font-family: Georgia, "Times New Roman", serif; font-size: 48px; font-weight: 600; line-height: 1.14; }
.company-founder-copy { margin-top: 27px; }
.company-founder-story p { margin: 0 0 18px; max-width: 680px; color: #4f5c69; font-size: var(--text-base); line-height: 1.75; }
.company-founder-note { margin-top: 26px; padding-top: 24px; border-top: 1px solid #d6d8d3; }
.company-founder-note h3 { max-width: 610px; margin: 0 0 19px; color: #27364a; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 600; line-height: 1.35; }
.company-founder-note .text-link { text-transform: uppercase; font-size: var(--text-xs); font-weight: 700; letter-spacing: .4px; }
.company-invitation { padding-block: 54px 60px; background: #eaf0eb; }
.company-invitation-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.company-vr { min-width: 0; }
.company-vr .section-kicker { display: block; margin-bottom: 12px; }
.company-vr-frame { position: relative; }
.company-vr iframe { display: block; width: 100%; height: 340px; border: 0; background: #e2e7e4; }
.company-vr-title { position: absolute; z-index: 1; top: 30px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 0 14px; overflow: hidden; color: #fff; background: rgba(20, 28, 31, .88); border-radius: 4px; font-size: 16px; font-weight: 700; line-height: 30px; text-align: center; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; }
.company-invitation h2 { font-size: var(--text-section); }
.company-invitation p { color: #60685f; margin: 20px 0 27px; font-size: var(--text-base); line-height: 1.65; }
.company-invitation .text-link { margin-left: 24px; }
@media (max-width: 900px) {
  .company-story { gap: 36px; }
  .company-details { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; }
  .company-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .company-timeline li { padding-right: 0; }
  .department-photo { flex-basis: clamp(240px, 42vw, 340px); }
  .company-panorama > img { height: 360px; }
  .company-panorama-copy { bottom: 74px; }
  .company-panorama-copy h1 { font-size: 42px; }
  .company-founder-story h2 { font-size: 40px; }
  .company-founder-note h3 { font-size: 21px; }
  .company-invitation-inner { gap: 28px; }
  .company-vr iframe { height: 300px; }
}
@media (max-width: 600px) {
  .company-panorama > img { height: 280px; }
  .company-panorama-copy { left: 20px; right: 20px; bottom: 74px; }
  .company-panorama-copy h1 { font-size: 29px; line-height: 1.14; }
  .company-panorama figcaption { right: 14px; bottom: 14px; }
  .company-film { min-height: 42px; gap: 7px; padding-inline: 12px; font-size: var(--text-xs); }
  .company-story, .company-details { grid-template-columns: 1fr; gap: 28px; padding-block: 38px; }
  .company-name-note { margin-top: 22px; }
  .department-gallery-heading { align-items: center; }
  .department-gallery-heading h3 { max-width: 235px; font-size: var(--text-base); }
  .department-gallery-controls { gap: 6px; }
  .department-gallery-controls button { width: 36px; height: 36px; }
  .department-gallery-viewport { margin-inline: -2px; padding-inline: 2px; }
  .department-gallery-set { gap: 13px; padding-right: 13px; }
  .department-photo { flex-basis: 82vw; }
  .department-photo figcaption { margin-top: 8px; }
  .company-founder-story h2 { margin-top: 16px; font-size: 34px; }
  .company-founder-copy { margin-top: 20px; }
  .company-founder-note { margin-top: 23px; padding-top: 19px; }
  .company-founder-note h3 { margin-bottom: 15px; font-size: 21px; }
  .company-main h2 { margin-top: 13px; }
  .company-history { padding-block: 34px 38px; }
  .company-history-heading { display: block; }
  .company-history-range { display: block; margin-top: 16px; }
  .company-timeline { display: block; margin-top: 25px; }
  .company-timeline li, .company-timeline li:last-child { border-left: 1px solid #ccd7d6; padding: 0 0 27px 23px; }
  .company-timeline li:last-child { padding-bottom: 0; }
  .timeline-point { position: absolute; top: 12px; left: -1px; margin: 0; width: 0; }
  .timeline-point::before { left: -3px; }
  .company-timeline h3 { margin-top: 10px; }
  .company-timeline p { max-width: 100%; }
  .company-invitation { padding-block: 36px 42px; }
  .company-invitation-inner { grid-template-columns: 1fr; gap: 30px; }
  .company-vr iframe { height: 250px; }
  .company-invitation .text-link { display: flex; width: fit-content; margin: 21px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .department-gallery-controls { display: none; }
  .department-gallery-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: auto; cursor: auto; touch-action: auto; user-select: auto; -webkit-user-select: auto; scrollbar-width: thin; }
  .department-gallery-viewport::-webkit-scrollbar { display: block; height: 8px; }
  .department-gallery-viewport::-webkit-scrollbar-thumb { background: #aeb8b6; }
  .department-gallery-track { transform: none !important; will-change: auto; }
  .department-gallery-set[aria-hidden="true"] { display: none; }
  .department-photo { scroll-snap-align: start; }
}
