:root {
  --ink: #252b31;
  --muted: #66717a;
  --accent: #0da5e7;
  --header-height: 90px;
  --content-width: 1180px;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  margin: 0;
  max-width: 100%;
  color: var(--ink);
  background: #fff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: #111;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #fff;
  background: transparent;
  transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open,
.site-header--solid {
  color: #123c50;
  background: rgb(255, 255, 255, .97);
  box-shadow: 0 2px 12px rgb(0, 0, 0, .12);
}

.header-inner {
  display: flex;
  align-items: center;
  width: calc(100% - 48px);
  min-height: var(--header-height);
  margin: 0 auto;
}

.brand {
  margin-right: auto;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.global-navigation { display: flex; align-items: center; gap: 38px; }

.global-navigation a {
  position: relative;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}

.global-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.global-navigation a:hover::after,
.global-navigation a:focus-visible::after,
.global-navigation .is-current::after,
.global-navigation [aria-current="page"]::after { transform: scaleX(1); }

.menu-button { display: none; }

.hero {
  position: relative;
  display: grid;
  min-height: 625px;
  color: #fff;
  background: #15191c url("./assets/hero-chalkboard.jpg") 50% 50% / cover no-repeat;
  place-items: center;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(4, 9, 11, .46), rgb(8, 11, 13, .22));
}

.hero-content {
  width: min(calc(100% - 40px), 850px);
  padding: calc(var(--header-height) + 44px) 0 114px;
  text-align: center;
  text-shadow: 0 2px 10px rgb(0, 0, 0, .32);
}

.hero h1 {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 38px);
  margin: 0 0 20px;
  font-size: clamp(44px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
}

.hero-lead {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 400;
  line-height: 1.45;
}

.hero-description {
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
}

.solutions {
  position: relative;
  z-index: 2;
  width: calc(100% - 48px);
  margin: -50px auto 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  box-shadow: 0 5px 18px rgb(45, 50, 54, .24);
}

.solution-card {
  min-width: 0;
  padding: 45px 25px 42px;
  text-align: center;
}

.solution-card:not(:last-child) { border-right: 1px solid #ddd; }

.solution-icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 25px;
  fill: #333;
}

.solution-card h2 {
  margin: 0 0 17px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .08em;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin: 17px 0 0;
  padding: 0;
  color: #66717a;
  font-size: 12px;
  line-height: 1.45;
  list-style: none;
}

.site-footer {
  padding: 80px 24px 30px;
  color: #69757d;
  font-size: 13px;
  text-align: center;
}

.page-hero {
  padding: 190px 24px 95px;
  color: #fff;
  background:
    linear-gradient(105deg, rgb(8, 16, 21, .9), rgb(17, 38, 48, .66)),
    url("./assets/hero-chalkboard.jpg") 50% 42% / cover no-repeat;
}

.page-hero__inner {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.content-shell {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
}

.article-shell {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.18;
}

.page-hero .eyebrow,
.article-number {
  margin: 0 0 10px;
  color: #a6dcf4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.page-hero__lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgb(255, 255, 255, .82);
  font-size: clamp(16px, 2vw, 20px);
}

.content-section { padding: 80px 0 30px; }
.concept-content { padding-top: 90px; }
.concept-content .content-shell { width: min(calc(100% - 48px), 1080px); }

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111820;
  box-shadow: none;
}

.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111820;
  cursor: pointer;
}

.video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-poster:focus-visible { outline: 4px solid #fff; outline-offset: -6px; }

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  border-radius: 13px;
  background: #f00;
  transform: translate(-50%, -50%);
}

.video-play-icon::after {
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #fff;
  content: "";
  transform: translate(-50%, -50%);
}

.works-section { padding-top: 72px; }
.works-section .content-shell { width: calc(100% - 48px); max-width: none; }
.works-content { columns: 1; }
.works-content h4 { margin: 0 0 22px; color: #333; font-size: clamp(32px, 3.2vw, 42px); font-weight: 300; }
.works-content p { margin: 0 0 24px; color: #7a7f82; font-size: 16px; line-height: 1.65; }

.articles-section { padding-top: 90px; }
.articles-shell { width: min(calc(100% - 96px), 1140px); margin: 0 auto; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; max-width: 835px; margin: 0; }

.article-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 10px 28px rgb(17, 38, 48, .07);
}

.article-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #edf2f4;
}

