:root {
  color-scheme: light;
  --canvas: #f7f4ec;
  --surface: #ffffff;
  --blue: #063f81;
  --blue-deep: #052f66;
  --blue-bright: #0a4f9b;
  --ink: #092f60;
  --body: #364f68;
  --muted: #637487;
  --yellow: #ffcf00;
  --red: #c9272d;
  --green: #06c755;
  --line: #d4dfe8;
  --white: #ffffff;
  --font: "IBM Plex Sans", "Noto Sans TC", sans-serif;
  --container: 1180px;
  --header-height: 70px;
  --shadow: 0 14px 32px rgba(5, 47, 102, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.035em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

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

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

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(6, 63, 129, 0.98);
  color: var(--white);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand strong {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand span {
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  height: 100%;
  align-items: stretch;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  min-width: 54px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

/* Hero */

.hero {
  position: relative;
  min-height: 830px;
  overflow: hidden;
  padding-top: var(--header-height);
  background: var(--canvas);
}

.hero-blueprint,
.hero-harbor {
  position: absolute;
  inset: 0;
}

.hero-blueprint {
  background-image: url("assets/blueprint-paper.webp");
  background-position: center top;
  background-size: cover;
  opacity: 0.62;
}

.hero-harbor {
  inset: auto 0 0;
  height: 235px;
  background-image: url("assets/harbor-blue.webp");
  background-position: center 61%;
  background-size: cover;
  opacity: 0.92;
}

.hero-stage {
  position: relative;
  min-height: 760px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(57%, 650px);
  padding-top: clamp(4.2rem, 7vw, 6.8rem);
}

.campaign-slogan {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding-bottom: 0.38rem;
  border-bottom: 5px solid var(--yellow);
  color: var(--blue);
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.campaign-slogan span {
  color: var(--red);
}

.hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(6.8rem, 11.2vw, 10.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.015em;
}

.hero-lead {
  margin: 2rem 0 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.hero-lead span {
  position: relative;
  white-space: nowrap;
}

.hero-lead span::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 5px;
  background: var(--red);
  content: "";
  transform: rotate(-1.6deg);
}

.hero-portrait {
  position: absolute;
  z-index: 4;
  right: clamp(-4rem, -3vw, -1.5rem);
  bottom: -1px;
  width: min(56vw, 700px);
  height: 760px;
  margin: 0;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 18px 20px rgba(5, 47, 102, 0.22));
}

/* Story */

.story-section {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: var(--white);
}

.story-image {
  min-height: 620px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.story-copy {
  display: flex;
  max-width: 680px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 6vw, 6rem);
}

.section-kicker {
  margin: 0 0 0.5rem;
  color: #7290ac;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.story-copy h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
}

.title-rule {
  width: min(100%, 430px);
  height: 5px;
  margin: 0.7rem 0 1.45rem;
  background: var(--yellow);
}

.story-copy h3 {
  margin: 0 0 1.2rem;
  color: var(--blue);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.55;
}

.story-copy > p:not(.section-kicker) {
  max-width: 38rem;
  margin: 0 0 0.9rem;
  color: var(--body);
}

.story-belief {
  margin-top: 1rem !important;
  color: var(--blue) !important;
  font-size: 1.05rem;
  font-weight: 700;
}

.story-belief strong {
  color: var(--blue);
  font-size: 1.2rem;
}

/* Policies */

.policy-section {
  padding: clamp(5rem, 8vw, 7.8rem) 0;
  background-color: var(--canvas);
  background-image: url("assets/blueprint-paper.webp");
  background-position: center;
  background-size: cover;
}

.center-heading {
  display: grid;
  grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.8rem;
}

.center-heading span {
  height: 3px;
  background: var(--yellow);
}

.center-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

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

.policy-card {
  min-height: 470px;
  padding: 2.25rem clamp(1.6rem, 2.8vw, 2.6rem);
  border: 1px solid rgba(6, 63, 129, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(5, 47, 102, 0.07);
}

.policy-icon {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.policy-icon svg {
  width: 50px;
  height: 50px;
  stroke-width: 1.8;
}

.policy-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.policy-card > p {
  margin: 0.65rem 0 1.25rem;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.policy-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #334c65;
}

.policy-card li + li {
  margin-top: 0.55rem;
}

.policy-card li::marker {
  color: var(--blue);
}

/* Method */

.method-section {
  padding: clamp(4.5rem, 7vw, 6.8rem) 0 clamp(5rem, 8vw, 7rem);
  background: var(--blue);
  color: var(--white);
}

.method-heading {
  display: flex;
  align-items: flex-end;
  gap: clamp(2rem, 5vw, 5.5rem);
  margin-bottom: 3.4rem;
}

.method-heading h2 {
  margin: 0;
  padding-bottom: 0.4rem;
  border-bottom: 5px solid var(--yellow);
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.05em;
}

.method-heading p {
  max-width: 38rem;
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  font-weight: 500;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-grid li {
  padding: 0 2rem;
  text-align: center;
}

.method-grid li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.method-icon {
  display: grid;
  min-height: 94px;
  place-items: center;
  color: var(--yellow);
}

.method-icon svg {
  width: 70px;
  height: 70px;
  stroke-width: 1.7;
}

.method-grid h3 {
  margin: 1rem 0 0.55rem;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
}

.method-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* LINE */

.line-section {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #eef3ef;
}

.line-backdrop {
  position: absolute;
  inset: 0;
  background-image: url("assets/story-field.webp");
  background-position: center 45%;
  background-size: cover;
  opacity: 0.22;
}

.line-backdrop::after {
  position: absolute;
  inset: 0;
  background: rgba(247, 244, 236, 0.68);
  content: "";
}

.line-stage {
  position: relative;
  display: grid;
  min-height: 520px;
  grid-template-columns: 0.74fr 1.26fr;
  align-items: end;
}

.line-portrait {
  align-self: end;
  height: 480px;
}

.line-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 16px 20px rgba(5, 47, 102, 0.2));
}

.line-copy {
  align-self: center;
  padding: 4rem 0 4rem clamp(1rem, 5vw, 5rem);
}

.line-copy h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.04em;
}

.line-copy h2 > span:not(.line-word) {
  color: var(--red);
}

.line-word {
  color: var(--green);
}

.line-copy p {
  margin: 1.2rem 0 1.5rem;
  color: var(--body);
  font-size: 1.05rem;
  font-weight: 500;
}

.line-button {
  display: inline-flex;
  min-width: 280px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  background: var(--green);
  box-shadow: 0 4px 0 rgba(0, 98, 42, 0.22);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.line-button:hover {
  box-shadow: 0 7px 0 rgba(0, 98, 42, 0.18);
  transform: translateY(-3px);
}

.line-button:active {
  box-shadow: 0 2px 0 rgba(0, 98, 42, 0.22);
  transform: translateY(1px);
}

.line-button svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

/* Footer */

.site-footer {
  background: var(--blue-deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  min-height: 112px;
  grid-template-columns: 1fr 1.25fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-grid > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-footer strong {
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.site-footer div span {
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.36);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  line-height: 1.6;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.45rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-social:hover,
.footer-social:focus-visible {
  border-bottom-color: var(--yellow);
  color: var(--white);
}

.footer-slogan {
  text-align: right;
}

.footer-slogan span {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--yellow);
  color: var(--white);
}

/* Tablet */

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

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

  .brand span {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    height: auto;
    flex-direction: column;
    gap: 0;
    padding: 1.2rem 24px;
    background: var(--blue);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 58px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 1.02rem;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-stage {
    min-height: 696px;
  }

  .hero-copy {
    width: 58%;
    padding-top: 5rem;
  }

  .hero h1 {
    font-size: clamp(5.7rem, 14vw, 8rem);
  }

  .hero-portrait {
    right: -3rem;
    bottom: -1px;
    width: 58vw;
    height: 680px;
  }

  .hero-harbor {
    height: 200px;
  }

  .story-section {
    min-height: 560px;
    grid-template-columns: 0.88fr 1.12fr;
  }

  .story-image {
    min-height: 560px;
  }

  .story-copy {
    padding: 3rem 2.5rem;
  }

  .policy-grid {
    gap: 0.8rem;
  }

  .policy-card {
    min-height: 500px;
    padding: 2rem 1.3rem;
  }

  .policy-card h3 {
    font-size: 1.35rem;
  }

  .method-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.3rem;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .method-grid li:nth-child(3) {
    border-left: 0;
  }

  .line-stage {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .line-copy h2 {
    font-size: clamp(2.8rem, 7vw, 4.2rem);
  }

  .footer-grid {
    grid-template-columns: 1fr 1.3fr auto;
  }

  .footer-slogan {
    display: none;
  }
}

/* Mobile */

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand strong {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 800px;
  }

  .hero-stage {
    min-height: 736px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 4.1rem;
  }

  .campaign-slogan {
    margin-bottom: 0.8rem;
    font-size: clamp(1.35rem, 6.6vw, 1.7rem);
  }

  .hero h1 {
    font-size: clamp(5rem, 25vw, 6.6rem);
  }

  .hero-lead {
    margin-top: 1.2rem;
    font-size: clamp(1.15rem, 5.3vw, 1.4rem);
  }

  .hero-harbor {
    height: 205px;
    background-position: 40% center;
  }

  .hero-portrait {
    right: -3.6rem;
    bottom: -1px;
    width: 108vw;
    height: 480px;
  }

  .story-section {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .story-image {
    min-height: 510px;
  }

  .story-image img {
    object-position: 50% 35%;
  }

  .story-copy {
    max-width: none;
    padding: 3.4rem 1.5rem 4rem;
  }

  .story-copy h2 {
    font-size: 2.6rem;
  }

  .story-copy h3 {
    font-size: 1.4rem;
  }

  .policy-section {
    padding-block: 4.5rem;
  }

  .center-heading {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }

  .center-heading h2 {
    font-size: 2.4rem;
  }

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

  .policy-card {
    min-height: 0;
    padding: 2.1rem 1.6rem 2.4rem;
  }

  .policy-icon {
    width: 82px;
    height: 82px;
  }

  .method-section {
    padding-block: 4rem;
  }

  .method-heading h2 {
    font-size: 2.35rem;
  }

  .method-heading p {
    font-size: 0.95rem;
  }

  .method-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .method-grid li {
    padding: 2rem 0;
  }

  .method-grid li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 0;
  }

  .method-icon {
    min-height: 70px;
  }

  .method-icon svg {
    width: 58px;
    height: 58px;
  }

  .line-section,
  .line-stage {
    min-height: 690px;
  }

  .line-stage {
    display: block;
    padding-top: 3.5rem;
  }

  .line-portrait {
    position: absolute;
    right: -7rem;
    bottom: 0;
    width: 125%;
    height: 410px;
  }

  .line-portrait img {
    object-position: right bottom;
    opacity: 0.74;
  }

  .line-copy {
    position: relative;
    z-index: 2;
    padding: 0;
  }

  .line-copy h2 {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
  }

  .line-copy p {
    max-width: 20rem;
    font-size: 0.96rem;
  }

  .line-button {
    min-width: 0;
    width: 100%;
  }

  .footer-grid {
    display: block;
    padding-block: 2rem;
  }

  .footer-grid > div {
    margin-bottom: 1.1rem;
  }

  .footer-social {
    min-height: 44px;
    margin-bottom: 1.1rem;
  }
}

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