:root {
  --ink: #17211f;
  --muted: #64716d;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: rgba(23, 33, 31, 0.12);
  --accent: #2d6a58;
  --accent-strong: #0d4f43;
  --gold: #d49b42;
  --coral: #c7654f;
  --shadow: 0 22px 60px rgba(18, 30, 28, 0.16);
  font-family: "LINE Seed TW", "LINE Seed Sans TW", "LINE Seed Sans TC", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.solid {
  background: rgba(251, 250, 246, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(20, 28, 25, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #17211f;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./img/backgroupd_2.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 22, 19, 0.88), rgba(10, 22, 19, 0.45) 52%, rgba(10, 22, 19, 0.16)),
    linear-gradient(0deg, rgba(10, 22, 19, 0.88), rgba(10, 22, 19, 0.02) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  padding: 0 clamp(22px, 7vw, 88px) 11vh;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 11vw, 142px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.35;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.minimal-home {
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
}

.minimal-home main {
  flex: 1;
}

.silent-home {
  display: flex;
  justify-content: center;
  background: #000;
}

.kv-frame {
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 750;
  background-image: url("./img/kv_pc.png");
  background-position: top center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.coming-section {
  min-height: clamp(96px, 15vh, 160px);
  display: grid;
  place-items: center;
  background: #000;
}

.coming-soon {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 10px 20px 14px;
  color: #fff;
  font-size: clamp(28px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 0 18px rgba(20, 125, 255, 0.5);
}

.coming-soon::before,
.coming-soon::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.coming-soon::before {
  left: 20px;
  right: 20px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #147dff 18%, #48b7ff 52%, #147dff 84%, transparent);
  box-shadow: 0 0 14px rgba(20, 125, 255, 0.92);
  animation: comingUnderline 5.8s ease-in-out infinite;
}

.coming-soon::after {
  top: 8px;
  left: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(72, 183, 255, 0.98), transparent);
  box-shadow: 0 0 16px rgba(20, 125, 255, 0.86);
  animation: comingSweep 5.8s ease-in-out infinite;
}

@keyframes comingUnderline {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: scaleX(0);
  }

  64%,
  76% {
    opacity: 1;
    transform: scaleX(1);
  }

  82% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes comingSweep {
  0%,
  54%,
  100% {
    opacity: 0;
    transform: translateX(-54px);
  }

  60% {
    opacity: 1;
  }

  78% {
    opacity: 1;
    transform: translateX(calc(100% + 54px));
  }

  84% {
    opacity: 0;
    transform: translateX(calc(100% + 54px));
  }
}

.home-logo {
  position: fixed;
  top: clamp(18px, 3vw, 34px);
  left: clamp(18px, 3vw, 34px);
  z-index: 10;
  display: block;
  width: clamp(46px, 5vw, 62px);
  height: clamp(46px, 5vw, 62px);
}

.home-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.home-logo:hover img {
  box-shadow: 0 0 0 1px rgba(20, 125, 255, 0.72), 0 0 26px rgba(20, 125, 255, 0.5);
  transform: translateY(-1px);
}

.home-nav {
  position: fixed;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08), inset 0 0 18px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.home-nav a {
  position: relative;
  overflow: hidden;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, text-shadow 180ms ease;
}

.home-nav a::before,
.home-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  pointer-events: none;
  opacity: 0;
}

.home-nav a::before {
  bottom: 7px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #147dff 18%, #48b7ff 52%, #147dff 84%, transparent);
  box-shadow: 0 0 12px rgba(20, 125, 255, 0.9);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease, opacity 180ms ease;
}

.home-nav a::after {
  top: 8px;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 183, 255, 0.95), transparent);
  transform: translateX(-36px);
  transition: transform 360ms ease, opacity 180ms ease;
}

.home-nav a:hover {
  background: rgba(20, 125, 255, 0.12);
  color: #eafdff;
  text-shadow: 0 0 12px rgba(20, 125, 255, 0.76);
}

.home-nav a:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.home-nav a:hover::after {
  opacity: 1;
  transform: translateX(calc(100% + 18px));
}

.home-footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px 22px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}

.minimal-hero {
  min-height: calc(100vh - 78px);
}

.minimal-hero-content {
  width: min(900px, 100%);
  padding-bottom: 15vh;
}

.simple-nav {
  gap: 20px;
}

.minimal-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.minimal-social a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.minimal-footer {
  background: var(--paper);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #1e1710;
}

.button.primary.dark {
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

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

.section,
.section-band {
  padding: clamp(72px, 10vw, 124px) 0;
}

.section-band {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

p {
  font-size: 17px;
}

.intro-grid p:last-child {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head.compact {
  max-width: 620px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.focus-card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--coral);
  font-weight: 900;
}

.focus-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.split-section {
  padding-top: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

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

.visual-panel img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
}

.content-panel {
  padding: 12px 0;
}

.steps {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}

.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.step span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
}

.notes {
  background: #eef3ef;
}

.note-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.note-list a {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px 22px;
  background: #eef3ef;
  font-size: 20px;
  font-weight: 800;
}

.note-list a:hover {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.contact-box {
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-box p {
  margin-top: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent-strong);
  font-weight: 850;
}

.social-links,
.profile-links,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links {
  margin-top: 22px;
}

.social-links a,
.profile-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 850;
}

.social-links a:hover,
.profile-links a:hover {
  background: #eef3ef;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  font-weight: 800;
}

.about-page {
  background: var(--paper);
}

.about-hero {
  padding: 150px 0 86px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 118px);
  line-height: 0.94;
  letter-spacing: 0;
}

.about-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.34;
  font-weight: 720;
}

.profile-card {
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-label {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-card h2 {
  font-size: 32px;
}

.profile-links {
  margin-top: 26px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 7vw, 92px);
}

.story-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 19px;
}

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

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

.credentials-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.credentials-grid p {
  color: var(--muted);
}

.philosophy {
  max-width: 900px;
}

.timeline-grid,
.other-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
}

