:root {
  color-scheme: light;
  --paper: #f7f9fc;
  --paper-strong: #ffffff;
  --ink: #11131a;
  --muted: #5c6575;
  --line: #dfe7ef;
  --cyan: #22bde8;
  --cyan-deep: #069ac6;
  --pink: #ff77a8;
  --pink-soft: #ffe3ed;
  --mint: #6ee7d8;
  --sun: #ffd66b;
  --shadow: 0 20px 50px rgba(18, 38, 63, 0.11);
  --header-height: 76px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(34, 189, 232, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 119, 168, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans TC", "Microsoft JhengHei", "PingFang HK", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

html[lang="zh-CN"] body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Heiti SC", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(16px, 3vw, 34px);
  background: rgba(247, 249, 252, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 32px rgba(18, 38, 63, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img,
.site-footer img {
  width: auto;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 32px rgba(23, 54, 88, 0.08);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--cyan);
  color: white;
  outline: none;
}

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

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, 44px);
  min-height: 46px;
  padding: 4px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 10px 24px rgba(23, 54, 88, 0.08);
}

.language-switch button {
  min-width: 40px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch button.is-active {
  background: var(--cyan);
  color: white;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  padding: 0 20px;
  background: var(--cyan);
  color: white;
  box-shadow: 0 12px 24px rgba(34, 189, 232, 0.24);
}

.button {
  padding: 0 24px;
}

.button::after,
.header-cta::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--cyan);
  color: white;
  box-shadow: 0 14px 30px rgba(34, 189, 232, 0.24);
}

.button-secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: white;
  box-shadow: 0 10px 24px rgba(23, 54, 88, 0.08);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) max(20px, calc((100vw - 1180px) / 2));
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.hero {
  min-height: auto;
  padding-top: calc(var(--header-height) + 18px);
  padding-bottom: 0;
  display: grid;
  align-content: start;
  gap: clamp(16px, 2.8vw, 28px);
  overflow: hidden;
}

.hero::before,
.about::before,
.talents::before {
  content: "innoneer.TV";
  position: absolute;
  left: -3vw;
  top: 12%;
  z-index: -1;
  color: rgba(17, 19, 26, 0.04);
  font-size: clamp(5.2rem, 16vw, 15rem);
  font-weight: 1000;
  line-height: 0.8;
  white-space: nowrap;
}

.hero-media {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(250px, 24vw, 330px);
  gap: 8px;
}

.hero-tile {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(17, 19, 26, 0.12);
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-large {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
}

.hero-tile:nth-child(2) {
  grid-column: 7 / span 3;
  grid-row: 1;
}

.hero-tile:nth-child(3) {
  grid-column: 10 / span 3;
  grid-row: 1;
}

.tile-wide {
  grid-column: 7 / span 4;
  grid-row: 2;
}

.tile-tall {
  grid-column: 11 / span 2;
  grid-row: 2;
}

.hero-copy {
  order: -1;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 14px;
  justify-items: start;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--cyan-deep);
  font-size: 0.8rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.hero-logo-title {
  width: min(760px, 100%);
  margin: 0;
  line-height: 1;
}

.hero-logo-title img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-subtitle {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.statement-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 22px 20px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.statement-band p {
  width: var(--container);
  margin: 0 auto;
  font-size: clamp(1.1rem, 3vw, 2.6rem);
  font-weight: 900;
}

.marquee {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border-block: 1px solid var(--line);
}

.marquee-cyan {
  background: var(--cyan);
  color: white;
  border: 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span {
  flex: 0 0 auto;
  padding: 12px 24px;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 1000;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading {
  position: relative;
  width: var(--container);
  margin: 0 auto clamp(34px, 5vw, 56px);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 1000;
  text-transform: uppercase;
}

.section-heading span {
  position: absolute;
  left: 0;
  bottom: -0.3em;
  z-index: -1;
  max-width: 100%;
  overflow: hidden;
  color: rgba(17, 19, 26, 0.05);
  font-size: clamp(3.8rem, 13vw, 12rem);
  font-weight: 1000;
  line-height: 0.8;
  white-space: nowrap;
}

.about {
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(34, 189, 232, 0.09) 46% 52%, transparent 52%),
    var(--paper);
}

.about-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 18px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 750;
}

.about-copy p {
  margin: 0;
}

.about-visual {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.goal-strip {
  width: var(--container);
  margin: clamp(28px, 5vw, 56px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
}

.goal-item {
  min-height: 150px;
  padding: 26px;
  border-right: 2px solid var(--ink);
}

.goal-item:last-child {
  border-right: 0;
}

.goal-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--pink);
  font-size: 1.7rem;
  line-height: 1;
}

.goal-item p {
  margin: 0;
  font-weight: 800;
}

.services {
  background: var(--paper-strong);
}

.service-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: 8px 8px 0 var(--ink);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 12px 0 var(--cyan);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  font-weight: 1000;
}

.service-card h3,
.technology-card h3,
.project-card h3,
.news-card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.16;
}

