@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

:root {
  --text: #000000;
  --muted: #7d7a86;
  --soft: #faf9fd;
  --soft-2: #f3f0fb;
  --line: #eceaf2;
  --violet: #5750ce;
  --ink-panel: #4e4b55;
  --shadow: 0 14px 34px rgba(64, 52, 104, .08);
  --radius: 8px;
  --container: 1120px;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-sans-mobile: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;

  /* Image sizing */
  --hero-banner-height: clamp(154px, 15vw, 228px);
  --hero-banner-height-mobile: 122px;
  --hero-banner-radius: 12px;
  --hero-banner-radius-mobile: 9px;
  --project-image-radius: 11px;
  --project-image-object-fit: cover;
  --project-p01-card-image-height: 354px;
  --project-p01-image-card-height: clamp(300px, 30vw, 380px);
  --project-p01-hero-width: 100%;
  --project-p01-hero-height: var(--project-p01-image-card-height);
  --project-small-image-size: 220px;
  --project-p02-image-width: 100%;
  --project-p02-image-height: 220px;
  --project-p03-hero-height: 320px;
  --project-small-item-height: clamp(220px, 18vw, 230px);
  --project-small-item-max-height: 230px;
  --project-p01-hero-height-mobile: var(--project-p01-card-image-height-mobile);
  --project-p01-card-image-height-mobile: 300px;
  --project-small-image-size-mobile: 200px;
  --project-small-item-height-mobile: clamp(200px, 52vw, 230px);
  --project-p02-image-width-mobile: 100%;
  --project-p02-image-height-mobile: 220px;
  --project-p03-hero-height-mobile: 220px;
  --project-hero-height-small: var(--project-p01-card-image-height-mobile);
  --project-p02-image-width-small: 100%;
  --project-p02-image-height-small: 240px;
  --project-h3-color: #000000;
  --project-h3-weight: 500;
  --project-h3-line-height: 1.45;
  --project-h3-size: 20px;
  --project-article-h3-margin-bottom: 8px;
  --project-article-role-margin-bottom: 8px;
  --project-article-description-margin-bottom: 0;
  --project-article-cta-margin-top: 8px;
  --project-description-segment-gap: 8px;
  --cms-description-font-size: 16px;
  --cms-description-font-size-900: 16px;
  --cms-description-font-size-860: 15px;
  --cms-description-font-size-640: 15px;
  --cms-description-font-size-420: 15px;
  --cms-description-line-height: 1.65;
  --project-h3-margin-bottom: var(--project-article-h3-margin-bottom);
  --summary-name-font-weight: 600;
  --summary-position-font-weight: 400;
  --summary-text-font-weight: 500;
  --summary-name-font-weight-mobile: 600;
  --summary-position-font-weight-mobile: 500;
  --summary-text-font-weight-mobile: 500;
  --career-body-font-size: 16px;
  --career-body-font-weight: 500;
  --career-body-line-height: 1.45;
  --career-paragraph-margin: 0 0 14px;
  --career-list-padding-left: 2px;
  --career-list-margin-bottom: 10px;
  --career-list-line-height: 1.45;
  --career-list-font-size: 16px;
  --career-list-font-weight: 400;

  /* Project Details spacing */
  --project-detail-header-height: 64px;
  --project-detail-module-padding-top: 55px;
  --project-detail-module-padding-bottom: 20px;
  --project-detail-module-padding-top-mobile: 45px;
  --project-detail-module-padding-bottom-mobile: 20px;
  --project-detail-footer-padding-top: 50px;
  --project-detail-footer-padding-bottom: 70px;
  --project-detail-media-radius: 7px;
  --project-detail-hero-title-font-weight: 700;
  --project-detail-section-title-font-weight: 600;
  --project-detail-copy-font-weight: 400;
  --project-detail-m11-copy-font-weight: 400;
  --project-detail-m12-card-title-font-weight: 700;
  --project-detail-m12-card-copy-font-weight: 400;
  --project-detail-copy-pane-font-weight: 400;
  --project-detail-workflow-title-font-weight: 600;
  --project-detail-workflow-copy-font-weight: 400;
  --project-detail-feature-title-font-weight: 700;
  --project-detail-feature-copy-font-weight: 400;
  --project-detail-eyebrow-font-weight: 600;
  --project-detail-role-font-weight: 700;
  --project-detail-media-caption-font-weight: 600;
  --project-detail-caption-font-weight: 700;
  --project-detail-hero-title-font-weight-mobile: var(--project-detail-hero-title-font-weight);
  --project-detail-section-title-font-weight-mobile: var(--project-detail-section-title-font-weight);
  --project-detail-copy-font-weight-mobile: var(--project-detail-copy-font-weight);
  --project-detail-m11-copy-font-weight-mobile: var(--project-detail-m11-copy-font-weight);
  --project-detail-m12-card-title-font-weight-mobile: var(--project-detail-m12-card-title-font-weight);
  --project-detail-m12-card-copy-font-weight-mobile: var(--project-detail-m12-card-copy-font-weight);
  --project-detail-copy-pane-font-weight-mobile: var(--project-detail-copy-pane-font-weight);
  --project-detail-workflow-title-font-weight-mobile: var(--project-detail-workflow-title-font-weight);
  --project-detail-workflow-copy-font-weight-mobile: var(--project-detail-workflow-copy-font-weight);
  --project-detail-feature-title-font-weight-mobile: var(--project-detail-feature-title-font-weight);
  --project-detail-feature-copy-font-weight-mobile: var(--project-detail-feature-copy-font-weight);
  --project-detail-eyebrow-font-weight-mobile: var(--project-detail-eyebrow-font-weight);
  --project-detail-role-font-weight-mobile: var(--project-detail-role-font-weight);
  --project-detail-media-caption-font-weight-mobile: var(--project-detail-media-caption-font-weight);
  --project-detail-caption-font-weight-mobile: var(--project-detail-caption-font-weight);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fff 0 18%, #fbfaff 38%, #fff 62%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: auto;
  font-synthesis: weight;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.nav-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(236, 234, 242, .72);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  height: var(--project-detail-header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  justify-self: start;
  color: var(--violet);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.site-header .main-nav a {
  color: #716d78;
  font-size: 14px;
  font-weight: 400;
  transition: color .2s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a:focus-visible {
  color: var(--violet);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.social,
.resume-btn,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
}

.social {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f3f2f7;
  color: #000000;
  font-size: 10px;
  font-weight: 800;
}

.resume-btn {
  min-height: 28px;
  padding: 0 13px;
  border-radius: 6px;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(87, 80, 206, .18);
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #f3f2f7;
  color: #000000;
  cursor: pointer;
}

.summary {
  padding: 76px 0 104px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.summary-title h1 {
  margin: 0 0 8px;
  color: #000000;
  font-size: 34px;
  line-height: 1.18;
  font-weight: var(--summary-name-font-weight);
  letter-spacing: 0;
}

.summary-title p {
  margin: 0;
  color: #000000;
  font-size: 23px;
  line-height: 1.25;
  font-weight: var(--summary-position-font-weight);
}

.summary-text {
  max-width: 790px;
  padding-top: 2px;
}

.summary-text p {
  position: relative;
  margin: 0 0 9px;
  padding-left: 24px;
  color: #000000;
  font-size: 16px;
  line-height: 1.65;
  font-weight: var(--summary-text-font-weight);
}

.summary-text p::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(90deg, #77717c 1px, transparent 1px) 0 0 / 4px 100%,
    linear-gradient(#77717c 1px, transparent 1px) 0 0 / 100% 4px;
  opacity: .8;
}

.banner {
  height: var(--hero-banner-height);
  margin-top: 52px;
  border-radius: var(--hero-banner-radius);
  background:
    radial-gradient(ellipse at 12% 44%, rgba(136, 230, 255, .86) 0 7%, transparent 8%),
    radial-gradient(ellipse at 30% 58%, rgba(114, 104, 255, .78) 0 16%, transparent 17%),
    radial-gradient(ellipse at 74% 30%, rgba(120, 220, 235, .72) 0 20%, transparent 21%),
    radial-gradient(ellipse at 88% 70%, rgba(199, 129, 245, .86) 0 18%, transparent 19%),
    linear-gradient(112deg, #2d73ee 0%, #609af0 24%, #89dbd1 47%, #b9d99a 62%, #9b7de7 82%, #704eea 100%);
  box-shadow: 0 12px 28px rgba(86, 92, 180, .12);
}

.banner::before,
.banner::after,
.banner-shape {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.banner::before {
  inset: -38% 52% -40% -16%;
  border: 34px solid rgba(255, 255, 255, .12);
  transform: rotate(-18deg);
}

.banner::after {
  inset: 5% -13% 7% 68%;
  border: 20px solid rgba(255, 255, 255, .16);
  transform: rotate(27deg);
}

.shape-1,
.shape-2,
.shape-3 {
  display: none;
}

.work-history,
.projects {
  scroll-margin-top: 92px;
  padding-bottom: 100px;
}

.work-history h2,
.projects h2 {
  margin: 0 0 42px;
  text-align: center;
  color: #24212a;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
}

.career-list {
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.career {
  overflow: hidden;
  border: 1px solid rgba(235, 232, 243, .9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.career-header {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto 22px;
  align-items: center;
  gap: 8px;
  border: 0;
  background: #fff;
  padding: 16px 22px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.career-header span:first-child,
.career-header span:nth-child(2) {
  font-size: 18px;
  font-weight: 500;
}

.career-header span:first-child::after {
  content: " | ";
  color: #b8b3c0;
  font-weight: 500;
}

.career-header span:nth-child(3) {
  color: #6f6b77;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.career-header b {
  color: #28242d;
  font-size: 18px;
  line-height: 1;
  text-align: right;
}

.career-content {
  padding: 0 28px 28px;
  border-top: 1px solid #f0eef5;
  color: #4a4751;
  font-size: 14px;
  font-weight: 600;
}

.career-content .tags {
  margin: 18px 0 18px;
}

.career-content .tags span {
  background: #f0edff;
  color: #6e66b8;
  font-size: 12px;
  font-weight: 700;
}

.career-content p {
  margin: var(--career-paragraph-margin);
  color: #000000;
  font-size: var(--career-body-font-size);
  line-height: var(--career-body-line-height);
  font-weight: var(--career-body-font-weight);
}

.career-content li {
  margin-bottom: var(--career-list-margin-bottom);
  padding-left: var(--career-list-padding-left);
  color: #000000;
  font-size: var(--career-list-font-size);
  line-height: var(--career-list-line-height);
  font-weight: var(--career-list-font-weight);
}

.career-highlight-title {
  color: var(--violet);
  font-weight: 700;
}

.career-highlight-link {
  text-decoration: none;
}

.career-highlight-link:hover,
.career-highlight-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.projects {
  padding-top: 8px;
}

.projects > .container {
  width: min(var(--container), calc(100% - 96px));
}

.projects-loading,
.cms-empty {
  padding: 34px;
  color: #85818c;
  text-align: center;
}

.cms-project > .cms-project-title {
  margin: 0 0 34px;
  text-align: center;
  color: #111;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
}

.cms-project p,
.cms-project h3,
.cms-project h4 {
  margin-top: 0;
}

.cms-description {
  margin: 0 0 var(--project-article-description-margin-bottom);
  color: #000000;
  font-size: var(--cms-description-font-size);
  line-height: var(--cms-description-line-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.cms-role {
  margin: 0 0 var(--project-article-role-margin-bottom);
  color: #000000;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.cms-project-role {
  margin: -26px 0 34px;
  color: #000000;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.cms-project-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-top: var(--project-article-cta-margin-top);
  color: var(--violet);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: none;
  transform-origin: left center;
  transition: transform .2s ease;
}

.cms-project-cta .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

.cms-project-cta:hover,
.cms-project-cta:focus-visible {
  text-decoration: none;
  transform: scale(1.1);
}

.cms-description-segments {
  display: grid;
  gap: var(--project-description-segment-gap);
}

.cms-description-segment {
  margin: 0;
}

.cms-story h3,
.cms-image-card h3,
.cms-small-item h3,
.cms-p02-item h3,
.cms-p03-card h3,
.cms-generic-card h3 {
  margin-bottom: var(--project-h3-margin-bottom);
  color: var(--project-h3-color);
  font-size: var(--project-h3-size);
  line-height: var(--project-h3-line-height);
  font-weight: var(--project-h3-weight);
}

.cms-image {
  display: block;
  overflow: hidden;
  border-radius: var(--project-image-radius);
  background: #f4f4f8;
}

.cms-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--project-image-object-fit);
}

.cms-p01-hero {
  width: var(--project-p01-hero-width);
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  justify-self: stretch;
  align-self: start;
}

.cms-p01-image-card .cms-image {
  align-self: start;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.cms-p01-image-card .cms-image-card {
  height: auto;
}

.cms-small-item .cms-image {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: var(--project-small-item-max-height);
}

.cms-small-item .atext {
  align-self: stretch;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.cms-p02-image {
  width: var(--project-p02-image-width);
  height: var(--project-p02-image-height);
  align-self: stretch;
  justify-self: stretch;
  object-fit: cover;
}

.cms-p03-hero {
  height: var(--project-p03-hero-height);
}

.cms-project-p03 {
  margin-bottom: 40px;
}

.cms-p03-cards {
  align-content: start;
  align-items: start;
  grid-auto-rows: auto;
}

.cms-p03-card {
  align-self: start;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 24px;
  background: #fafafd;
  border-radius: 11px;
  overflow: visible;
}

.featured-projects-cms .cms-image {
  background:
    radial-gradient(ellipse at 18% 46%, rgba(127, 230, 245, .72) 0 12%, transparent 13%),
    radial-gradient(ellipse at 82% 58%, rgba(226, 122, 238, .68) 0 18%, transparent 19%),
    linear-gradient(128deg, #256fe9 0%, #38c3d7 42%, #d571d9 72%, #6b4fea 100%);
}

.featured-projects-cms .cms-project:nth-child(2n) .cms-image {
  background:
    linear-gradient(32deg, transparent 35%, rgba(17, 224, 225, .38) 36% 41%, transparent 42%),
    linear-gradient(128deg, #0b3c78 0 24%, #0da9d9 25% 49%, #2a28e2 50% 69%, #e51dc2 70% 100%);
}

.featured-projects-cms .cms-project:nth-child(3n) .cms-image {
  background:
    radial-gradient(ellipse at 20% 50%, #ff6fe5 0 13%, transparent 14%),
    radial-gradient(ellipse at 68% 50%, #fff 0 18%, transparent 19%),
    linear-gradient(120deg, #ef32cc, #f999e7 45%, #d77cf1 70%, #862cff);
}

@media (max-width: 1055px) {
  .cms-p01-hero {
    order: 1;
    width: 100%;
  }

  .cms-p01-stories {
    order: 2;
  }

  .cms-p01-image-card .cms-image-card {
    height: auto;
  }
}

@media (max-width: 860px) {
  .cms-description {
    font-size: var(--cms-description-font-size-860);
  }

  .cms-project > .cms-project-title {
    margin-bottom: 26px;
  }

  .cms-p01-hero {
    order: 1;
  }

  .cms-p01-stories {
    order: 2;
  }

  .cms-p02-image {
    order: 1;
  }

  .cms-p02-column-left {
    order: 2;
  }

  .cms-p02-column-right {
    order: 3;
  }

  .cms-p01-hero {
    width: 100%;
  }

  .cms-p01-image-card .cms-image-card {
    height: auto;
  }

  .cms-small-item .cms-image {
    width: 100%;
    min-height: 0;
  }

  .cms-p02-image {
    width: var(--project-p02-image-width-mobile);
    height: var(--project-p02-image-height-mobile);
  }

  .cms-p03-hero {
    height: var(--project-p03-hero-height-mobile);
  }

  .cms-project-p03 {
    margin-bottom: 40px;
  }

  .featured-projects-cms .cms-project-p03 .cms-p03-cards {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .cms-p03-card {
    align-self: start;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow: visible;
  }
}

@media (max-width: 420px) {
  .cms-description {
    font-size: var(--cms-description-font-size-420);
  }

  .cms-p03-hero {
    height: var(--project-hero-height-small);
  }

  .cms-p02-image {
    width: var(--project-p02-image-width-small);
    height: var(--project-p02-image-height-small);
  }
}

.contact {
  padding: 0 0 var(--project-detail-footer-padding-bottom);
}

.project-detail-footer-contact {
  padding-top: var(--project-detail-footer-padding-top);
}

.contact-box {
  width: 100%;
  margin: 0 auto;
  padding: 42px 28px 44px;
  border-radius: 12px;
  background: var(--ink-panel);
  color: #fff;
  text-align: center;
}

.contact-box h2 {
  width: min(760px, 100%);
  margin: 0 auto 20px;
  color: #fff;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 700;
}

.contact-box a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 5px;
  background: #fff;
  color: #716d78;
  font-size: 14px;
  font-weight: 800;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 34px;
  border-top: 1px solid #eceaf2;
  color: #716d78;
  font-size: 12px;
}

footer p {
  margin: 0;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: auto 30px auto;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #716d78;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.language-toggle span {
  min-width: 16px;
  text-align: center;
}

.language-toggle i {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #ebe8f4;
  transition: background .2s ease;
}

.language-toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 4px 10px rgba(87, 80, 206, .22);
  transition: transform .2s ease;
}

.language-toggle.is-en i {
  background: #ddd9f2;
}

.language-toggle.is-en i::after {
  transform: translateX(14px);
}

.language-toggle:not(.is-en) span:first-child,
.language-toggle.is-en span:last-child {
  color: var(--violet);
}

.language-toggle:focus-visible {
  outline: 2px solid rgba(87, 80, 206, .32);
  outline-offset: 4px;
  border-radius: 999px;
}

.language-toggle:disabled {
  cursor: wait;
  opacity: .58;
}

.project-detail-page {
  background: #fff;
  color: var(--text);
}

#projectDetailHeader {
  position: sticky;
  top: 0;
  z-index: 20;
}

#projectDetailHeader .site-header {
  position: static;
}

.project-detail-container {
  width: min(100% - 96px, 1120px);
  margin: 0 auto;
}

.project-detail-hero {
  position: relative;
  min-height: 300px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #24212a;
  color: #fff;
}

.project-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 17, 23, .74), rgba(18, 17, 23, .38));
}

.project-detail-hero-content {
  position: relative;
  z-index: 1;
  padding: 46px 0 54px;
}

.project-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.project-detail-back:hover,
.project-detail-back:focus-visible {
  color: #fff;
  text-decoration: none;
}

.project-detail-hero h1 {
  width: min(880px, 100%);
  margin: 0 0 28px;
  color: #fff;
  font-size: 42px;
  line-height: 1.18;
  font-weight: var(--project-detail-hero-title-font-weight);
}

.project-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 46px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.45;
}

.project-detail-section {
  padding: 56px 0 72px;
}

.project-detail-module {
  padding: var(--project-detail-module-padding-top) 0 var(--project-detail-module-padding-bottom);
  background: #fff;
  color: var(--text);
}

.project-detail-module.theme-brand,
.project-detail-module.theme-dark {
  background:
    radial-gradient(ellipse at 28% 8%, rgba(115, 151, 214, .26) 0 24%, transparent 25%),
    radial-gradient(ellipse at 84% 92%, rgba(126, 157, 212, .24) 0 30%, transparent 31%),
    linear-gradient(135deg, #2f5595, #416fac 58%, #244d8a);
  color: #fff;
}

.project-detail-module.theme-dark {
  background: #24212a;
}

.project-detail-module.layout-narrow .project-detail-container {
  width: min(100% - 96px, 980px);
}

.project-detail-module.layout-wide .project-detail-container {
  width: min(100% - 96px, 1280px);
}

.project-detail-module.project-module-bullet-list .project-detail-container {
  width: min(100% - 96px, 1120px);
}

.project-detail-section h2,
.project-detail-feature h2,
.project-detail-learning h2,
.project-detail-module h2 {
  margin: 0 0 30px;
  text-align: center;
  color: #000000;
  font-size: 24px;
  line-height: 1.35;
  font-weight: var(--project-detail-section-title-font-weight);
}

.project-detail-module.theme-brand h2,
.project-detail-module.theme-dark h2 {
  color: #fff;
}

.project-detail-module h3,
.project-detail-module p {
  text-align: center;
}

.project-module-eyebrow {
  width: 100%;
  margin: 0 0 10px;
  color: #5750CE;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  font-weight: var(--project-detail-eyebrow-font-weight);
  letter-spacing: 0;
}

.project-detail-module.theme-brand .project-module-eyebrow,
.project-detail-module.theme-dark .project-module-eyebrow {
  color: #5750CE;
}

.project-detail-copy {
  display: grid;
  gap: 18px;
  width: 100%;
  margin-bottom: 28px;
}

.project-detail-copy p {
  margin: 0;
  width: 100%;
  color: #000000;
  text-align: left;
  font-size: 18px;
  line-height: 1.8;
  font-weight: var(--project-detail-copy-font-weight);
}

.project-detail-module.theme-brand .project-detail-copy p,
.project-detail-module.theme-dark .project-detail-copy p {
  color: rgba(255, 255, 255, .88);
}

.project-module-media {
  margin: 0;
  overflow: visible;
}

.project-module-media-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--project-detail-media-radius);
  background: #f1f0f6;
}

.project-module-media a,
.project-module-media-frame a {
  display: block;
  width: 100%;
  height: 100%;
}

.project-module-media img,
.project-module-media video,
.project-module-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
  object-fit: contain;
  background: #f1f0f6;
}

.project-module-media img.media--cover {
  object-fit: cover;
}

.project-module-media img.media--contain {
  object-fit: contain;
}

.project-module-media iframe.project-module-video-embed,
.project-module-media video {
  background: #000;
}

.project-module-media video {
  object-fit: contain;
}

.project-module-media iframe:not(.project-module-video-embed) {
  background: #f1f0f6;
}

.project-module-media figcaption {
  margin-top: 12px;
  text-align: center;
  color: #000000;
  font-size: 14px;
  line-height: 1.45;
  font-weight: var(--project-detail-media-caption-font-weight);
}

.project-detail-module.theme-brand .project-module-media figcaption,
.project-detail-module.theme-dark .project-module-media figcaption {
  color: rgba(255, 255, 255, .86);
}

.project-module-media-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
  gap: 42px;
  align-items: center;
}

.project-module-m11 .project-detail-container {
  display: grid;
  justify-items: center;
}

.project-module-m11 .project-detail-copy {
  width: min(100%, 1180px);
  margin: 0 0 56px;
}

.project-detail-copy.project-module-m11-copy p {
  margin: 0;
  width: 100%;
  color: #000000;
  text-align: left;
  font-size: 18px;
  line-height: 1.8;
  font-weight: var(--project-detail-m11-copy-font-weight);
}

.project-module-m11-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  width: min(100%, 1180px);
}

.project-module-m11-grid .project-module-media img {
  border-radius: var(--project-detail-media-radius);
}

.project-module-m11-grid .project-module-media iframe,
.project-module-m11-grid .project-module-media video {
  border-radius: var(--project-detail-media-radius);
}

.project-module-m12 .project-detail-container {
  width: min(100% - 64px, 1120px);
}

.project-module-m12 .project-detail-copy p {
  max-width: none;
  text-align: left;
}

.project-module-m12-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 40px;
  margin-top: 42px;
}

.project-module-m12-grid.is-card-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.project-module-m12-grid.is-card-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-module-m12-card {
  min-height: 0;
  height: auto;
  padding: 42px 40px 38px;
  border-radius: 16px;
  background: #f7f7f9;
}

.project-module-m12-card-eyebrow {
  margin: 0 0 14px;
  color: #5750ce;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  font-weight: var(--project-detail-eyebrow-font-weight);
}

.project-module-m12-card h3 {
  margin: 0 0 26px;
  color: #000000;
  font-size: 22px;
  line-height: 1.55;
  font-weight: var(--project-detail-m12-card-title-font-weight);
}

.project-module-m12-card-copy {
  display: grid;
  gap: 12px;
}

.project-module-m12-card-copy p {
  margin: 0;
  color: #000000;
  text-align: left;
  font-size: 16px;
  line-height: 1.55;
  font-weight: var(--project-detail-m12-card-copy-font-weight);
}

.project-module-copy-pane p {
  margin: 0;
  width: 100%;
  color: #000000;
  text-align: left;
  font-size: 18px;
  line-height: 1.8;
  font-weight: var(--project-detail-copy-pane-font-weight);
}

.project-detail-module.theme-brand .project-module-copy-pane p,
.project-detail-module.theme-dark .project-module-copy-pane p {
  color: rgba(255, 255, 255, .88);
}

.project-detail-module .project-module-eyebrow,
.project-detail-module.theme-brand .project-module-eyebrow,
.project-detail-module.theme-dark .project-module-eyebrow,
.project-module-copy-pane .project-module-eyebrow {
  width: 100%;
  margin: 0 0 10px;
  color: #5750CE;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  font-weight: var(--project-detail-eyebrow-font-weight);
  letter-spacing: 0;
}

.project-module-card-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-module-card {
  padding: 22px;
  border-radius: 8px;
  background: #f8f7fb;
  color: #000000;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
}

.project-detail-module.theme-brand .project-module-card,
.project-detail-module.theme-dark .project-module-card {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
}

.project-workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 34px;
  align-items: start;
}

.project-module-bullet-list .project-workflow-steps {
  width: 100%;
}

.project-module-bullet-list .project-workflow-copy {
  margin: 0 auto 30px;
}

.project-module-bullet-list .project-workflow-copy p {
  text-align: left;
}

.project-workflow-step {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.project-workflow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 76px;
  right: -24px;
  color: #2a2a32;
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}

.project-workflow-visual {
  display: grid;
  place-items: center;
  width: min(150px, 100%);
  height: auto;
  margin-bottom: 22px;
  overflow: visible;
}

.project-workflow-visual img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.project-workflow-step h3 {
  margin: 0;
  color: #000000;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  font-weight: var(--project-detail-workflow-title-font-weight);
}

.project-workflow-rule {
  display: block;
  width: 58px;
  height: 3px;
  margin: 22px 0 24px;
  border-radius: 999px;
  background: #2f7cf2;
}

.project-workflow-step p {
  width: min(100%, 190px);
  margin: 0;
  color: #000000;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  font-weight: var(--project-detail-workflow-copy-font-weight);
}

.project-detail-module.theme-brand .project-workflow-step h3,
.project-detail-module.theme-dark .project-workflow-step h3,
.project-detail-module.theme-brand .project-workflow-step p,
.project-detail-module.theme-dark .project-workflow-step p {
  color: rgba(255, 255, 255, .9);
}

.project-detail-module.theme-brand .project-workflow-step::after,
.project-detail-module.theme-dark .project-workflow-step::after {
  color: rgba(255, 255, 255, .72);
}

.project-detail-link-card {
  display: grid;
  grid-template-columns: 270px 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(100%, 1010px);
  min-height: 126px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
  color: #000000;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(64, 52, 104, .06);
}

.project-detail-link-thumb {
  display: block;
  overflow: visible;
  height: auto;
  min-height: 0;
  max-height: none;
  border-radius: var(--project-detail-media-radius);
  background: #eceaf2;
}

.project-detail-link-thumb img,
.project-detail-gallery img,
.project-detail-learning-gallery img,
.project-detail-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.project-detail-link-thumb img.media--cover,
.project-detail-gallery img.media--cover,
.project-detail-learning-gallery img.media--cover,
.project-detail-feature-image img.media--cover {
  object-fit: cover;
}

.project-detail-link-thumb img.media--contain,
.project-detail-gallery img.media--contain,
.project-detail-learning-gallery img.media--contain,
.project-detail-feature-image img.media--contain {
  object-fit: contain;
}

.project-detail-link-card b {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  line-height: 1.45;
}

.project-detail-link-card small {
  display: block;
  color: #6f6b77;
  font-size: 13px;
  line-height: 1.55;
}

.project-detail-feature,
.project-detail-learning {
  padding: 62px 0 72px;
  background:
    radial-gradient(ellipse at 28% 8%, rgba(115, 151, 214, .26) 0 24%, transparent 25%),
    radial-gradient(ellipse at 84% 92%, rgba(126, 157, 212, .24) 0 30%, transparent 31%),
    linear-gradient(135deg, #2f5595, #416fac 58%, #244d8a);
  color: #fff;
}

.project-detail-feature h2,
.project-detail-learning h2 {
  color: #fff;
}

.project-detail-feature-grid {
  display: grid;
  gap: 36px;
}

.project-detail-feature-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
  gap: 42px;
  align-items: center;
}

.project-detail-feature-image {
  overflow: visible;
  height: auto;
  min-height: 0;
  max-height: none;
  border-radius: var(--project-detail-media-radius);
  background: rgba(255, 255, 255, .12);
}

.project-detail-feature-copy h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
  font-weight: var(--project-detail-feature-title-font-weight);
}

.project-detail-feature-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  font-weight: var(--project-detail-feature-copy-font-weight);
}

.project-detail-role {
  margin-bottom: 12px !important;
  font-weight: var(--project-detail-role-font-weight);
}

.project-detail-workflow {
  margin: 0 0 54px;
  padding-left: 22px;
}

.project-detail-workflow li {
  margin-bottom: 8px;
  color: #000000;
  font-size: 14px;
  line-height: 1.65;
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 86px;
}

.project-detail-gallery figure {
  margin: 0;
}

.project-detail-gallery img {
  border-radius: var(--project-detail-media-radius);
  background: #f1f0f6;
}

.project-detail-gallery figcaption {
  margin-bottom: 16px;
  color: #000000;
  font-size: 14px;
  line-height: 1.45;
  font-weight: var(--project-detail-caption-font-weight);
}

.project-detail-module.layout-3-column .project-detail-gallery,
.project-detail-module.layout-3-column .project-module-card-grid-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-detail-module.layout-4-column .project-detail-gallery,
.project-detail-module.layout-4-column .project-module-card-grid-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-detail-learning-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(860px, 100%);
}

.project-detail-learning-gallery img {
  border: 8px solid rgba(30, 28, 34, .68);
  border-radius: var(--project-detail-media-radius);
  background: rgba(255, 255, 255, .12);
}

.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 20%, rgba(90, 211, 224, .22), transparent 30%),
    radial-gradient(circle at 82% 24%, rgba(216, 123, 226, .20), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.login-panel {
  width: min(100%, 430px);
  padding: 34px 32px 30px;
  border: 1px solid rgba(235, 232, 243, .92);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 42px rgba(64, 52, 104, .10);
  backdrop-filter: blur(16px);
}

.login-eyebrow {
  margin: 0 0 8px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
}

.login-panel h1 {
  margin: 0 0 8px;
  color: #000000;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
}

.login-copy {
  margin: 0 0 26px;
  color: #6f6b77;
  font-size: 13px;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form label {
  color: #000000;
  font-size: 12px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  height: 44px;
  border: 1px solid #ddd9e8;
  border-radius: 8px;
  background: #fff;
  color: #000000;
  padding: 0 13px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.login-form input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(87, 80, 206, .12);
}

.login-form button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(87, 80, 206, .20);
}

.login-form button:disabled {
  cursor: progress;
  opacity: .72;
}

.login-message {
  min-height: 20px;
  margin: 0;
  color: #5750CE;
  font-size: 12px;
}

@media (max-width: 900px) {
  body {
    font-family: var(--font-sans-mobile);
  }

  .cms-description {
    font-size: var(--cms-description-font-size-900);
  }

  .container,
  .projects > .container {
    width: min(100% - 48px, var(--container));
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    position: fixed;
    inset: 64px 0 auto;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(40, 34, 64, .08);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
    font-size: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .summary {
    padding: 58px 0 82px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .summary-text {
    max-width: none;
  }

  .summary-title h1 {
    font-weight: var(--summary-name-font-weight-mobile);
  }

  .summary-title p {
    font-weight: var(--summary-position-font-weight-mobile);
  }

  .summary-text p {
    font-weight: var(--summary-text-font-weight-mobile);
  }

  .banner {
    margin-top: 36px;
  }

  .career-header {
    grid-template-columns: auto 1fr 22px;
  }

  .career-header span:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .career-header b {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .cms-description {
    font-size: var(--cms-description-font-size-640);
  }

  .container,
  .projects > .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    height: 58px;
    gap: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .social {
    display: none;
  }

  .resume-btn {
    min-height: 30px;
    padding: 0 11px;
  }

  .main-nav {
    top: 58px;
  }

  .summary {
    padding: 42px 0 70px;
  }

  .summary-text p {
    padding-left: 20px;
  }

  .banner {
    height: var(--hero-banner-height-mobile);
    margin-top: 28px;
    border-radius: var(--hero-banner-radius-mobile);
  }

  .work-history,
  .projects {
    padding-bottom: 72px;
  }

  .work-history h2,
  .projects h2 {
    margin-bottom: 28px;
  }

  .career-list {
    gap: 10px;
  }

  .career-header {
    min-height: 52px;
    padding: 14px 15px;
  }

  .career-content {
    padding: 0 16px 20px;
  }

  .contact {
    padding-bottom: 46px;
  }

  .contact-box {
    padding: 32px 18px 34px;
  }

  footer .container {
    gap: 12px;
    padding-bottom: 26px;
  }

  .project-detail-container {
    width: min(100% - 32px, 1120px);
  }

  .project-detail-hero {
    min-height: 300px;
  }

  .project-detail-hero-content {
    padding: 34px 0 42px;
  }

  .project-detail-hero h1 {
    font-size: 30px;
    font-weight: var(--project-detail-hero-title-font-weight-mobile);
  }

  .project-detail-section h2,
  .project-detail-feature h2,
  .project-detail-learning h2,
  .project-detail-module h2 {
    font-weight: var(--project-detail-section-title-font-weight-mobile);
  }

  .project-detail-copy p {
    font-weight: var(--project-detail-copy-font-weight-mobile);
  }

  .project-detail-copy.project-module-m11-copy p {
    font-weight: var(--project-detail-m11-copy-font-weight-mobile);
  }

  .project-module-copy-pane p {
    font-weight: var(--project-detail-copy-pane-font-weight-mobile);
  }

  .project-module-eyebrow,
  .project-detail-module .project-module-eyebrow,
  .project-detail-module.theme-brand .project-module-eyebrow,
  .project-detail-module.theme-dark .project-module-eyebrow,
  .project-module-copy-pane .project-module-eyebrow,
  .project-module-m12-card-eyebrow {
    font-weight: var(--project-detail-eyebrow-font-weight-mobile);
  }

  .project-module-media figcaption {
    font-weight: var(--project-detail-media-caption-font-weight-mobile);
  }

  .project-module-m12-card h3 {
    font-weight: var(--project-detail-m12-card-title-font-weight-mobile);
  }

  .project-module-m12-card-copy p {
    font-weight: var(--project-detail-m12-card-copy-font-weight-mobile);
  }

  .project-workflow-step h3 {
    font-weight: var(--project-detail-workflow-title-font-weight-mobile);
  }

  .project-workflow-step p {
    font-weight: var(--project-detail-workflow-copy-font-weight-mobile);
  }

  .project-detail-feature-copy h3 {
    font-weight: var(--project-detail-feature-title-font-weight-mobile);
  }

  .project-detail-feature-copy p {
    font-weight: var(--project-detail-feature-copy-font-weight-mobile);
  }

  .project-detail-role {
    font-weight: var(--project-detail-role-font-weight-mobile);
  }

  .project-detail-gallery figcaption {
    font-weight: var(--project-detail-caption-font-weight-mobile);
  }

  .project-detail-meta {
    gap: 10px 18px;
  }

  .project-detail-section,
  .project-detail-feature,
  .project-detail-learning,
  .project-detail-module {
    padding: var(--project-detail-module-padding-top-mobile) 0 var(--project-detail-module-padding-bottom-mobile);
  }

  .project-detail-module.layout-narrow .project-detail-container,
  .project-detail-module.layout-wide .project-detail-container {
    width: min(100% - 32px, 1120px);
  }

  .project-detail-module.project-module-bullet-list .project-detail-container {
    width: min(100% - 32px, 1120px);
  }

  .project-detail-link-card {
    grid-template-columns: 1fr;
  }

  .project-detail-link-thumb {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .project-detail-feature-item,
  .project-module-media-text-grid,
  .project-workflow-steps,
  .project-module-m11-grid,
  .project-module-m12-grid,
  .project-detail-gallery,
  .project-detail-learning-gallery,
  .project-module-card-grid-list,
  .project-detail-module.layout-3-column .project-detail-gallery,
  .project-detail-module.layout-3-column .project-module-card-grid-list,
  .project-detail-module.layout-4-column .project-detail-gallery,
  .project-detail-module.layout-4-column .project-module-card-grid-list {
    grid-template-columns: 1fr;
  }

  .project-detail-feature-image,
  .project-module-media img,
  .project-module-media-pane .project-module-media img,
  .project-module-m11-grid .project-module-media img,
  .project-detail-gallery img,
  .project-detail-learning-gallery img {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .project-module-media video,
  .project-module-media iframe.project-module-video-embed,
  .project-module-m11-grid .project-module-media video,
  .project-module-m11-grid .project-module-media iframe.project-module-video-embed {
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .project-workflow-steps {
    gap: 38px;
  }

  .project-workflow-step:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -32px;
    font-size: 28px;
  }

  .project-workflow-visual {
    width: min(150px, 100%);
    height: auto;
  }

  .project-workflow-step h3 {
    font-size: 22px;
  }

  .project-module-m12 .project-detail-container {
    width: min(100% - 32px, 1120px);
  }

  .project-module-m12-grid {
    gap: 18px;
    margin-top: 28px;
  }

  .project-module-m12-card {
    min-height: 0;
    height: auto;
    padding: 28px 24px;
  }
}

/* Cloudflare Pages prototype: homepage CMS layout originally lived inline in Index.html. */
.banner {
  position: relative;
  overflow: hidden;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--project-image-object-fit);
  border-radius: inherit;
  z-index: 2;
}

.banner.has-image .banner-shape {
  display: none;
}

.career.active .career-content {
  display: block;
}

.career:not(.active) .career-content {
  display: none;
}

.career-content ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.career-content .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.career-content .tags span {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
}

.featured-projects-cms {
  width: 100%;
  margin: 0 auto;
}

.cms-project {
  margin-bottom: 86px;
}

.cms-project-p04 {
  margin-bottom: 0;
}

.cms-link {
  color: inherit;
  text-decoration: none;
}

.cms-p01-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 34px;
}

.cms-p01-stories {
  display: flex;
  flex-direction: column;
}

.cms-story {
  position: relative;
  padding: 0 0 18px 0;
  border-bottom: 1px solid #ededf1;
}

.cms-story:nth-child(2) {
  border-bottom: 0;
}

.cms-story + .cms-story {
  padding-top: 18px;
}

.cms-story .cms-description {
  width: 100%;
  margin-bottom: var(--project-article-description-margin-bottom);
}

.cms-p01-image-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  height: auto;
  max-height: none;
  margin-bottom: 70px;
  align-items: start;
  overflow: visible;
}

.cms-image-card {
  position: relative;
  padding: 30px 24px;
  background: #fafafd;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cms-small-grid,
.cms-p04-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  grid-auto-rows: var(--project-small-item-height);
  align-items: stretch;
}

.cms-small-grid > .cms-small-item,
.cms-p04-grid > .cms-small-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
  max-height: var(--project-small-item-max-height);
  align-items: stretch;
  overflow: hidden;
}

.cms-p02-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.cms-p02-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cms-p03-hero {
  margin-bottom: 22px;
}

.cms-p03-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.cms-generic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cms-generic-card {
  padding: 24px;
  background: #fafafd;
  border-radius: 11px;
}

@media (max-width: 1055px) {
  .cms-p01-top,
  .cms-p01-image-card {
    grid-template-columns: 1fr;
  }

  .cms-p01-image-card {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 860px) {
  .cms-p01-top,
  .cms-p01-image-card,
  .cms-p02-grid,
  .cms-p03-cards,
  .cms-p04-grid,
  .cms-small-grid,
  .cms-generic-grid {
    grid-template-columns: 1fr;
  }

  .cms-small-grid,
  .cms-p04-grid {
    grid-auto-rows: auto;
  }

  .cms-small-grid > .cms-small-item,
  .cms-p04-grid > .cms-small-item {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
}
