@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap");

:root {
  --page-bg: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #f8f9fa;
  --text: #202124;
  --muted: #5f6368;
  --line: #e2e5ea;
  --primary: #1a73e8;
  --shadow-sm: 0 1px 3px rgba(60, 64, 67, 0.08), 0 1px 2px rgba(60, 64, 67, 0.06);
  --shadow-md: 0 8px 24px rgba(60, 64, 67, 0.12), 0 2px 8px rgba(60, 64, 67, 0.08);
  --shadow-lg: 0 18px 48px rgba(60, 64, 67, 0.16), 0 6px 18px rgba(60, 64, 67, 0.10);
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 70px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 34rem),
    linear-gradient(180deg, #f8f9fa 0%, var(--page-bg) 46%, #eef1f5 100%);
  color: var(--text);
  font-family: "Oswald", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.page-shell {
  width: min(var(--content), calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 52px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h1,
.section-heading h2 {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.section-heading h1 {
  font-size: clamp(36px, 8vw, 72px);
}

.section-heading h2 {
  font-size: clamp(26px, 5vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(26, 115, 232, 0.14);
  border-radius: 999px;
  background: rgba(232, 240, 254, 0.72);
  color: #1967d2;
  font-size: 13px;
  font-weight: 600;
}

.horizontal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.centered-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.stories-section,
.news-section,
.video-section,
.services-section,
.concept-section {
  margin-bottom: 54px;
}

.stories-rail,
.news-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 4px 2px 16px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.stories-rail::-webkit-scrollbar,
.news-rail::-webkit-scrollbar {
  display: none;
}

.story-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card.is-loading {
  background:
    linear-gradient(110deg, #eef1f5 8%, #f8f9fa 18%, #eef1f5 33%);
  background-size: 200% 100%;
  animation: shimmer 1.1s linear infinite;
}

.story-card.is-loading::after {
  display: none;
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 20%, rgba(0, 0, 0, 0.68) 100%);
}

.story-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 22px;
  color: #fff;
}

.story-overlay span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.story-overlay strong {
  font-size: 22px;
  line-height: 1.08;
}

@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

.panel-block {
  padding: 22px;
  border: 1px solid rgba(226, 229, 234, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.carousel-actions {
  display: inline-flex;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  background: #eef3fe;
  box-shadow: var(--shadow-md);
}

.news-rail {
  grid-auto-columns: 82%;
}

.news-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.news-card.is-loading {
  min-height: 338px;
  background:
    linear-gradient(110deg, #eef1f5 8%, #f8f9fa 18%, #eef1f5 33%);
  background-size: 200% 100%;
  animation: shimmer 1.1s linear infinite;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8eaed;
}

.news-body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.news-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.news-body h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.news-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.video-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #dfe3ea;
  box-shadow: var(--shadow-lg);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  place-items: center;
  gap: 14px;
  aspect-ratio: 1 / 1;
  padding: 18px;
  border: 1px solid rgba(226, 229, 234, 0.72);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 115, 232, 0.24);
  box-shadow: var(--shadow-md);
}

.service-card img {
  width: min(42%, 96px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 8px 16px rgba(60, 64, 67, 0.12));
}

.service-card span {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.concept-scroll {
  max-height: 300px;
  overflow: auto;
  padding: 4px 14px 4px 0;
  color: #3c4043;
  line-height: 1.72;
  scrollbar-color: #cfd4dc transparent;
  scrollbar-width: thin;
}

.concept-scroll p {
  margin: 0 0 16px;
}

.concept-scroll::-webkit-scrollbar {
  width: 8px;
}

.concept-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(232, 234, 237, 0.52);
}

.concept-scroll::-webkit-scrollbar-thumb {
  border: 2px solid rgba(248, 249, 250, 0.9);
  border-radius: 999px;
  background: #c7ccd4;
}

.concept-scroll::-webkit-scrollbar-thumb:hover {
  background: #aeb5c0;
}

.site-footer {
  background: #e9ecef;
  border-top: 1px solid #d9dde3;
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.story-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.story-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 33, 36, 0.58);
  backdrop-filter: blur(10px);
}

.story-modal-dialog {
  position: relative;
  width: min(430px, calc(100vw - 28px));
  height: min(820px, calc(100vh - 42px));
  overflow: hidden;
  border-radius: 28px;
  background: #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}

.story-modal.is-open .story-modal-dialog {
  transform: translateY(0) scale(1);
}

.story-modal-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.story-modal-open,
.story-modal-close {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #202124;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.story-modal-open {
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
}

.story-modal-close {
  width: 38px;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.story-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #111;
}

body.story-modal-lock {
  overflow: hidden;
}

.footer-inner {
  display: grid;
  gap: 16px;
  width: min(var(--content), calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-inner nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--primary);
}

@media (min-width: 640px) {
  .page-shell {
    padding-top: 34px;
  }

  .stories-rail {
    grid-auto-columns: 220px;
  }

  .news-rail {
    grid-auto-columns: 340px;
  }

  .services-grid {
    gap: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .stories-rail {
    grid-auto-columns: 240px;
  }

  .panel-block {
    padding: 28px;
  }

  .services-grid {
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .horizontal-heading {
    align-items: start;
    flex-direction: column;
  }

  .story-card {
    min-height: 330px;
  }

  .service-card {
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
  }

  .service-card span {
    font-size: 12px;
  }
}
:root {
