:root {
  --ink: #171717;
  --muted: #6f756f;
  --line: #e8ebe6;
  --paper: #fbfaf6;
  --white: #ffffff;
  --mint: #dff4e9;
  --mint-strong: #62c7a1;
  --blush: #f7d9d7;
  --stone: #ebe8df;
  --lemon: #f8e9a1;
  --charcoal: #242726;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff8f5;
  color: var(--ink);
  font-family: "Inter", "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(232, 235, 230, 0.9);
  background: rgba(255, 248, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.brand-subtitle {
  max-width: 180px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta,
.button,
.gear-card button,
.gear-card a {
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
}

.header-cta {
  padding: 11px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 84px) clamp(18px, 5vw, 68px) 34px;
  background:
    linear-gradient(135deg, rgba(247, 217, 215, 0.72), rgba(255, 248, 245, 0.96) 58%),
    #fff8f5;
}

.dinkfit-hero {
  min-height: calc(100vh - 72px);
}

.hero-wordmark {
  width: min(420px, 78vw);
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.clean-wordmark {
  box-shadow: none;
}

.hero-wordmark img {
  width: 100%;
  height: auto;
}

.brand-line {
  margin: 0 0 14px;
  color: #7d706b;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #4c9578;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

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

.button.secondary {
  background: var(--white);
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-row span {
  min-width: 130px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.metric-row strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(23, 23, 23, 0.12);
}

.editorial-photo {
  position: relative;
}

.editorial-photo::after {
  position: absolute;
  right: 18px;
  bottom: 42px;
  content: "DinkFit 新聞";
  padding: 9px 12px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 245, 0.9);
  font-size: 12px;
  font-weight: 900;
}

.hero-media figcaption {
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.marquee {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 18px clamp(18px, 5vw, 68px);
  border-block: 1px solid var(--line);
  background: var(--white);
  white-space: nowrap;
}

.marquee span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(64px, 10vw, 116px) clamp(18px, 5vw, 68px);
}

.editorial-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(247, 217, 215, 0.92), rgba(255, 255, 255, 0.72)),
    var(--blush);
}

.editorial-entry p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.editorial-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
}

.intro p:last-child,
.section-heading p,
.split-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.brand-system {
  background: var(--white);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 14px;
}

.brand-tile {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.brand-tile.logo-tile-pink {
  background: linear-gradient(135deg, #f7d9d7, #fff8f5);
}

.brand-tile.logo-tile-dark {
  background: #1d201f;
}

.brand-tile img {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.brand-tile.wide img {
  max-height: 150px;
}

.brand-tile.dark {
  background: var(--charcoal);
}

.brand-tile.dark img {
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

.brand-tile span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-options-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 32px;
}

.outfit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 14px;
}

.outfit-card,
.gear-card,
.system-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.outfit-card {
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
}

.outfit-card.large {
  grid-row: span 2;
  min-height: 554px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--white);
}

.outfit-card.large img {
  width: calc(100% + 56px);
  max-width: none;
  height: 300px;
  margin: -28px -28px 28px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.outfit-card.mint {
  background: var(--mint);
}

.outfit-card.blush {
  background: var(--blush);
}

.outfit-card.stone {
  background: var(--stone);
}

.outfit-card p,
.gear-card p,
.system-step p,
.launch-list {
  color: var(--muted);
  line-height: 1.7;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.outfit-card a {
  margin-top: auto;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) 1fr;
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.story-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.mic-flag,
.press-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.16);
  font-weight: 900;
  letter-spacing: 0;
}

.mic-flag {
  right: 17%;
  top: 49%;
  min-width: 78px;
  min-height: 30px;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 1;
  transform: rotate(8deg);
}

.press-badge {
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: rgba(251, 250, 246, 0.92);
  font-size: 12px;
}

.story-card div {
  align-self: end;
  padding: 28px 28px 28px 0;
}

.story-card p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
}

.split .eyebrow {
  color: #9de5c5;
}

.split-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.phone-preview {
  width: min(100%, 360px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background: #0f1110;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.22);
}

.phone-top {
  width: 82px;
  height: 6px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.reel-frame {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--mint);
  color: var(--ink);
}

.reel-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.12) 42%, rgba(0,0,0,0.68) 100%);
}

.reel-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-label {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-bottom: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 800;
}

.reel-frame h3 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 34px;
}

.reel-frame p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
}

.phone-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}

.phone-actions span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.workflow span {
  padding: 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
}

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

.gear-card {
  padding: 16px;
}

.product-swatch {
  min-height: 220px;
  margin-bottom: 22px;
  border-radius: 8px;
}

.product-swatch.paddle {
  background: radial-gradient(circle at 42% 42%, #fefdf9 0 16%, #202524 17% 26%, transparent 27%), var(--mint);
}

.product-swatch.shoes {
  background: linear-gradient(135deg, #fff 0 38%, #dff4e9 39% 64%, #242726 65% 69%, #f7d9d7 70%);
}

.product-swatch.bag {
  background: linear-gradient(145deg, #f7d9d7 0 32%, #fbfaf6 33% 58%, #dff4e9 59%);
}

.gear-card button,
.gear-card a {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  cursor: pointer;
}

.system-section {
  background: #f3f0e8;
}

.system-grid {
  grid-template-columns: repeat(4, 1fr);
}

.system-step {
  padding: 26px;
}

.system-step strong {
  display: block;
  margin-bottom: 44px;
  color: #4c9578;
}

.launch {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 42px;
}

.launch-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.launch-list span {
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 68px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

.site-footer strong {
  color: var(--ink);
}

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

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

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

  .nav {
    display: none;
  }

  .hero,
  .intro,
  .editorial-entry,
  .split,
  .launch {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .outfit-grid,
  .story-grid,
  .brand-grid,
  .gear-grid,
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }

  .outfit-card.large {
    grid-column: span 2;
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .header-cta {
    display: none;
  }

  .brand img {
    width: 158px;
  }

  .brand-subtitle {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .hero {
    padding-top: 28px;
  }

  .metric-row,
  .hero-actions {
    flex-direction: column;
  }

  .button,
  .metric-row span {
    width: 100%;
  }

  .outfit-grid,
  .story-grid,
  .brand-grid,
  .gear-grid,
  .system-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-media,
  .story-card img {
    min-height: 320px;
  }

  .story-card div {
    padding: 0 22px 24px;
  }

  .mic-flag {
    right: 15%;
    top: 50%;
    font-size: 11px;
    transform: rotate(8deg);
  }

  .outfit-card.large {
    grid-column: auto;
  }

  .reel-frame {
    min-height: 460px;
  }

  .launch-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
