:root {
  --cyan: #3df0e0;
  --teal: #0aaebb;
  --logo-teal: #18adba;
  --text-teal: #057f8b;
  --navy: #16273e;
  --mint: #b1eae3;
  --pink: #c90751;
  --white: #ffffff;
  --page: #f5faf9;
  --panel: #ffffff;
  --panel-soft: #edf8f6;
  --line: rgba(10, 174, 187, .28);
  --soft: rgba(177, 234, 227, .34);
  --text-muted: rgba(22, 39, 62, .72);
  --shadow: 0 16px 36px rgba(22, 39, 62, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--page);
}

button { font: inherit; }
a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  background: var(--logo-teal);
  border-bottom: 3px solid var(--cyan);
  box-shadow: 0 8px 22px rgba(22, 39, 62, .12);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-right: auto;
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  width: 136px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.tab {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 8px;
  padding: .55rem .8rem;
  color: var(--navy);
  background: rgba(255, 255, 255, .16);
  cursor: pointer;
  font-weight: 650;
  text-decoration: none;
}

.language-switch {
  display: flex;
  gap: .25rem;
  padding: .2rem;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}

.language-switch button {
  min-width: 40px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  font-weight: 650;
}

.language-switch button[aria-pressed="true"] {
  color: var(--white);
  background: var(--navy);
}

.tab.active,
.tab:hover {
  color: var(--white);
  background: var(--navy);
}

main {
  width: min(calc(100% - 2rem), 1460px);
  margin: 0 auto;
  padding: 1.8rem 0 5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 1.35rem;
  min-height: 240px;
  align-items: stretch;
  margin-bottom: 2.6rem;
}

.strategy-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 2.4rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.strategy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .78), rgba(177, 234, 227, .52)),
    url("../assets/images/international-engineering-robotics-lab.jpg") center / cover;
  z-index: 0;
}

.strategy-hero > * {
  position: relative;
  z-index: 1;
}

.strategy-hero h2 {
  max-width: 980px;
  margin: .4rem 0 1rem;
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 1.03;
}

.strategy-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.48;
}

.hero-copy,
.hero-card,
.panel,
.profile-panel,
.detail-panel,
.week-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 39, 62, .96), rgba(22, 39, 62, .34)),
    url("../assets/images/international-engineering-robotics-lab.jpg") center / cover;
  z-index: -1;
}

.hero-copy h1 {
  max-width: 680px;
  margin: .35rem 0 .75rem;
  font-size: clamp(2.7rem, 5.8vw, 5.4rem);
  line-height: .94;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  max-width: 720px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.42;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--mint);
  color: var(--navy);
}

.hero-card strong {
  display: block;
  margin: .45rem 0 .85rem;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1;
}

.hero-card span {
  line-height: 1.42;
}

.eyebrow {
  margin: 0;
  color: var(--text-teal);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.hero-card .eyebrow,
.mint .eyebrow {
  color: var(--pink);
}

.view { display: none; }
.view.active { display: block; }

.section-head {
  max-width: 780px;
  margin: 0 0 1.65rem;
}

.view:not(#strategy) {
  padding-top: 2.6rem;
}

.view:not(#strategy) .section-head {
  max-width: 1100px;
  margin-bottom: 3rem;
}

.section-head h2 {
  margin: .6rem 0 0;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.08;
}

.view:not(#strategy) .section-head h2 {
  max-width: 980px;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.08;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.55rem;
}

.pillar-card {
  min-height: 330px;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.pillar-number,
.post-type {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 1.55rem;
  border-radius: 6px;
  color: var(--navy);
  background: var(--cyan);
  font-weight: 600;
}

.pillar-card h3,
.panel h3,
.week-card h3 {
  margin: 0 0 1.1rem;
  font-size: 1.38rem;
  line-height: 1.18;
  font-weight: 500;
}

.pillar-card p,
.panel li,
.detail-panel p,
.week-card li {
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}

.claim-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.claim-list span,
.rhythm span {
  padding: .62rem .75rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text-teal);
  font-weight: 500;
  line-height: 1.4;
}

.split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.1rem;
  margin-top: 2.4rem;
}

.panel {
  padding: 2.1rem;
}

.panel p,
.panel li {
  line-height: 1.55;
}

.format-panel {
  background: var(--mint);
}

.format-preview {
  position: relative;
  width: min(150px, 60%);
  aspect-ratio: 3 / 4;
  margin-top: 1rem;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: rgba(61, 240, 224, .08);
}

.format-preview::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(22, 39, 62, .34);
  border-radius: 6px;
}

.format-preview span {
  position: absolute;
  left: .7rem;
  bottom: .65rem;
  color: var(--navy);
  font-weight: 600;
}

.format-preview i {
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  height: 10px;
  background: var(--teal);
}

.panel.mint {
  color: var(--navy);
  background: var(--mint);
}

