.hero { position: relative; width: 100%; aspect-ratio: 1920 / 981; min-height: 480px; max-height: 92vh; overflow: hidden; background-color: var(--color-black); } .hero__track { position: absolute; inset: 0; width: 100%; height: auto; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; display: flex; } .hero__track::-webkit-scrollbar { display: none; } .hero__track:focus-visible { outline: 2px solid var(--color-canon-red); outline-offset: -4px; } .hero__slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; } .hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; } .hero__overlay { position: absolute; inset: 0; background: linear-gradient( 180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.5) 100% ); pointer-events: none; } .hero__content { position: absolute; inset: 0; padding: var(--space-12) var(--space-12) var(--space-16); color: var(--color-white); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; } .hero__avatar-wrap { position: relative; width: 85px; height: 85px; margin-bottom: var(--space-4); z-index: 2; } .hero__avatar-link { display: block; width: 100%; height: 100%; border-radius: var(--radius-full); } .hero__avatar { width: 100%; height: 100%; border-radius: var(--radius-full); border: 3px solid var(--color-white); object-fit: cover; } .hero__avatar-badge { position: absolute; right: -6px; bottom: 0; width: 26px; height: 26px; background-color: var(--color-canon-red); color: var(--color-white); border-radius: var(--radius-full); border: 3px solid var(--color-white); display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); } .hero__title { font-family: var(--font-heading); font-size: clamp(2.75rem, 5.73vw, var(--fs-display-lg)); font-weight: var(--fw-thin); line-height: 1.0; letter-spacing: -0.01em; color: var(--color-white); margin: 0; text-shadow: 0 4px 32px rgba(0, 0, 0, 0.35); } .hero__desc { margin: var(--space-3) 0 0; max-width: min(36rem, 90%); font-family: var(--font-body); font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: var(--fw-semibold, 600); line-height: 1.35; color: var(--color-white); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); } .hero__desc > :first-child { margin-top: 0; } .hero__desc > :last-child { margin-bottom: 0; } .hero__desc p, .hero__desc ul, .hero__desc ol { margin: 0 0 0.5em; } .hero__desc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; } .hero__cta { margin-top: var(--space-5); position: relative; z-index: 2; } .hero__byline { font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--color-white); margin-top: var(--space-3); letter-spacing: 0.01em; } .hero__byline-name { font-weight: var(--fw-bold); } .hero__stats { display: none; position: absolute; right: clamp(var(--space-6), 5.5vw, 110px); top: 50%; transform: translateY(-50%); gap: var(--space-5); color: var(--color-white); z-index: 2; flex-direction: column; align-items: center; list-style: none; margin: 0; padding: 0; } .hero__stat { gap: 6px; font-size: 0.8125rem; font-weight: var(--fw-bold); letter-spacing: 0.02em; line-height: 1; display: inline-flex; flex-direction: column; align-items: center; } .hero__stat i { font-size: 1.6rem; line-height: 1; color: var(--color-white); } .hero__dots { position: absolute; left: 50%; bottom: clamp(var(--space-6), 4vw, var(--space-12)); transform: translateX(-50%); gap: var(--space-3); z-index: 3; display: flex; align-items: center; } .hero__dot { width: 12px; height: 12px; border-radius: var(--radius-full); background-color: transparent; border: 1.5px solid var(--color-white); cursor: pointer; padding: 0; transition: background-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out); } .hero__dot:hover { background-color: rgba(255, 255, 255, 0.4); } .hero__dot.is-active { background-color: var(--color-white); } .hero__dot:focus-visible { outline: 2px solid var(--color-canon-red); outline-offset: 3px; } .hero__text-link { color: inherit; text-decoration: none; } .hero__text-link:hover, .hero__text-link:focus-visible { color: inherit; text-decoration: none; outline: none; } .hero__text-link:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 4px; } .hero--page-hero .hero__content { margin-top: 50px; padding: 0 var(--space-6, 1.5rem) var(--space-16); } .hero--page-hero .hero__title { font-family: var(--font-heading, var(--font-body)); font-weight: var(--fw-thin); font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.15; letter-spacing: -0.005em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); } .hero--page-hero .hero__desc { margin: 0 auto; max-width: none; font-family: var(--font-body); font-weight: var(--fw-regular); font-size: clamp(1rem, 1.7vw, 1.875rem); line-height: 1.4; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); } .hero--page-hero .hero__title + .hero__desc { margin-top: var(--space-4, 1rem); } .hero--page-hero .hero__avatar-wrap, .hero--page-hero .hero__byline, .hero--page-hero .hero__stats { display: none; } .hero--page { aspect-ratio: auto; min-height: 40vh; height: min(50vh, 520px); max-height: 520px; } .hero--page .hero__overlay { background: rgba(0, 0, 0, 0.5); } .hero__page { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(1rem, 2.5vw, 1.75rem); padding: calc(var(--space-12, 3rem) + 0.5rem) clamp(1rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem); color: var(--color-white); pointer-events: none; } .hero__page > * { pointer-events: auto; } .hero__page-copy { max-width: 42rem; } .hero__page-title { margin: 0 0 0.5rem; font-family: var(--font-heading); font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: var(--fw-semibold, 600); line-height: 1.15; letter-spacing: -0.01em; color: var(--color-white); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); } .hero__page-desc { margin: 0; font-family: var(--font-body); font-size: clamp(1rem, 1.6vw, 1.5rem); font-weight: var(--fw-semibold, 600); line-height: 1.35; color: var(--color-white); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); } .hero__page-desc > :first-child { margin-top: 0; } .hero__page-desc > :last-child { margin-bottom: 0; } .hero__page-desc p, .hero__page-desc ul, .hero__page-desc ol { margin: 0 0 0.5em; } .hero__page-desc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; } .hero__page-copy .hero__cta { margin-top: var(--space-4); display: inline-flex; } .hero__page-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; } .hero__page-author { min-width: 0; flex: 1; } .hero__page-author-link { display: inline-flex; align-items: center; gap: 0.65rem; min-width: 0; max-width: 100%; } .hero__page-avatar { width: 40px; height: 40px; border-radius: var(--radius-full, 999px); object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.85); flex-shrink: 0; background: rgba(255, 255, 255, 0.15); } .hero__page-author-name { font-size: 0.9375rem; font-weight: var(--fw-semibold, 600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hero__zoom { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; border: none; background: transparent; color: var(--color-white); font-size: 1.35rem; cursor: pointer; opacity: 0.9; transition: opacity 150ms ease, transform 150ms ease; } .hero__zoom:hover, .hero__zoom:focus-visible { opacity: 1; transform: scale(1.08); outline: none; } .hero--page .hero__dots { bottom: clamp(0.5rem, 1.5vw, 1rem); } .hero-zoom-modal { padding: 0; border: none; background: transparent; max-width: min(96vw, 1200px); max-height: 90vh; width: fit-content; margin: auto; overflow: hidden; } .hero-zoom-modal::backdrop { background: rgba(0, 0, 0, 0.85); } .hero-zoom-modal__panel { position: relative; display: flex; align-items: center; justify-content: center; max-width: min(96vw, 1200px); max-height: 90vh; } .hero-zoom-modal__img { display: block; max-width: min(96vw, 1200px); max-height: 90vh; width: auto; height: auto; object-fit: contain; } .hero-zoom-modal__close { position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2; width: 2.5rem; height: 2.5rem; border: none; border-radius: var(--radius-full, 999px); background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; } .hero-zoom-modal__close:hover, .hero-zoom-modal__close:focus-visible { background: var(--color-canon-red, #c8102e); outline: none; } @media (min-width: 768px) { .hero__stats { display: flex; } } @media (max-width: 768px) { .hero__content { padding: var(--space-8) var(--space-6) var(--space-12); } .hero__avatar-wrap { width: 64px; height: 64px; } .hero__avatar-badge { width: 22px; height: 22px; border-width: 2px; } .hero--page { min-height: 36vh; height: min(48vh, 420px); } .hero__page { padding-top: calc(var(--space-10, 2.5rem) + 2.5rem); } }