.career-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.career-item {
  padding: 24px;
  background: var(--white);
}

.career-item span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
}

.career-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.highlight-list {
  display: grid;
  gap: 12px;
}

.highlight-list p {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 820;
}

.principle-list {
  display: grid;
  gap: 1px;
  margin: 36px 0 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle-list p {
  margin: 0;
  padding: 18px 20px;
  background: var(--white);
  font-size: 21px;
  font-weight: 850;
}

.policy-page {
  background: var(--paper);
}

.policy-main {
  padding: 130px 20px 80px;
}

.policy-content {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 64px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.policy-content h1 {
  margin: 0 0 10px;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1;
}

.policy-content section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  font-size: 25px;
}

.policy-content p {
  color: var(--muted);
}

.policy-content a {
  color: var(--accent-strong);
  font-weight: 800;
}

.muted,
.policy-note {
  color: var(--muted);
}

.policy-note {
  margin-top: 36px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
}

@media (max-width: 920px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .split-grid,
  .contact-grid,
  .about-hero-grid,
  .story-grid,
  .timeline-grid,
  .other-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid,
  .credentials-grid.experience-grid {
    grid-template-columns: 1fr;
  }

  .visual-panel img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .silent-home {
    display: block;
  }

  .kv-frame {
    max-width: none;
    aspect-ratio: 1000 / 900;
    background-image: url("./img/kv_mb.png");
    background-size: 100% auto;
  }

  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    color: inherit;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    display: none;
    width: min(280px, calc(100vw - 40px));
    padding: 14px;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav.simple-nav {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    gap: 12px;
    font-size: 13px;
  }

  .site-nav.simple-nav a {
    padding: 0;
  }

  .desktop-only {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding: 0 20px 72px;
  }

  .hero-copy {
    font-size: 21px;
  }

  .button {
    width: 100%;
  }

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

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

  .card-number {
    margin-bottom: 34px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