.panel.mint h3,
.panel.mint p,
.panel.mint li,
.panel.mint .eyebrow {
  color: var(--navy);
}

.panel.mint .format-preview {
  border-color: rgba(22, 39, 62, .42);
  background: rgba(255, 255, 255, .24);
}

.panel.mint .format-preview i {
  background: var(--teal);
}

.panel.mint .rhythm span {
  color: var(--navy);
  border-color: rgba(22, 39, 62, .24);
  background: rgba(255, 255, 255, .34);
}

.rhythm {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.rhythm span {
  color: var(--navy);
  border-color: rgba(22, 39, 62, .28);
  background: rgba(255, 255, 255, .42);
}

.claim-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.claim-tile {
  min-height: 165px;
  display: flex;
  align-items: flex-end;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.claim-tile:nth-child(5n + 2) { background: var(--teal); color: var(--white); }
.claim-tile:nth-child(5n + 3) { background: var(--mint); color: var(--navy); }
.claim-tile:nth-child(5n + 4) { background: rgba(201, 7, 81, .92); }

.claim-tile strong {
  font-size: clamp(1.02rem, 1.55vw, 1.42rem);
  line-height: 1.08;
}

.feed-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 340px;
  gap: 1rem;
  align-items: start;
}

.channel-showcase {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(330px, 430px) minmax(260px, 340px);
  gap: 2rem;
  align-items: start;
  justify-content: center;
}

.profile-panel,
.detail-panel {
  position: sticky;
  top: 92px;
  padding: 1rem;
}

.channel-brief,
.integrated-phone {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.channel-brief {
  position: sticky;
  top: 92px;
  padding: 1.7rem;
  background: var(--panel);
}

.channel-brief h2 {
  margin: .6rem 0 1.2rem;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.channel-brief p {
  margin: 0 0 1.45rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.4rem;
}

.format-chips span {
  padding: .38rem .5rem;
  border-radius: 6px;
  color: var(--navy);
  background: var(--cyan);
  font-weight: 650;
  font-size: .82rem;
}

.open-mockup {
  display: block;
  margin-top: 1rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-teal);
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.open-mockup:hover {
  color: var(--navy);
  background: var(--cyan);
}

.profile-panel img {
  width: min(180px, 100%);
  border-radius: 7px;
  margin-bottom: .8rem;
}

.profile-panel h2 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
}

.profile-panel p {
  margin: 0;
  color: var(--text-muted);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
  margin: 1rem 0;
}

.profile-stats span {
  padding: .65rem .45rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
}

.profile-stats strong {
  display: block;
  color: var(--text-teal);
  font-size: 1.25rem;
}

.filters {
  display: grid;
  gap: .8rem;
}

.filter-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: .75rem .85rem;
  color: var(--navy);
  background: var(--panel-soft);
  text-align: left;
  cursor: pointer;
  font-weight: 550;
}

.filter-button.active,
.filter-button:hover {
  color: var(--navy);
  background: var(--cyan);
}

.integrated-phone {
  overflow: hidden;
  background: var(--white);
  color: #111820;
}

.mockup-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  height: 50px;
  padding: 0 10px;
  background: var(--white);
  border-bottom: 1px solid #edf0f3;
}

.mockup-topbar strong {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
}

.mockup-topbar button,
.mockup-tabs button,
.mockup-actions button {
  font: inherit;
  cursor: pointer;
}

.mockup-topbar button,
.mockup-tabs button {
  border: 0;
  background: transparent;
  font-weight: 650;
}

.mockup-topbar button {
  font-size: 1.45rem;
}

.mockup-profile {
  padding: .85rem .85rem .65rem;
}

.mockup-profile-row {
  display: grid;
  grid-template-columns: 88px repeat(3, 1fr);
  gap: .5rem;
  align-items: center;
}

.mockup-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(var(--pink), var(--cyan), var(--teal), var(--pink));
}

.mockup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--teal);
}

.mockup-stat {
  text-align: center;
  line-height: 1.1;
}

.mockup-stat strong {
  display: block;
  font-size: 1rem;
}

.mockup-stat span,
.mockup-bio,
.mockup-highlights p {
  font-size: .74rem;
}

.mockup-bio {
  margin-top: .65rem;
  line-height: 1.32;
}

.mockup-bio strong,
.mockup-bio p {
  display: block;
  margin: 0 0 .18rem;
}

.mockup-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  margin-top: .65rem;
}

.mockup-actions button {
  min-height: 30px;
  border: 0;
  border-radius: 7px;
  background: #eef1f4;
  color: #121820;
  font-weight: 550;
  font-size: .78rem;
}

.mockup-actions button:first-child {
  color: var(--white);
  background: var(--teal);
}

.mockup-highlights {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  padding: .4rem .85rem .8rem;
  scrollbar-width: none;
}

.mockup-highlights::-webkit-scrollbar {
  display: none;
}

.mockup-highlights article {
  flex: 0 0 58px;
  text-align: center;
}