.article-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.article-card__image:hover img { transform: scale(1.025); }
.article-card__body { padding: 34px; }
.article-card__meta { margin: 0 0 14px; color: #3f5e6d; font-size: 13px; line-height: 2; }
.article-card h2 { margin: 0 0 16px; font-size: 23px; line-height: 1.45; }
.article-card h2 a { text-decoration: none; }
.article-card__body > p:not(.article-card__meta) { overflow: hidden; margin: 0; color: #5f6d75; text-overflow: ellipsis; white-space: nowrap; }
.read-more { display: block; margin-top: 30px; padding-top: 15px; border-top: 1px solid #e2e7e9; color: #159bd3; font-size: 17px; text-align: right; text-decoration: none; }

.article-header { padding: 170px 24px 70px; color: #fff; background: #123c50; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 46px; color: rgb(255,255,255,.68); font-size: 13px; }
.breadcrumbs a { color: inherit; }
.article-header h1 { max-width: 900px; margin: 0 0 22px; font-size: clamp(32px, 5vw, 55px); line-height: 1.32; }
.article-header time { color: rgb(255,255,255,.7); }
.article-body { padding: 90px 0 30px; }
.article-page .article-content { padding: 30px; background: #fff; box-shadow: 0 7px 30px rgb(28, 70, 88, .12); }
.article-byline { margin: 0 0 22px; color: #3f5e6d; font-size: 13px; }
.article-content { color: #36454e; font-size: 16px; }
.article-content > * { max-width: 100%; }
.article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 { margin: 2.2em 0 .8em; color: #163d50; line-height: 1.4; }
.article-content h2 { font-size: 30px; }
.article-page .article-content > h2:first-of-type { margin-top: .2em; color: #333; font-size: clamp(38px, 4.5vw, 56px); font-weight: 300; }
.article-content h3 { font-size: 25px; }
.article-content h4 { font-size: 21px; }
.article-content p, .article-content li { line-height: 1.95; overflow-wrap: anywhere; }
.article-content img { display: block; width: auto; max-width: 100%; height: auto; margin: 30px auto; }
.article-content figure { margin: 30px 0; }
.article-content figcaption { color: #70808a; font-size: 13px; text-align: center; }
.article-content pre { overflow-x: auto; padding: 22px; border-radius: 4px; color: #e8f1f5; background: #15252e; font-size: 13px; line-height: 1.7; }
.article-content code { padding: .14em .35em; border-radius: 3px; background: #edf3f5; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
.article-content pre code { padding: 0; color: inherit; background: transparent; }
.article-content blockquote { margin: 30px 0; padding: 5px 0 5px 24px; border-left: 4px solid #87cce9; color: #56666f; }
.article-content table { display: block; overflow-x: auto; width: max-content; max-width: 100%; margin: 30px 0; border-collapse: collapse; white-space: nowrap; }
.article-content th, .article-content td { padding: 9px 12px; border: 1px solid #cfd9de; text-align: right; }
.article-content th { background: #eef4f6; }
.article-content mjx-container[display="true"] { display: block; overflow-x: auto; overflow-y: hidden; width: 100%; max-width: 100%; padding: 4px 0 10px; box-sizing: border-box; }
.article-content mjx-container { overflow-x: auto; overflow-y: hidden; max-width: 100%; }
.article-content a { color: #087eae; overflow-wrap: anywhere; }
.article-content hr { margin: 45px 0; border: 0; border-top: 1px solid #dce4e8; }
.article-content.works-content h4 { color: #333; font-size: clamp(32px, 3.2vw, 42px); font-weight: 300; }
.article-content.works-content p { color: #7a7f82; font-size: 16px; line-height: 1.65; }

.article-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 60px; padding-top: 30px; border-top: 1px solid #d8e1e5; }
.article-adjacent a { display: grid; gap: 5px; color: #163d50; text-decoration: none; }
.article-adjacent a.next { text-align: right; }
.article-adjacent span { color: #71828b; font-size: 12px; }
.back-to-list { margin: 45px 0 0; text-align: center; }
.back-to-list a { display: inline-block; padding: 12px 24px; border: 1px solid #163d50; color: #163d50; text-decoration: none; }

@media (max-width: 980px) {
  :root { --header-height: 72px; }

  .header-inner { width: calc(100% - 32px); }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 10px;
    color: inherit;
    border: 0;
    background: transparent;
    cursor: pointer;
    place-content: center;
    gap: 5px;
  }

  .menu-button span {
    display: block;
    width: 24px;
    height: 3px;
    background: currentcolor;
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .global-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    gap: 0;
    padding: 8px 24px 18px;
    color: #fff;
    background: #222b34;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .global-navigation.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .global-navigation a { padding: 13px 12px; border-bottom: 1px solid #46515c; }

}

@media (max-width: 767px) {
  .brand { max-width: calc(100vw - 96px); white-space: normal; }

  .hero {
    min-height: 570px;
    background-position: 55% 50%;
  }

  .hero-content { padding: calc(var(--header-height) + 34px) 0 80px; }
  .hero h1 { gap: 18px; font-size: clamp(38px, 11vw, 48px); }
  .hero-lead { font-size: clamp(28px, 8vw, 37px); line-height: 1.4; }
  .hero-description { font-size: 17px; }
  .desktop-only { display: none; }

  .solutions { width: calc(100% - 30px); margin-top: -35px; }
  .solutions-grid { grid-template-columns: 1fr; }

  .solution-card,
  .solution-card:nth-child(2),
  .solution-card:nth-last-child(-n + 2) {
    padding: 38px 22px 36px;
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }

  .solution-card:last-child { border-bottom: 0; }
  .site-footer { padding-top: 55px; }
  .page-hero { padding: 145px 20px 70px; }
  .page-hero h1 { font-size: clamp(38px, 10vw, 48px); }
  .content-section { padding: 50px 0 10px; }

  .concept-content .content-shell,
  .works-section .content-shell,
  .articles-shell { width: calc(100% - 40px); }
  .works-content { columns: 1; }
  .works-content h4 { font-size: 30px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-card__body { padding: 26px 22px; }
  .article-header { padding: 130px 20px 48px; }
  .breadcrumbs { margin-bottom: 30px; }
  .article-body { padding-top: 50px; }
  .article-page .article-content { width: calc(100% - 30px); padding: 24px 20px; }
  .article-content h2 { font-size: 26px; }
  .article-content h3 { font-size: 22px; }
  .article-adjacent { grid-template-columns: 1fr; padding-right: 20px; padding-left: 20px; }
  .article-adjacent a.next { text-align: left; }
  .back-to-list { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