.service-card p,
.technology-card p,
.project-card p,
.news-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.technology {
  background:
    linear-gradient(180deg, rgba(34, 189, 232, 0.12), transparent 300px),
    var(--paper);
}

.technology-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.technology-card {
  display: grid;
  min-height: 420px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: 8px 8px 0 var(--cyan);
}

.technology-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

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

.technology-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.talents {
  background: var(--paper);
}

.talent-list {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.talent-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  min-height: 520px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.talent-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.talent-card:nth-child(even) .talent-visual {
  order: 2;
}

.talent-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-soft), white 48%, rgba(34, 189, 232, 0.2));
}

.talent-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-card[data-tone="transparent"] .talent-visual img {
  object-fit: contain;
  object-position: center bottom;
  padding: 16px 12px 0;
}

.talent-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(26px, 5vw, 58px);
}

.talent-unit {
  width: fit-content;
  padding: 8px 14px;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan-deep);
  font-weight: 950;
}

.talent-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.talent-copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-weight: 700;
}

.talent-links,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.talent-links a,
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.projects {
  background:
    linear-gradient(180deg, rgba(255, 119, 168, 0.12), transparent 320px),
    white;
}

.project-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(18, 38, 63, 0.1);
}

.project-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.project-tag,
.news-tag {
  color: var(--cyan-deep);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.news {
  background: var(--paper);
}

.news-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
}

.news-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 260px;
  padding: 22px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(18, 38, 63, 0.08);
}

.news-card:first-child {
  min-height: 360px;
  background: var(--ink);
  color: white;
}

.news-card:first-child p,
.news-card:first-child .news-tag {
  color: white;
}

.news-more {
  width: fit-content;
  margin: 26px auto 0;
}

.contact {
  padding-top: 72px;
  background: var(--ink);
  color: white;
}

.contact-panel {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 189, 232, 0.22), transparent 36%),
    linear-gradient(315deg, rgba(255, 119, 168, 0.28), transparent 42%),
    #151a24;
}

.contact-panel h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px max(20px, calc((100vw - 1180px) / 2));
  background: #0b0d12;
  color: white;
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 16px;
    right: 16px;
    display: none;
    justify-self: stretch;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border-radius: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .header-actions {
    justify-self: end;
  }

  .hero {
    padding-top: calc(var(--header-height) + 36px);
  }

  .hero-media {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    height: clamp(300px, 36vw, 380px);
  }

  .tile-large {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

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

  .hero-tile:nth-child(3) {
    grid-column: 3 / span 2;
    grid-row: 2;
  }

  .tile-wide,
  .tile-tall {
    grid-row: 3;
  }

  .tile-wide {
    grid-column: 1 / span 2;
  }

  .tile-tall {
    grid-column: 3 / span 2;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technology-grid,
  .project-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    height: 34px;
    width: auto;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }

  .language-switch {
    grid-template-columns: repeat(3, 1fr);
    width: min(210px, 58vw);
  }

  .header-cta {
    min-width: 112px;
  }

  .hero {
    min-height: auto;
    padding-top: 156px;
  }

  .hero-media {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: clamp(108px, 31vw, 170px);
    height: auto;
  }

  .hero-tile,
  .hero-tile:nth-child(2),
  .hero-tile:nth-child(3),
  .tile-large,
  .tile-wide,
  .tile-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-tile:first-child {
    grid-column: span 2;
  }

  .hero::before {
    top: 150px;
    font-size: clamp(4.4rem, 25vw, 7rem);
  }

  .statement-band p {
    text-align: left;
  }

  .section-heading span {
    white-space: normal;
  }

  .about-grid,
  .talent-card,
  .talent-card:nth-child(even),
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .talent-card:nth-child(even) .talent-visual {
    order: 0;
  }

  .goal-strip,
  .service-grid,
  .technology-grid,
  .project-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .goal-item {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .goal-item:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 240px;
  }

  .talent-card {
    min-height: auto;
  }

  .talent-visual {
    min-height: 360px;
  }
}

@media (max-width: 480px) {
  .section-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy,
  .about-grid,
  .goal-strip,
  .service-grid,
  .technology-grid,
  .talent-list,
  .project-grid,
  .news-grid,
  .contact-panel,
  .section-heading {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .talent-copy {
    padding: 24px;
  }

  .hero {
    padding-top: 150px;
    gap: 18px;
  }

  .hero-logo-title {
    width: min(360px, 100%);
  }

  .hero-subtitle {
    font-size: 1.06rem;
    line-height: 1.42;
  }

  .hero-media {
    grid-auto-rows: clamp(104px, 30vw, 156px);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