.mockup-highlights span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto .25rem;
  border: 2px solid var(--mint);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  font-size: .64rem;
  font-weight: 650;
}

.mockup-highlights p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}

.mockup-tabs button {
  height: 38px;
  color: #8a929b;
  font-size: 1rem;
}

.mockup-tabs .active {
  color: #111820;
  border-bottom: 2px solid #111820;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--white);
}

.mockup-post {
  position: relative;
  aspect-ratio: 3 / 4;
  min-width: 0;
  overflow: hidden;
  border: 0;
  background: var(--panel-soft);
  cursor: pointer;
}

.mockup-post::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22, 39, 62, .04), rgba(22, 39, 62, .58));
}

.mockup-post img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: .45rem;
  right: .5rem;
  z-index: 3;
  color: var(--white);
  font-size: .9rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}

.mockup-post.text-only {
  background: linear-gradient(135deg, var(--panel-soft), var(--mint));
}

.mockup-post.text-only::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 7px;
  background: var(--teal);
}

.mockup-post.fact {
  background: var(--mint);
}

.mockup-post.fact::before {
  background: linear-gradient(180deg, rgba(177, 234, 227, .02), rgba(177, 234, 227, .88));
}

.mockup-post.cta {
  background: linear-gradient(135deg, var(--navy), var(--pink));
}

.mockup-post.active {
  outline: 3px solid var(--pink);
  outline-offset: -3px;
}

.mockup-post-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 9%;
}

.mockup-post-copy small {
  margin-bottom: .3rem;
  color: var(--text-teal);
  font-size: clamp(.42rem, 1.9vw, .58rem);
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.mockup-post-copy strong {
  color: var(--navy);
  font-size: clamp(.88rem, 3.3vw, 1.25rem);
  line-height: .98;
}

.mockup-post:not(.fact):not(.text-only):not(.cta) .mockup-post-copy strong {
  color: var(--white);
}

.mockup-post.cta .mockup-post-copy strong,
.mockup-post.cta .mockup-post-copy small {
  color: var(--white);
}

.mockup-post.fact .mockup-post-copy small,
.mockup-post.fact .mockup-post-copy strong {
  color: var(--navy);
}

.showcase-detail {
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.feed-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.grid-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.post-card {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  cursor: pointer;
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 39, 62, .06), rgba(22, 39, 62, .58));
  z-index: 1;
}

.post-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
}

.post-card.text-only {
  background: linear-gradient(135deg, var(--panel-soft), var(--mint));
}

.post-card.text-only::after {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 100%;
  height: 12px;
  background: var(--teal);
  z-index: 0;
}

.post-card.fact {
  background: var(--mint);
  color: var(--navy);
}

.post-card.fact::before {
  background: linear-gradient(180deg, rgba(177, 234, 227, .1), rgba(177, 234, 227, .92));
}

.post-card.cta {
  background: linear-gradient(135deg, var(--navy), var(--pink));
}

.post-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: clamp(.85rem, 7%, 1.35rem);
}

.post-card .eyebrow {
  margin-bottom: .5rem;
}

.post-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1;
}

.post-card p {
  margin: .55rem 0 0;
  color: var(--text-muted);
  font-size: .92rem;
}

.post-card.fact p,
.post-card.fact .eyebrow {
  color: var(--navy);
}

.post-card.active {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

.detail-panel h2 {
  margin: .6rem 0 1.2rem;
  font-size: 1.8rem;
  line-height: 1;
}

.detail-panel ul {
  margin: 1rem 0 1.45rem;
  padding-left: 1.1rem;
}

.detail-panel li {
  margin-bottom: .65rem;
  line-height: 1.45;
}

.caption-copy {
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  line-height: 1.48;
}

.detail-panel .meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1.3rem 0 1.6rem;
}

.detail-panel .meta span {
  padding: .35rem .5rem;
  border-radius: 6px;
  color: var(--navy);
  background: var(--cyan);
  font-weight: 650;
  font-size: .82rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.week-card h3 {
  color: var(--text-teal);
}

.week-card {
  padding: 1.55rem;
}

.week-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

@media (max-width: 1180px) {
  .channel-showcase,
  .feed-layout {
    grid-template-columns: minmax(240px, 320px) minmax(330px, 430px);
  }

  .detail-panel,
  .showcase-detail {
    position: static;
    grid-column: 1 / -1;
    max-height: none;
  }

  .pillar-grid,
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .claim-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar,
  .hero,
  .split,
  .channel-showcase,
  .feed-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .brand {
    margin-right: 0;
  }

  .profile-panel {
    position: static;
  }

  .channel-brief {
    position: static;
  }

  .integrated-phone {
    width: min(100%, 430px);
    justify-self: center;
  }

  .grid-preview,
  .pillar-grid,
  .calendar-grid,
  .claim-wall {
    grid-template-columns: 1fr;
  }

  .post-card {
    min-height: 0;
  }
}
