.media-page {
  --media-blue: #eef7fb;
  --media-blue-deep: #dceef6;
  --media-accent: #327db5;
  --media-accent-deep: #1f5f8f;
  --media-ink: #18384b;
  --media-muted: #607988;
  --media-line: rgba(39, 102, 143, .16);
  --media-white: #fff;
  color: var(--media-ink);
  background: var(--media-white);
}
.media-page .site-header,
.media-page .site-header.scrolled {
  height: 72px;
  color: var(--media-ink);
  background: rgba(255, 255, 255, .95);
  border-color: var(--media-line);
  box-shadow: 0 8px 28px rgba(33, 79, 108, .06);
}
.media-page .nav-item > a::after { bottom: 6px; background: var(--media-accent); }
.media-page .dropdown a:hover { color: var(--media-accent-deep); background: var(--media-blue); }
.media-page .header-action { color: var(--media-accent-deep); border-color: rgba(50, 125, 181, .5); background: #fff; }
.media-page .header-action:hover { color: #fff; background: var(--media-accent); border-color: var(--media-accent); }
.media-page .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.media-page .reveal.visible { opacity: 1; transform: none; }

.media-hero { min-height: 560px; padding-top: 72px; background: var(--media-blue); }
.media-hero__inner { min-height: 488px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(48px, 7vw, 100px); padding-block: 60px; }
.media-page .breadcrumb { margin: 0 0 42px; color: var(--media-muted); }
.media-page .breadcrumb span:last-child,
.media-page .page-kicker { color: var(--media-accent); }
.media-hero h1 { margin: 16px 0 24px; font: 500 clamp(46px, 4.8vw, 64px)/1.16 Georgia, "Noto Serif SC", serif; letter-spacing: -.055em; }
.media-hero__copy > p { max-width: 500px; margin: 0; color: var(--media-muted); font-size: 15px; line-height: 1.95; }
.media-hero__media { position: relative; margin: 0; }
.media-hero__media::before { content: ""; position: absolute; inset: -14px 24px 18px -14px; border: 1px solid rgba(50, 125, 181, .24); border-radius: 16px 92px 16px 16px; }
.media-hero__media img { position: relative; height: 340px; object-fit: cover; border-radius: 16px 92px 16px 16px; box-shadow: 0 20px 54px rgba(42, 91, 121, .13); }
.media-hero__media figcaption { position: absolute; right: 24px; bottom: 20px; padding: 10px 14px; color: #fff; background: rgba(20, 60, 84, .76); backdrop-filter: blur(8px); border-radius: 5px; font-size: 11px; letter-spacing: .04em; }
.media-hero__media figcaption span { margin-right: 14px; color: #bfe8ff; letter-spacing: .14em; }

.media-local-nav { position: sticky; z-index: 20; top: 71px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--media-line); backdrop-filter: blur(12px); }
.media-local-nav__inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.media-local-nav__inner > span { color: var(--media-accent-deep); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.media-local-nav__inner > div { display: flex; align-items: stretch; gap: 44px; height: 62px; }
.media-local-nav a { position: relative; display: grid; place-items: center; color: var(--media-muted); font-size: 13px; transition: color .2s ease; }
.media-local-nav a::after { content: ""; position: absolute; inset: auto 50% 0; height: 2px; background: var(--media-accent); transition: inset .2s ease; }
.media-local-nav a:hover,
.media-local-nav a.active { color: var(--media-accent-deep); }
.media-local-nav a.active::after { inset-inline: 0; }

.media-section { padding: 100px 0 112px; scroll-margin-top: 132px; }
.news-section { background: var(--media-white); }
.application-section { background: var(--media-blue); }
.videos-section { background: var(--media-white); }
.media-heading { display: flex; align-items: center; justify-content: center; gap: 30px; margin-bottom: 64px; text-align: center; }
.media-heading > div:nth-child(2) { min-width: 250px; }
.media-heading span { color: var(--media-accent); font-size: 10px; font-weight: 700; letter-spacing: .22em; }
.media-heading h2 { margin: 9px 0 8px; font: 600 clamp(38px, 4vw, 50px)/1.14 Georgia, "Noto Serif SC", serif; letter-spacing: -.05em; }
.media-heading p { margin: 0; color: var(--media-muted); font-size: 13px; }
.heading-arrows { display: flex; gap: 6px; }
.heading-arrows i { width: 20px; height: 20px; border-top: 1.5px solid var(--media-accent); border-right: 1.5px solid var(--media-accent); transform: rotate(45deg); }
.heading-arrows.reverse { transform: rotate(180deg); }

.story-list { border-top: 1px solid var(--media-line); }
.story-item { display: grid; grid-template-columns: minmax(260px, 33%) 1fr; gap: clamp(28px, 5vw, 68px); padding: 34px 0; border-bottom: 1px solid var(--media-line); }
.story-media { position: relative; align-self: center; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: var(--media-blue); }
.story-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.story-media > span { position: absolute; left: 14px; top: 14px; padding: 7px 11px; color: #fff; background: rgba(31, 95, 143, .86); border-radius: 999px; font-size: 10px; letter-spacing: .06em; }
.story-item:hover .story-media img { transform: scale(1.035); }
.story-copy { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 28px; }
.story-copy time { display: block; padding-right: 24px; color: var(--media-accent-deep); text-align: center; border-right: 1px solid var(--media-line); }
.story-copy time strong { display: block; font: 500 36px/1 Georgia, serif; }
.story-copy time span { display: block; margin-top: 8px; color: var(--media-muted); font-size: 10px; }
.story-copy h3 { margin: 0; font: 600 clamp(20px, 2vw, 26px)/1.45 Georgia, "Noto Serif SC", serif; }
.story-item[hidden] { display: none; }

.news-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 48px; }
.news-pagination[hidden] { display: none; }
.news-pagination__pages { display: flex; gap: 8px; }
.news-pagination button { min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--media-line); border-radius: 999px; color: var(--media-ink); background: var(--media-white); font: inherit; font-size: 13px; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.news-pagination button:hover:not(:disabled) { color: #fff; background: var(--media-accent-deep); border-color: var(--media-accent-deep); transform: translateY(-1px); }
.news-pagination button:focus-visible { outline: 3px solid rgba(31, 95, 143, .24); outline-offset: 2px; }
.news-pagination__page.active { color: #fff; background: var(--media-accent-deep); border-color: var(--media-accent-deep); }
.news-pagination button:disabled { color: var(--media-muted); background: var(--media-blue); cursor: not-allowed; opacity: .55; }
.news-pagination__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.story-copy h3 a { transition: color .2s ease; }
.story-copy h3 a:hover { color: var(--media-accent-deep); }
.story-copy p { max-width: 760px; margin: 16px 0 18px; color: var(--media-muted); font-size: 14px; line-height: 1.9; }
.story-more { display: inline-flex; align-items: center; gap: 14px; color: var(--media-accent-deep); font-size: 12px; }
.story-more span { transition: transform .2s ease; }
.story-more:hover span { transform: translateX(4px); }

.application-list { display: grid; gap: 28px; }
.application-item { display: grid; grid-template-columns: minmax(280px, .78fr) 1.22fr; min-height: 260px; background: rgba(255,255,255,.94); border: 1px solid rgba(50, 125, 181, .1); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 36px rgba(43, 91, 121, .055); }
.application-media { position: relative; align-self: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.application-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.application-media.product-image { display: grid; place-items: center; background: #f7fbfd; }
.application-media.product-image img { position: absolute; inset: 18px; width: calc(100% - 36px); max-width: none; height: calc(100% - 36px); max-height: none; object-fit: contain; }
.application-media > span { position: absolute; z-index: 1; left: 16px; bottom: 16px; padding: 7px 12px; color: #fff; background: rgba(31, 95, 143, .86); border-radius: 999px; font-size: 10px; }
.application-item:hover .application-media img { transform: scale(1.035); }
.application-item:hover .application-media.product-image img { transform: scale(1.015); }
.application-copy { align-self: center; padding: clamp(28px, 4vw, 52px); }
.application-index { color: var(--media-accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.application-copy h3 { margin: 11px 0 14px; font: 600 clamp(21px, 2.1vw, 28px)/1.45 Georgia, "Noto Serif SC", serif; }
.application-copy p { max-width: 760px; margin: 0 0 21px; color: var(--media-muted); font-size: 14px; line-height: 1.9; }
.application-copy a { display: inline-flex; align-items: center; gap: 14px; color: var(--media-accent-deep); font-size: 12px; }
.application-copy a span { transition: transform .2s ease; }
.application-copy a:hover span { transform: translateX(4px); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 24px; }
.video-card { display: block; width: 100%; padding: 0; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
.video-card:focus-visible { outline: 3px solid rgba(38, 145, 196, .45); outline-offset: 6px; border-radius: 10px; }
.video-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--media-blue); }
.video-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 48, 69, .46), rgba(13, 48, 69, 0) 55%); }
.video-cover img { height: 100%; object-fit: cover; transition: transform .55s ease; }
.video-card:hover .video-cover img { transform: scale(1.045); }
.video-play { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 50px; height: 50px; transform: translate(-50%, -50%); background: rgba(255,255,255,.92); border-radius: 50%; box-shadow: 0 8px 22px rgba(16,52,73,.15); transition: transform .25s ease, background .25s ease; }
.video-play::after { content: ""; position: absolute; left: 20px; top: 16px; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 13px solid var(--media-accent-deep); }
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-cover em { position: absolute; z-index: 2; left: 15px; bottom: 13px; color: #fff; font: 500 11px Georgia, serif; font-style: normal; letter-spacing: .08em; }
.video-info { display: block; padding: 17px 2px 0; }
.video-info small { display: block; color: var(--media-accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.video-info strong { display: block; min-height: 52px; margin: 8px 0 9px; font-size: 17px; line-height: 1.55; }
.video-info > span { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--media-muted); font-size: 12px; }
.video-info > span i { color: var(--media-accent); font-style: normal; transition: transform .2s ease; }
.video-card:hover .video-info > span i { transform: translateX(4px); }

.media-cta { padding: 70px 0; color: #fff; background: #245f85; }
.media-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.media-cta__inner > div > span { color: #bfe8ff; font-size: 10px; letter-spacing: .2em; }
.media-cta h2 { margin: 12px 0 0; font: 500 clamp(30px, 3.4vw, 44px)/1.3 Georgia, "Noto Serif SC", serif; }
.media-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-width: 156px; height: 48px; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; font-size: 13px; transition: .2s ease; }
.media-cta a:hover { color: var(--media-accent-deep); background: #fff; }
.media-page .site-footer { color: var(--media-muted); background: #f7fbfd; }
.media-page .footer-brand .logo,
.media-page .footer-col h3 { color: var(--media-ink); }
.media-page .footer-col a:hover { color: var(--media-accent); }
.media-page .footer-bottom { border-color: var(--media-line); }

.media-modal { position: fixed; z-index: 220; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(8, 31, 45, .88); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.media-modal.open { opacity: 1; visibility: visible; }
.media-modal__panel { position: relative; width: min(900px, 100%); overflow: hidden; background: #fff; border-radius: 15px; box-shadow: 0 30px 90px rgba(0,0,0,.3); transform: translateY(12px); transition: transform .25s ease; }
.media-modal.open .media-modal__panel { transform: none; }
.media-modal__visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #081f2d; }
.media-modal__visual video { display: block; width: 100%; height: 100%; object-fit: contain; background: #081f2d; }
.media-modal__copy { padding: 28px 34px 34px; }
.media-modal__copy > span { color: var(--media-accent); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.media-modal__copy h2 { margin: 8px 0 10px; font: 600 28px/1.4 Georgia, "Noto Serif SC", serif; }
.media-modal__copy p { margin: 0; color: var(--media-muted); font-size: 13px; }
.media-modal__close { position: absolute; z-index: 3; right: 14px; top: 14px; width: 40px; height: 40px; padding: 0 0 4px; color: #fff; background: rgba(13,48,69,.64); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
body.modal-open { overflow: hidden; }

@media (max-width: 1060px) {
  .media-page .mobile-panel { color: var(--media-ink); background: var(--media-blue); }
  .media-page .mobile-nav > a,
  .media-page .mobile-nav button { border-color: var(--media-line); }
  .media-page .mobile-sub a { color: var(--media-muted); }
  .media-hero__inner { grid-template-columns: .9fr 1.1fr; gap: 44px; }
  .story-item { grid-template-columns: minmax(240px, 35%) 1fr; gap: 36px; }
  .story-copy { grid-template-columns: 58px 1fr; gap: 20px; }
  .story-copy time { padding-right: 18px; }
}

@media (max-width: 760px) {
  .media-page .site-header,
  .media-page .site-header.scrolled { height: 64px; }
  .media-hero { min-height: auto; padding-top: 64px; }
  .media-hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding-block: 44px 54px; }
  .media-page .breadcrumb { margin-bottom: 26px; }
  .media-hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .media-hero__copy > p { font-size: 14px; }
  .media-hero__media::before { inset: -9px 12px 10px -9px; border-radius: 12px 54px 12px 12px; }
  .media-hero__media img { height: 235px; border-radius: 12px 54px 12px 12px; }
  .media-hero__media figcaption { right: 12px; bottom: 12px; }
  .media-local-nav { top: 63px; }
  .media-local-nav__inner { width: var(--container); min-width: 0; margin-inline: auto; gap: 12px; }
  .media-local-nav__inner > div { height: 56px; gap: 17px; }
  .media-local-nav__inner > span { font-size: 10px; }
  .media-local-nav a { font-size: 12px; }
  .media-local-nav__inner { min-height: 56px; }
  .media-section { padding: 74px 0 84px; scroll-margin-top: 120px; }
  .media-heading { gap: 14px; margin-bottom: 46px; }
  .media-heading > div:nth-child(2) { min-width: 200px; }
  .media-heading h2 { font-size: 35px; }
  .heading-arrows { gap: 3px; }
  .heading-arrows i { width: 12px; height: 12px; }
  .story-item { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .story-media { min-height: 0; aspect-ratio: 16 / 9; }
  .story-copy { grid-template-columns: 48px 1fr; align-items: start; gap: 16px; }
  .story-copy time { padding-right: 13px; }
  .story-copy time strong { font-size: 27px; }
  .story-copy h3 { font-size: 19px; }
  .news-pagination { flex-wrap: wrap; margin-top: 36px; }
  .news-pagination button { min-width: 38px; height: 38px; padding: 0 12px; font-size: 12px; }
  .story-copy p { margin-block: 12px 15px; font-size: 13px; line-height: 1.75; }
  .application-list { gap: 22px; }
  .application-item { grid-template-columns: 1fr; min-height: 0; }
  .application-media { aspect-ratio: 16 / 9; }
  .application-media.product-image img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
  .application-copy { padding: 26px 24px 30px; }
  .application-copy h3 { font-size: 20px; }
  .application-copy p { font-size: 13px; line-height: 1.75; }
  .video-grid { grid-template-columns: 1fr; gap: 34px; }
  .video-info strong { min-height: auto; font-size: 17px; }
  .media-cta { padding: 56px 0; }
  .media-cta__inner { align-items: flex-start; flex-direction: column; }
  .media-modal { padding: 14px; }
  .media-modal__copy { padding: 22px 22px 26px; }
  .media-modal__copy h2 { font-size: 22px; }
}

@media (min-width: 540px) and (max-width: 760px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .media-page .reveal { opacity: 1; transform: none; }
}
