:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #5f6675;
  --paper: #fffaf3;
  --porcelain: #f6f3ee;
  --gold: #bd8c45;
  --rose: #d66f82;
  --night: #071727;
  --line: rgba(22, 32, 51, .14);
  --shadow: 0 20px 60px rgba(13, 22, 34, .18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--night);
  color: white;
}

.hero__image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: .72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 16, 28, .86), rgba(5, 16, 28, .34) 52%, rgba(5, 16, 28, .08));
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 34px);
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  font-size: 15px;
}

.nav a {
  opacity: .88;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) 0 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-weight: 650;
}

h1 {
  max-width: 720px;
  font-size: clamp(44px, 8vw, 92px);
}

h2 {
  font-size: clamp(30px, 4.8vw, 58px);
}

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

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2.4vw, 24px);
  color: rgba(255, 255, 255, .88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.button--primary {
  background: #24d366;
  color: #062012;
}

.button--light {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .12);
  color: white;
}

.button--dark {
  background: #0a66ff;
  color: white;
}

.intro,
.split,
.timeline,
.gallery,
.story,
.cta,
.legal {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  transform: translateY(-44px);
  background: rgba(255, 255, 255, .5);
  box-shadow: var(--shadow);
}

.intro > div {
  min-height: 188px;
  padding: 28px;
  background: white;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(189, 140, 69, .45);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.intro h2 {
  margin-top: 18px;
  font-size: 24px;
}

.intro p,
.split p,
.gallery p,
.story p,
.cta p,
.legal p,
.timeline p {
  color: var(--muted);
}

.split,
.gallery,
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 58px 0;
}

.split__media img,
.gallery img,
.story img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split__media img {
  object-position: center top;
}

.plans {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.plans article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.plans strong,
.plans span {
  display: block;
}

.plans span {
  margin-top: 5px;
  color: var(--muted);
}

.timeline {
  padding: 68px 0;
}

.timeline__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.timeline article {
  min-height: 220px;
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  border-top: 4px solid var(--rose);
  box-shadow: 0 12px 34px rgba(29, 38, 55, .08);
}

.timeline span {
  color: var(--rose);
  font-weight: 900;
}

.checks {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.checks li {
  padding-left: 30px;
  position: relative;
  color: var(--muted);
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rose);
  font-weight: 900;
}

.story {
  padding-top: 34px;
}

.cta {
  margin-top: 58px;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 8px;
  background: linear-gradient(135deg, #10243a, #111827);
  color: white;
  box-shadow: var(--shadow);
}

.cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
}

.legal {
  padding: 56px 0 88px;
  font-size: 14px;
}

.legal h2 {
  font-size: 28px;
}

.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  display: grid;
  gap: 12px;
}

.float-contact__item {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.float-contact__item--wa {
  background: #24d366;
  color: #062012;
}

.float-contact__item--ms {
  background: #0a66ff;
}

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

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

  .story img {
    order: -1;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 86svh;
  }

  .hero__image {
    object-position: center top;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(5, 16, 28, .58), rgba(5, 16, 28, .86));
  }

  .nav {
    justify-content: center;
    padding: 18px 0;
  }

  .hero__content {
    padding-top: 46svh;
  }

  .intro,
  .timeline__grid {
    grid-template-columns: 1fr;
  }

  .intro {
    transform: none;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .float-contact {
    right: 12px;
    bottom: 12px;
  }

  .float-contact__item {
    width: 52px;
    height: 52px;
  }
}
