﻿:root {
  --ink: #f6f1ea;
  --text: #d7d0c7;
  --muted: #948b82;
  --paper: #0d0d0e;
  --soft: #151517;
  --panel: #1b1b1e;
  --panel-strong: #242327;
  --line: rgba(255, 255, 255, 0.1);
  --orange: #ff7a1a;
  --orange-deep: #d94c0d;
  --amber: #ffb15a;
  --coal: #090909;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 122, 26, 0.18), transparent 34%),
    linear-gradient(180deg, #0d0d0e 0%, #151517 46%, #0d0d0e 100%);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.card-icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 1.05em;
  height: 1.05em;
}

.card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--orange);
}

.topbar-inner a,
.topbar-inner span,
.site-nav a,
.category-strip a,
.button,
.text-link,
.flow-grid a,
.quote-form span,
.line-float {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar {
  color: white;
  background: #050505;
  border-bottom: 1px solid rgba(255, 122, 26, 0.28);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  max-width: 1240px;
  min-height: 38px;
  margin: auto;
  padding: 9px 20px;
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(10, 10, 11, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  width: min(148px, 38vw);
  max-height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #f3eee8;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--orange);
  color: var(--amber);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.category-strip {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  padding: 18px 20px;
  overflow-x: auto;
  background: #0d0d0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.category-strip a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #202024, #151517);
  color: #f1ece5;
  font-size: 14px;
  font-weight: 700;
}

.category-strip a:hover {
  border-color: rgba(255, 122, 26, 0.72);
  color: var(--amber);
}

.hero-slider {
  position: relative;
  min-height: clamp(520px, 62vw, 720px);
  background: var(--coal);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(10, 10, 10, 0.64) 48%, rgba(255, 122, 26, 0.1)),
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.52));
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: clamp(520px, 62vw, 720px);
  object-fit: cover;
}

.slide-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(20px, 6vw, 86px);
  width: min(680px, calc(100% - 40px));
  color: white;
  transform: translateY(-50%);
}

.slide-copy p,
.section-label {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.slide-copy p {
  color: var(--amber);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.slide-copy span {
  display: block;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.75;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow: 0 18px 40px rgba(255, 122, 26, 0.28);
}

.button.light {
  color: white;
  border-color: rgba(255, 122, 26, 0.52);
  background: rgba(255, 122, 26, 0.1);
}

.slider-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-controls button {
  width: 38px;
  height: 38px;
  color: white;
  border: 1px solid rgba(255, 122, 26, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  cursor: pointer;
}

.slider-controls button.is-active {
  color: #0d0d0e;
  background: var(--orange);
}

.intro-panel,
.section,
.estimate,
.contact {
  padding: clamp(60px, 8vw, 104px) clamp(20px, 6vw, 82px);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(180px, 0.75fr));
  gap: 18px;
  align-items: stretch;
  background:
    linear-gradient(120deg, rgba(255, 122, 26, 0.14), transparent 40%),
    linear-gradient(180deg, #131315, #0d0d0e);
}

.intro-text p:last-child,
.section-head p,
.flow-grid p,
.method-grid p,
.estimate p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.intro-text .section-label,
.section-head .section-label,
.contact .section-label {
  color: var(--orange);
}

.intro-card {
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.intro-card strong {
  margin-bottom: 8px;
  font-size: 24px;
}

.intro-card span {
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.inline {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--amber);
  font-weight: 900;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.flow-grid article,
.method-grid article,
.product-grid article,
.contact-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.flow-grid article {
  min-height: 270px;
  padding: 24px;
}

.flow-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 58px;
  height: 42px;
  margin-bottom: 34px;
  padding-inline: 12px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  border-radius: 999px;
  font-weight: 900;
}

.flow-grid a {
  color: var(--amber);
  font-weight: 900;
}

.soft {
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.08), transparent 46%),
    var(--soft);
}

.method-grid,
.product-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.product-carousel {
  position: relative;
}

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

.method-grid article {
  min-height: 245px;
  padding: 24px;
}

.method-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--orange), #2a2a2f);
  box-shadow: inset 0 -18px rgba(0, 0, 0, 0.08);
}

.method-icon .icon {
  width: 36px;
  height: 36px;
  color: white;
}

