/* 朵頤創意。色彩與字級沿用已核准 Pen 定稿。Icons: Phosphor Regular, MIT. */
:root {
  --white: #ffffff;
  --soft: #f3f5f8;
  --ink: #243148;
  --muted: #59677b;
  --line: #d8e0ea;
  --blue: #3656c8;
  --blue-hover: #2b45a8;
  --blue-soft: #edf1fc;
  --radius: 12px;
  --nav: 80px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-en: "Funnel Sans", "Noto Sans TC", "PingFang TC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 30;
}
.skip:focus { transform: none; }
#service, #industries, #ongoing, #faq, #contact, #creators { scroll-margin-top: var(--nav); }

.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon-sm { width: 20px; height: 20px; }
.icon-brand { width: 26px; height: 26px; color: var(--blue); }
.i-film { --icon: url("icons/film-strip.svg"); }
.i-arrow { --icon: url("icons/arrow-right.svg"); }
.i-down { --icon: url("icons/arrow-down.svg"); }
.i-users { --icon: url("icons/users-three.svg"); }
.i-calendar { --icon: url("icons/calendar.svg"); }
.i-pencil { --icon: url("icons/pencil.svg"); }
.i-video { --icon: url("icons/video-camera.svg"); }
.i-share { --icon: url("icons/share-network.svg"); }
.i-fork { --icon: url("icons/fork-knife.svg"); }
.i-bag { --icon: url("icons/shopping-bag.svg"); }
.i-drop { --icon: url("icons/drop.svg"); }
.i-bed { --icon: url("icons/bed.svg"); }
.i-house { --icon: url("icons/house.svg"); }
.i-cap { --icon: url("icons/graduation-cap.svg"); }
.i-minus { --icon: url("icons/minus.svg"); }
.i-plus { --icon: url("icons/plus.svg"); }
.i-list { --icon: url("icons/list.svg"); }
.i-x { --icon: url("icons/x.svg"); }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav);
  background: var(--white);
}
.nav-wrap.is-stuck { box-shadow: inset 0 -1px 0 var(--line); }
.nav, .inner {
  width: min(1440px, 100%);
  margin: 0 auto;
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 96px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 204px;
  text-decoration: none;
}
.brand strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}
.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.3px;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .i-x { display: none; }
.nav-toggle[aria-expanded="true"] .i-list { display: none; }
.nav-toggle[aria-expanded="true"] .i-x { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 168px;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover, .btn:active { background: var(--blue-hover); }
.btn:active { transform: translateY(2px); }
.btn:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
}
.nav-cta { min-width: 148px; height: 44px; padding: 0 18px; }
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.inner { padding: 64px 96px; }
.band-soft { background: var(--soft); }
.band-contact { background: var(--blue-soft); }
.section-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.lede { color: var(--muted); max-width: 42em; }

.hero { padding-top: 64px; padding-bottom: 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 552px;
  gap: 72px;
  align-items: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.6px;
}
.hero .lede { margin-top: 24px; font-size: 18px; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.frames {
  position: relative;
  width: 552px;
  height: 400px;
}
.shot {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.shot-food { left: 0; top: 48px; width: 152px; height: 320px; }
.shot-creator { left: 176px; top: 0; width: 208px; height: 368px; }
.shot-product { left: 400px; top: 80px; width: 152px; height: 320px; }
.caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
}

.problems { padding-top: 40px; padding-bottom: 64px; }
.problem-grid, .process-grid, .chip-row {
  display: grid;
  gap: 40px;
  margin-top: 32px;
}
.problem-grid { grid-template-columns: repeat(3, 1fr); }
.problem, .step { display: flex; flex-direction: column; gap: 12px; }
.problem .icon { color: var(--blue); }
.problem h3, .step h3, .deliver-title, .industry h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}
.problem p, .step p, .industry p, .deliver p { color: var(--muted); }
.rule { height: 1px; margin-top: 32px; background: var(--line); border: 0; }

