:root {
  --ink: #172421;
  --muted: #60716c;
  --cream: #fff8eb;
  --cream-deep: #ffe8b6;
  --teal: #006979;
  --teal-dark: #004954;
  --red: #e92b22;
  --red-dark: #aa171a;
  --orange: #ff9a12;
  --gold: #f2b629;
  --line: rgba(21, 66, 62, 0.16);
  --shadow: 0 24px 50px rgba(88, 48, 16, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background:
    radial-gradient(circle at 10% 4%, rgba(255, 154, 18, 0.36) 0 9%, transparent 18%),
    linear-gradient(135deg, #fffaf0 0%, #fff4dd 48%, #e9fbff 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  top: -110px;
  left: -130px;
  width: 520px;
  height: 260px;
  border-radius: 55% 45% 60% 40%;
  background: linear-gradient(135deg, rgba(255, 154, 18, 0.95), rgba(255, 196, 47, 0));
  transform: rotate(-18deg);
}

body::after {
  right: -160px;
  bottom: -120px;
  width: 520px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 105, 121, 0.16), rgba(0, 105, 121, 0));
}

.summer-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(0, 73, 84, 0.12);
  background: rgba(255, 252, 245, 0.92);
  box-shadow: 0 10px 30px rgba(41, 41, 26, 0.08);
  backdrop-filter: blur(16px);
}

.brand-link img {
  display: block;
  width: clamp(230px, 26vw, 340px);
  max-width: 64vw;
  height: auto;
}

.summer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.summer-nav a,
.summer-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 182, 41, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.summer-nav span {
  background: var(--teal);
  color: #fff;
}

.summer-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.summer-hero {
  position: relative;
  min-height: 430px;
  padding: clamp(30px, 6vw, 64px);
  overflow: hidden;
  border: 2px solid rgba(242, 182, 41, 0.72);
  border-radius: 22px;
  background:
    linear-gradient(105deg, rgba(255, 248, 235, 0.97) 0 54%, rgba(255, 232, 182, 0.88)),
    radial-gradient(circle at 86% 12%, rgba(255, 154, 18, 0.26), transparent 26%);
  box-shadow: var(--shadow);
}

.summer-hero::before,
.summer-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.summer-hero::before {
  top: 118px;
  left: 180px;
  width: min(700px, 65vw);
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(233, 43, 34, 0.95), rgba(255, 154, 18, 0.82), rgba(0, 105, 121, 0.72));
  opacity: 0.92;
  transform: rotate(-7deg);
}

.summer-hero::after {
  right: 28px;
  top: 34px;
  width: 120px;
  height: 120px;
  border: 5px solid rgba(255, 154, 18, 0.88);
  border-left-color: transparent;
  border-radius: 50%;
  opacity: 0.38;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.card-kicker {
  margin: 0;
  color: var(--orange);
  font-size: 15px;
  font-weight: 1000;
  line-height: 1.2;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 14px 0 0;
  color: var(--red);
  font-size: clamp(72px, 13vw, 150px);
  line-height: 0.88;
  text-shadow: 0 5px 0 rgba(255, 210, 101, 0.92), 0 12px 30px rgba(170, 23, 26, 0.16);
}

h1 span {
  display: block;
}

h1 span:nth-child(2) {
  color: var(--teal);
  transform: translateX(clamp(28px, 6vw, 72px));
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.65;
}

.hero-ribbon {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 18px;
  font-weight: 1000;
  line-height: 1.2;
  box-shadow: 0 14px 28px rgba(0, 73, 84, 0.22);
}

.landmark-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.landmark-card {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 140px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 32px rgba(41, 41, 26, 0.08);
}

.landmark-card svg {
  width: min(150px, 70%);
  height: auto;
  overflow: visible;
}

.landmark-card span {
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 1000;
}

.landmark-card .ground,
.landmark-card .line,
.landmark-card .accent,
.landmark-card .water {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landmark-card .fill {
  fill: #ffe9b3;
}

.landmark-card .train {
  fill: #edf9fb;
}

.landmark-card .ground {
  stroke: var(--gold);
  stroke-width: 5;
}

.landmark-card .line {
  stroke: #6b3d33;
  stroke-width: 5;
}

.landmark-card .accent {
  stroke: var(--red);
  stroke-width: 6;
}

.landmark-card .water {
  stroke: #51c5da;
  stroke-width: 6;
}

.intro-panel {
  margin-top: 18px;
  padding: 24px clamp(20px, 4vw, 34px);
  border: 2px solid rgba(242, 182, 41, 0.64);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(41, 41, 26, 0.08);
}

.intro-panel h2 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.12;
}

.intro-panel p {
  max-width: 900px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.tool-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 430px;
  padding: 24px;
  overflow: hidden;
  border: 2px solid rgba(242, 182, 41, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.tool-card::after {
  position: absolute;
  right: -42px;
  bottom: -50px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(0, 105, 121, 0.1);
  content: "";
}

.tool-card.primary {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 218, 0.96));
}

.card-number {
  position: relative;
  z-index: 1;
  width: fit-content;
  min-width: 76px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 28px;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(170, 23, 26, 0.18);
}

.card-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(96px, auto) minmax(90px, auto) auto;
  row-gap: 14px;
  padding-top: 22px;
}

.tool-card h2 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(26px, 3.3vw, 40px);
  line-height: 1.18;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.68;
}

.tool-card dl {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(0, 105, 121, 0.14);
  border-radius: 14px;
  background: rgba(237, 249, 251, 0.72);
}

.tool-card dt {
  color: var(--orange);
  font-size: 14px;
  font-weight: 1000;
}

.tool-card dd {
  margin: 8px 0 0;
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}

.card-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 22px;
  padding: 12px 20px;
  border: 2px solid #ffd770;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3b2d, #d81f1d);
  color: #fff;
  font-size: 19px;
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(216, 31, 29, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(216, 31, 29, 0.3);
}

.card-button:focus,
.summer-nav a:focus {
  outline: 4px solid rgba(0, 105, 121, 0.18);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .card-body {
    display: block;
  }

  .tool-card h2 {
    margin-top: 10px;
  }

  .tool-card p {
    margin-top: 14px;
  }

  .tool-card dl {
    margin-top: 18px;
  }

  .summer-hero::before {
    left: 80px;
    width: 78vw;
  }

}

@media (max-width: 720px) {
  .summer-topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .summer-nav {
    flex-wrap: wrap;
    white-space: normal;
  }

  .summer-shell {
    width: calc(100% - 24px);
    padding-top: 18px;
  }

  .summer-hero {
    min-height: auto;
    padding: 24px 20px;
  }

  .summer-hero::before {
    top: 84px;
    left: 44px;
    height: 54px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 72px);
    line-height: 0.96;
  }

  h1 span:nth-child(2) {
    transform: translateX(18px);
  }

  .hero-copy > p:not(.eyebrow),
  .intro-panel p,
  .tool-card p {
    font-size: 16px;
  }

  .hero-ribbon {
    border-radius: 14px;
    font-size: 16px;
  }

  .landmark-band {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: auto;
    padding: 20px;
  }
}