.method-icon.dtf {
  background: linear-gradient(135deg, #ff9b45, #18181b);
}

.method-icon.heat {
  background: linear-gradient(135deg, #ff5a1f, #ffb15a);
}

.method-icon.stitch {
  background: linear-gradient(135deg, #111113, var(--orange));
}

.product-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  grid-template-columns: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.product-grid::-webkit-scrollbar {
  display: none;
}

.product-grid article {
  min-height: 244px;
  padding: 14px;
  scroll-snap-align: start;
}

.product-grid h3 {
  min-height: 54px;
  margin: 12px 4px 0;
  font-size: 17px;
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 158px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f1ec;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 74px;
  color: white;
  border: 1px solid rgba(255, 122, 26, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 11, 0.72);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.carousel-arrow.prev {
  left: -10px;
}

.carousel-arrow.prev .icon {
  transform: rotate(180deg);
}

.carousel-arrow.next {
  right: -10px;
}

.carousel-arrow .icon {
  width: 24px;
  height: 24px;
  color: var(--amber);
}

.carousel-arrow:hover:not(:disabled) {
  color: white;
  border-color: rgba(255, 122, 26, 0.88);
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.26), rgba(217, 76, 13, 0.14)),
    rgba(12, 12, 14, 0.9);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(255, 122, 26, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-50%) scale(1.03);
}

.carousel-arrow:disabled {
  opacity: 0.28;
  cursor: default;
  box-shadow: none;
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 6vw, 76px);
  color: white;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 122, 26, 0.28), transparent 32%),
    linear-gradient(135deg, #070707, #171719 58%, #2a1510);
}

.estimate .section-label {
  color: var(--amber);
}

.estimate p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 122, 26, 0.28);
  border-radius: 8px;
  background: rgba(18, 18, 20, 0.78);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
}

.quote-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 26, 0.16);
  border-radius: 8px;
  background: #f6f1ea;
  color: #161616;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-result {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--amber);
  white-space: pre-line;
}

.contact {
  background:
    linear-gradient(180deg, #0d0d0e, #151517);
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid article {
  min-height: 170px;
  padding: 24px;
  border-top: 6px solid var(--orange);
}

.contact-grid article:nth-child(2) {
  border-top-color: var(--amber);
}

.contact-grid article:nth-child(3) {
  border-top-color: #ff5a1f;
}

.contact-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.contact-card-link:hover strong,
.contact-card-link:focus-visible strong {
  color: var(--amber);
}
.contact-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 82px);
  color: white;
  background: #050505;
  border-top: 1px solid rgba(255, 122, 26, 0.22);
}

.line-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  width: 64px;
  height: 64px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 900;
}

.line-float .icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 1320px) {
  .site-nav {
    gap: 12px;
    font-size: 14px;
  }

  .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-auto-columns: minmax(236px, 30vw);
  }
}

@media (max-width: 1100px) {
  .site-header {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: clamp(16px, 4vw, 52px);
    right: clamp(16px, 4vw, 52px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    max-height: min(70vh, 560px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(255, 122, 26, 0.2);
    border-radius: 8px;
    background: #111113;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .intro-panel,
  .method-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-text {
    grid-column: 1 / -1;
  }

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

@media (max-width: 860px) {
  .topbar-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px 12px;
    padding: 8px 16px;
  }

  .topbar-inner span,
  .topbar-inner a {
    min-width: 0;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .topbar-inner .icon {
    width: 14px;
    height: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(132px, 46vw);
    max-height: 38px;
  }

  .category-strip {
    gap: 8px;
    padding: 10px 16px;
    scrollbar-width: none;
  }

  .category-strip::-webkit-scrollbar {
    display: none;
  }

  .category-strip a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 13px;
    font-size: 13px;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 500px;
  }

  .hero-slide img {
    object-position: 58% center;
  }

  .slide-copy {
    top: auto;
    bottom: 78px;
    left: 20px;
    width: calc(100% - 40px);
    transform: none;
  }

  h1 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .slide-copy span {
    font-size: 15px;
    line-height: 1.6;
  }

  .intro-panel,
  .section,
  .estimate,
  .contact {
    padding: 56px 18px;
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-auto-columns: minmax(230px, 42vw);
  }

  .flow-grid article,
  .method-grid article,
  .contact-grid article {
    min-height: auto;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .section-head.inline,
  .site-footer {
    display: grid;
  }

  .site-footer {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
    padding: 10px 16px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    left: 12px;
    right: 12px;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 500px;
  }

  .hero-slide::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.88) 64%),
      linear-gradient(90deg, rgba(255, 122, 26, 0.1), transparent);
  }

  .slide-copy {
    bottom: 74px;
  }

  .slide-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .slider-controls {
    bottom: 20px;
  }

  .intro-panel,
  .flow-grid,
  .method-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-auto-columns: minmax(220px, 78vw);
  }

  .carousel-arrow {
    width: 42px;
    height: 58px;
  }

  .carousel-arrow.prev {
    left: -6px;
  }

  .carousel-arrow.next {
    right: -6px;
  }

  .intro-card,
  .flow-grid article,
  .method-grid article,
  .contact-grid article {
    padding: 22px;
  }

  .product-grid article {
    min-height: auto;
  }

  .product-art {
    height: 190px;
  }

  .line-float {
    right: 14px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
    font-size: 12px;
  }

  .line-float .icon {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: min(122px, 52vw);
  }

  .category-strip {
    padding: 9px 12px;
  }

  .category-strip a {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 480px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .slide-copy span {
    font-size: 14px;
    line-height: 1.55;
  }

  .intro-panel,
  .section,
  .estimate,
  .contact {
    padding: 48px 14px;
  }

  .quote-form {
    padding: 16px;
  }

}