.process { padding-top: 56px; padding-bottom: 64px; }
.process-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.step {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.step h3 { font-size: 16px; line-height: 1.4; }
.step .icon { color: var(--blue); }

.industries { padding-top: 64px; padding-bottom: 64px; }
.industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  margin-top: 8px;
}
.industry {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px 16px;
  padding: 24px 0;
}
.industry .icon { color: var(--blue); grid-row: 1 / span 3; }
.industry h3 { padding-top: 2px; }
.industry .uses { font-size: 14px; line-height: 1.5; }
.industry:nth-child(n + 3) { border-top: 1px solid var(--line); }
.more { margin-top: 8px; color: var(--muted); font-size: 14px; }

.ongoing .section-title, .ongoing .lede { max-width: 40em; }
.chip-row {
  grid-template-columns: repeat(3, max-content);
  gap: 32px;
  align-items: center;
  margin-top: 8px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.chip .icon { color: var(--blue); }
.photo {
  margin-top: 8px;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.ongoing .caption { text-align: left; }

.deliver-list { margin-top: 8px; }
.deliver {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 16px 40px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.deliver:last-child { border-bottom: 1px solid var(--line); }
.deliver-title { display: flex; align-items: center; gap: 12px; }
.deliver-title .icon { color: var(--blue); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i-minus { display: none; }
.faq details[open] summary .i-plus { display: none; }
.faq details[open] summary .i-minus { display: block; }
.faq details p {
  max-width: 46em;
  margin: -4px 0 20px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: start;
}
.contact-copy .lede { margin-top: 16px; white-space: pre-line; }
.form {
  display: grid;
  gap: 16px;
}
.form label, .creator-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.form input, .form textarea, .creator-form input, .creator-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
}
.form textarea, .creator-form textarea { min-height: 96px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible,
.creator-form input:focus-visible, .creator-form textarea:focus-visible {
  border-color: var(--blue);
}
.hint { color: var(--muted); font-weight: 400; }
.form-note, .status {
  color: var(--muted);
  font-size: 14px;
}
.status { font-size: 18px; font-weight: 600; color: var(--ink); }
.field-error { color: var(--ink); font-size: 14px; font-weight: 500; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.creators {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 32px;
  align-items: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.creators h2 { font-size: 20px; font-weight: 600; line-height: 1.4; }
.creator-form {
  grid-column: 1 / -1;
  display: none;
  gap: 16px;
}
.creator-form.is-open { display: grid; }
.creator-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.creator-fields .wide { grid-column: 1 / -1; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 96px;
  color: var(--muted);
  font-size: 14px;
}
.footer p { margin: 0; }

.drawer {
  display: none;
  position: fixed;
  z-index: 19;
  inset: var(--nav) 0 0 0;
  background: var(--white);
  padding: 8px 24px 32px;
}
.drawer.is-open { display: flex; flex-direction: column; }
.drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.drawer .btn { margin-top: 12px; width: 100%; }

.result {
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
.result .inner { display: grid; gap: 16px; max-width: 720px; }
.result h1 { font-size: 32px; font-weight: 600; line-height: 1.4; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .nav { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .inner, .footer { padding-left: 24px; padding-right: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .frames { width: min(100%, 552px); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .creators, .creator-fields { grid-template-columns: 1fr; }
  .creators { align-items: start; }
}

@media (max-width: 800px) {
  :root { --nav: 76px; }
  .inner { padding: 40px 24px; }
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .hero h1, .result h1 { font-size: 32px; letter-spacing: -0.3px; }
  .hero .lede { margin-top: 20px; font-size: 16px; }
  .section-title { font-size: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-text { justify-content: center; }
  .frames { width: 100%; height: 210px; }
  .shot-food { left: 0; top: 28px; width: 30.4%; height: 176px; }
  .shot-creator { left: 32.7%; top: 0; width: 34.5%; height: 206px; }
  .shot-product { left: 69.6%; top: 28px; width: 30.4%; height: 176px; }
  .caption { text-align: left; }
  .problem-grid, .process-grid, .chip-row, .industry-grid, .deliver {
    grid-template-columns: 1fr;
  }
  .chip-row { gap: 16px; }
  .industry:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .industry:nth-child(2) { border-top: 1px solid var(--line); }
  .photo { height: 210px; }
  .faq summary { font-size: 16px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 24px; padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active, .shot img, .photo img { transform: none; }
}
