:root {
  --blue-900: #0b3a66;
  --blue-700: #1d5fa8;
  --blue-500: #2f80d8;
  --blue-100: #e8f2ff;
  --text: #1b2b40;
  --white: #ffffff;
  --gray: #6b7a90;
  --danger: #d14d4d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 220px);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(95deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 12px;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.3;
}

.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a,
.link-btn {
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
}

.main-content { padding: 24px 0 36px; }
h1, h2, h3 { color: var(--blue-900); }

.hero {
  background: var(--white);
  border: 1px solid #d5e5f9;
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(20, 71, 125, 0.08);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.card,
.panel {
  background: var(--white);
  border: 1px solid #d7e8fd;
  border-radius: 14px;
  padding: 16px;
}

.thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.thumb.small {
  width: 160px;
  height: 120px;
}

.qr { width: 180px; border: 1px solid #dbe8fa; border-radius: 12px; padding: 8px; background: #fff; }

label { display: block; font-weight: 600; margin-bottom: 10px; }
input, textarea, button {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #c6dcf7;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
}

select {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #c6dcf7;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  background: #fff;
}

button, .btn {
  width: auto;
  background: var(--blue-500);
  color: #fff;
  border: 0;
  text-decoration: none;
  display: inline-block;
  padding: 10px 14px;
  cursor: pointer;
}

.btn.ghost {
  background: #eff6ff;
  color: #0b3a66;
}

.danger { background: var(--danger); color: #fff; border: none; padding: 6px 10px; border-radius: 8px; }

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #d7e8fd; }
.table th, .table td { border-bottom: 1px solid #ecf3ff; padding: 10px; text-align: left; }
.actions { display: flex; gap: 8px; align-items: center; }
.inline-form { display: inline; }
.muted { color: var(--gray); }
.notice { color: #0f7a34; font-weight: 600; }
.error { color: #b63535; font-weight: 600; }
.footer { border-top: 1px solid #dce8f8; padding: 16px 0; color: #486180; font-size: 14px; }
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.footer-meta {
  opacity: 0.85;
}

.footer-admin-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: opacity 160ms ease, color 160ms ease;
}

.footer-admin-link:hover {
  opacity: 0.74;
}
.tracked-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.image-preview-link {
  cursor: zoom-in;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d7e8fd;
}

.analytics-title-row {
  align-items: flex-start;
  margin-bottom: 18px;
}

.analytics-title-row p {
  margin: 6px 0 0;
}

.analytics-summary-grid {
  margin-bottom: 18px;
}

.analytics-panel {
  margin-bottom: 18px;
}

.analytics-panel-head,
.analytics-work-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.analytics-panel-head h2,
.analytics-work-head h2 {
  margin: 0;
}

.analytics-work-stack {
  display: grid;
  gap: 18px;
}

.analytics-work-summary,
.analytics-metric-row,
.analytics-metric-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.analytics-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.analytics-image-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.analytics-image-card {
  border: 1px solid #d7e8fd;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.analytics-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f4f8fe;
}

.analytics-image-copy {
  padding: 14px;
}

.analytics-image-copy h3 {
  margin: 0;
}

.analytics-image-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.analytics-kind-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef5ff;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.analytics-rate-bar {
  margin-top: 14px;
  height: 8px;
  background: #eaf2ff;
  border-radius: 999px;
  overflow: hidden;
}

.analytics-rate-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-500), #6ba8f0);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #ecf5ff, #ffffff);
}

.login-card { width: min(420px, 92vw); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.gallery-figure {
  margin: 0;
}

.gallery-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d7e8fd;
  background: #fff;
}

.image-check {
  display: block;
  border: 1px solid #e3efff;
  border-radius: 10px;
  padding: 8px;
  background: #fff;
}

.asset-panel {
  margin-top: 18px;
  border-top: 1px solid #dceafe;
  padding-top: 14px;
}

ul { padding-left: 22px; }

.wizard-book-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.public-page {
  background:
    radial-gradient(circle at top, rgba(219, 191, 150, 0.22), transparent 26%),
    linear-gradient(180deg, #f7f1ea 0%, #fbf8f4 38%, #f4eee6 100%);
  color: #1f1914;
  font-family: "Avenir Next", "PingFang TC", "Noto Sans TC", sans-serif;
}

.public-page .container {
  width: min(1220px, 94vw);
}

.public-page .main-content {
  padding: 24px 0 46px;
}

.public-page .topbar {
  background: rgba(26, 20, 16, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.public-page .brand,
.public-page .nav-links a,
.public-page .link-btn {
  color: #f7ede2;
}

.public-page .brand {
  letter-spacing: 0.08em;
  max-width: min(54vw, 420px);
}

.public-page .nav-links a,
.public-page .link-btn {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-page h1,
.public-page h2,
.public-page h3 {
  color: #1f1914;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
  letter-spacing: 0.01em;
}

.public-page .footer {
  border-top: 1px solid rgba(65, 46, 28, 0.1);
  color: #6b5543;
}

.public-page .footer-admin-link {
  color: #4a3628;
}

.public-page .muted {
  color: #8a6f57;
}

.public-page .btn {
  border-radius: 999px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1f1914, #423126);
  color: #fff7f0;
  box-shadow: 0 16px 24px rgba(31, 25, 20, 0.18);
}

.public-page .btn.ghost {
  background: rgba(255, 248, 240, 0.94);
  color: #1f1914;
  border: 1px solid rgba(65, 46, 28, 0.1);
}

.public-page .page-kicker {
  margin: 0;
  color: #aa825d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.public-page .page-hero,
.public-page .detail-card,
.public-page .public-card,
.public-page .form-card,
.public-page .gallery-section,
.public-page .info-panel {
  border-radius: 30px;
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid rgba(74, 53, 33, 0.08);
  box-shadow: 0 18px 34px rgba(24, 18, 13, 0.08);
}

.public-page .page-hero {
  margin-bottom: 22px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 280px;
  gap: 22px;
  align-items: end;
}

.public-page .page-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.96;
}

.public-page .page-lead {
  margin: 0;
  max-width: 44ch;
  color: #544434;
  line-height: 1.85;
}

.public-page .page-hero-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.public-page .page-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-page .page-tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3ebe1;
  color: #5b4736;
  font-size: 13px;
}

.public-page .public-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.public-page .public-card {
  overflow: hidden;
}

.public-page .public-card-media,
.public-page .detail-cover,
.public-page .public-fallback-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(145deg, #221a16, #4a382b);
}

.public-page .public-card-media img,
.public-page .detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.public-page .detail-cover {
  margin-bottom: 24px;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
}

.public-page .public-fallback-media {
  display: grid;
  place-items: center;
  color: #fff4e6;
  font-size: 34px;
  text-align: center;
  padding: 24px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
}

.public-page .public-card-copy {
  padding: 22px;
}

.public-page .tracked-image-link:hover img,
.public-page .tracked-image-link:focus-visible img {
  transform: scale(1.02);
}

.work-media-frame {
  position: relative;
  isolation: isolate;
}

.work-media-frame::after {
  content: "WJT Design & Engineering";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(24, 18, 13, 0.42);
  color: rgba(255, 247, 240, 0.92);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.public-page .public-card-copy h3 {
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.02;
}

.public-page .public-card-copy p:last-of-type,
.public-page .detail-copy p,
.public-page .rich-copy {
  color: #544434;
  line-height: 1.85;
}

.public-page .public-link,
.public-page .detail-inline-link {
  color: #1f1914;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.public-page .public-link:hover,
.public-page .detail-inline-link:hover {
  color: #8a6f57;
}

.public-page .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 320px;
  gap: 22px;
  align-items: start;
}

.public-page .detail-card {
  padding: 28px;
}

.public-page .detail-summary-title {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.public-page .detail-copy h1 {
  margin: 8px 0 10px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.96;
}

.public-page .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.public-page .detail-meta span {
  padding: 9px 12px;
  border-radius: 999px;
  background: #f3ebe1;
  color: #5b4736;
  font-size: 13px;
}

.public-page .detail-aside {
  display: grid;
  gap: 18px;
}

.public-page .detail-section-title {
  margin: 0 0 12px;
  font-size: 24px;
}

.public-page .detail-grid {
  display: grid;
  gap: 18px;
}

.public-page .gallery-section {
  margin-top: 24px;
  padding: 30px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.public-page .gallery-section .page-kicker {
  margin: 0;
}

.public-page .gallery-section h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.public-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.public-page .form-card,
.public-page .info-panel {
  padding: 26px;
}

.public-page input,
.public-page textarea,
.public-page select {
  border: 1px solid rgba(65, 46, 28, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.public-page .source-list {
  margin-top: 18px;
}

.public-page .source-list a {
  color: #1f1914;
}

.public-page .source-list a:hover {
  color: #8a6f57;
}

.public-page .detail-cover-wide {
  aspect-ratio: 5 / 4;
}

.public-page .detail-cover-landscape {
  aspect-ratio: 16 / 10;
}

.public-page .detail-cover-square {
  aspect-ratio: 1 / 1;
}

.designer-detail-page .detail-cover-wide img {
  object-position: center 16%;
}

.public-page .detail-copy-spaced {
  padding-top: 24px;
}

.public-page .detail-copy-block + .detail-copy-block {
  margin-top: 22px;
}

.public-page .stacked-list {
  display: grid;
  gap: 12px;
}

.public-page .stacked-list p {
  margin: 0;
  color: #544434;
  line-height: 1.8;
}

.public-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-page .gallery-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-page .image-lightbox[hidden] {
  display: none;
}

.public-page .image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
}

.public-page .image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 14, 10, 0.82);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.public-page .image-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 92vw);
  max-height: calc(100vh - 56px);
  padding: 18px;
  border-radius: 32px;
  background: rgba(255, 252, 248, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.public-page .image-lightbox-dialog.work-media-frame::after {
  right: 28px;
  bottom: 28px;
  background: rgba(24, 18, 13, 0.52);
}

.public-page .image-lightbox-dialog img {
  width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  display: block;
  border-radius: 22px;
  background: #efe8df;
}

.public-page .image-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: rgba(31, 25, 20, 0.92);
  color: #fff7f0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}

.public-page .notice-badge {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #f3ebe1;
  color: #5b4736;
  font-size: 14px;
  line-height: 1.7;
}

.public-page .stacked-form {
  display: grid;
  gap: 16px;
}

.public-page .form-field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.public-page .form-field span,
.public-page .form-field legend {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5543;
}

.public-page .form-field legend {
  margin-bottom: 0;
}

.public-page .form-helper {
  margin: -2px 0 0;
  color: #8a6f57;
  font-size: 13px;
  line-height: 1.6;
}

.public-page .checkbox-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.public-page .checkbox-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(65, 46, 28, 0.12);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.public-page .checkbox-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(138, 111, 87, 0.34);
}

.public-page .checkbox-chip input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1f1914;
  flex: 0 0 auto;
}

.public-page .checkbox-chip span {
  color: #1f1914;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.public-page .plan-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.public-page .plan-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 112px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(65, 46, 28, 0.12);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.public-page .plan-choice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(138, 111, 87, 0.34);
  box-shadow: 0 12px 22px rgba(31, 25, 20, 0.06);
}

.public-page .plan-choice-card input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: #1f1914;
  flex: 0 0 auto;
}

.public-page .plan-choice-copy {
  display: grid;
  gap: 6px;
}

.public-page .plan-choice-copy strong {
  color: #1f1914;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.public-page .plan-choice-copy small {
  color: #8a6f57;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-page .plan-choice-copy em {
  color: #544434;
  font-size: 13px;
  font-style: normal;
  line-height: 1.75;
}

.public-page textarea {
  resize: vertical;
  min-height: 180px;
}

.public-page .form-actions {
  padding-top: 4px;
}

.public-page .contact-qr-wrap {
  border-radius: 24px;
  padding: 18px;
  background: rgba(243, 235, 225, 0.76);
}

.public-page .contact-qr-label {
  display: block;
  margin-bottom: 10px;
  color: #6b5543;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-page .contact-qr-image {
  width: 100%;
  display: block;
}

.public-page .social-channel-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.public-page .social-link-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(243, 235, 225, 0.76);
  color: #1f1914;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.public-page .social-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(24, 18, 13, 0.08);
  background: rgba(243, 235, 225, 0.96);
}

.public-page .social-link-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f1914, #503a2a);
  color: #fff4e6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-page .social-link-copy {
  display: grid;
  gap: 4px;
}

.public-page .social-link-copy strong {
  color: #1f1914;
  font-size: 16px;
}

.public-page .social-link-copy small {
  color: #6b5543;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

@media (max-width: 900px) {
  .public-page .page-hero,
  .public-page .detail-layout,
  .public-page .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .public-page .contact-qr-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .title-row,
  .analytics-panel-head,
  .analytics-work-head {
    flex-direction: column;
  }

  .table {
    display: block;
    overflow-x: auto;
  }

  .public-page .page-hero,
  .public-page .detail-card,
  .public-page .form-card,
  .public-page .gallery-section,
  .public-page .info-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .public-page .public-card-copy h3,
  .public-page .detail-copy h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .public-page .gallery-grid,
  .public-page .gallery-grid-compact {
    grid-template-columns: 1fr;
  }

  .public-page .checkbox-chip-grid {
    grid-template-columns: 1fr;
  }

  .public-page .plan-choice-grid {
    grid-template-columns: 1fr;
  }
}

.wizard-bookmarks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  z-index: 20;
}

.wizard-mark {
  border: 1px solid #9fb4cd;
  border-top: 7px solid #4a6d98;
  border-radius: 14px 14px 10px 10px;
  background: #d7e0ea;
  color: #1d3552;
  text-align: center;
  padding: 10px 14px;
  min-width: 110px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(29, 53, 82, 0.14);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.wizard-mark:hover { transform: translateY(-2px); }
.wizard-mark.active {
  background: #c2d1e1;
  border-color: #7b99bc;
  border-top-color: #1f4e86;
  font-weight: 700;
}

.book-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.book-stage-hint {
  color: #4f627b;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: "Times New Roman", "Noto Serif TC", serif;
  font-size: 18px;
  margin-left: 4px;
}

.magic-book {
  --turned: 0;
  --remaining: 4;
  height: 620px;
  position: relative;
  perspective: 3400px;
  border-radius: 20px;
  background: linear-gradient(180deg, #d8dde3, #d2d8df);
  border: 1px solid #b8c1cc;
  box-shadow:
    0 25px 48px rgba(30, 41, 56, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.closed-book {
  position: absolute;
  inset: 26px 120px 26px 120px;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.7s ease, transform 1.1s ease;
}

.magic-book.at-cover .closed-book {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.closed-book-shadow {
  position: absolute;
  inset: 18px 12px -8px 12px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 20%, rgba(20, 26, 36, 0.18), rgba(20, 26, 36, 0));
  filter: blur(10px);
}

.closed-book-page-edge {
  position: absolute;
  top: 18px;
  bottom: 8px;
  right: -14px;
  width: 24px;
  border-radius: 0 14px 14px 0;
  background:
    repeating-linear-gradient(
      0deg,
      #ebe8de,
      #ebe8de 3px,
      #d7d1c4 3px,
      #d7d1c4 6px
    );
  box-shadow: inset -2px 0 6px rgba(60, 50, 38, 0.12);
}

.closed-book-cover {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 30px 34px;
  background:
    radial-gradient(circle at 18% 16%, rgba(220, 196, 124, 0.14), rgba(220, 196, 124, 0) 32%),
    radial-gradient(circle at 82% 18%, rgba(141, 177, 220, 0.18), rgba(141, 177, 220, 0) 28%),
    linear-gradient(145deg, #1f3654, #2e4b73 55%, #34527c);
  border: 1px solid rgba(215, 226, 243, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 28px rgba(255, 255, 255, 0.06),
    0 22px 34px rgba(28, 40, 58, 0.3);
  color: #eef4ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.closed-book-cover::before,
.closed-book-cover::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(205, 177, 111, 0.38);
  border-radius: 12px;
  pointer-events: none;
}

.closed-book-cover::after {
  inset: 24px;
  border-color: rgba(238, 224, 190, 0.16);
}

.closed-book-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(248, 242, 227, 0.08);
  border: 1px solid rgba(230, 212, 170, 0.22);
}

.closed-book-logo-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #d9c27e, #b89b56);
  color: #1f2f4a;
  font-family: "Times New Roman", "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 700;
}

.closed-book-logo-text {
  color: #e7d9b0;
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 700;
}

.closed-book-sub {
  margin: 0;
  color: #d2e2fb;
  letter-spacing: 0.24em;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.closed-book h2 {
  margin: 0;
  color: #f8fbff;
  font-family: "Times New Roman", "Noto Serif TC", serif;
  font-size: 52px;
  letter-spacing: 0.08em;
}

.closed-book-title {
  margin: 0;
  color: #d9e6f9;
  font-size: 18px;
  letter-spacing: 0.2em;
}

.closed-book-company {
  margin: 0;
  color: #e7edf8;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.page-stack {
  position: absolute;
  top: 26px;
  bottom: 26px;
  background: repeating-linear-gradient(
    0deg,
    #e9ecef,
    #e9ecef 3px,
    #dde2e7 3px,
    #dde2e7 6px
  );
  border: 1px solid #c1c8cf;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
  transition: opacity 0.45s ease;
}

.page-stack.left {
  left: 18px;
  width: calc(8px + (var(--turned) * 6px));
  border-radius: 8px 0 0 8px;
}

.page-stack.right {
  right: 18px;
  width: calc(8px + (var(--remaining) * 6px));
  border-radius: 0 8px 8px 0;
}

.base-page {
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: calc(50% - 12px);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.97)),
    repeating-linear-gradient(
      0deg,
      rgba(246, 249, 252, 0.8),
      rgba(246, 249, 252, 0.8) 28px,
      rgba(239, 244, 248, 0.86) 28px,
      rgba(239, 244, 248, 0.86) 29px
    );
  border: 1px solid #c7d0da;
  box-shadow: 0 6px 14px rgba(35, 47, 61, 0.12);
  z-index: 4;
  transition: opacity 0.45s ease, transform 0.8s ease;
}

.base-page.left {
  left: 20px;
  border-radius: 14px 8px 8px 14px;
}

.base-page.right {
  right: 20px;
  border-radius: 8px 14px 14px 8px;
}

.magic-book.at-cover .base-page.left {
  background:
    linear-gradient(135deg, rgba(26, 48, 73, 0.95), rgba(42, 67, 97, 0.95)),
    radial-gradient(circle at 20% 25%, rgba(182, 201, 227, 0.2), transparent 52%);
  border-color: #48658a;
}

.book-spine {
  position: absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 20px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: linear-gradient(180deg, #4a5870, #334157);
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  z-index: 35;
  transition: opacity 0.45s ease;
}

.sheet {
  position: absolute;
  inset: 18px 20px;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 1.72s cubic-bezier(0.18, 0.69, 0.16, 0.98), opacity 0.45s ease;
  z-index: 20;
}

.sheet.is-flipped {
  transform: rotateY(-178deg) translateX(-5px);
}

.sheet::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 20px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
  pointer-events: none;
  border-radius: 0 12px 12px 0;
}

.magic-book.at-cover .page-stack,
.magic-book.at-cover .base-page,
.magic-book.at-cover .book-spine,
.magic-book.at-cover .sheet {
  opacity: 0;
}

.page {
  position: absolute;
  top: 0;
  width: calc(50% - 6px);
  height: 100%;
  padding: 26px 20px 22px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 251, 0.97)),
    repeating-linear-gradient(
      0deg,
      rgba(246, 249, 252, 0.8),
      rgba(246, 249, 252, 0.8) 28px,
      rgba(239, 244, 248, 0.86) 28px,
      rgba(239, 244, 248, 0.86) 29px
    );
  border: 1px solid #c7d0da;
  box-shadow: 0 10px 20px rgba(37, 49, 68, 0.13);
  overflow-y: auto;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.page.front {
  right: 0;
  border-radius: 8px 14px 14px 8px;
}

.page.front::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 100%;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.page.back {
  left: 0;
  border-radius: 14px 8px 8px 14px;
  transform: rotateY(180deg);
}

.page.back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.page h2 {
  margin-top: 0;
}

.cover-page {
  color: #f2f6ff;
  background:
    linear-gradient(135deg, rgba(24, 49, 80, 0.96), rgba(47, 79, 117, 0.96)),
    radial-gradient(circle at 20% 25%, rgba(196, 218, 248, 0.22), transparent 52%);
  border: 1px solid #3d5f87;
}

.cover-page h1,
.cover-page p {
  color: #f2f6ff;
}

.cover-sub {
  color: #c8dcf8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.cover-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 228, 246, 0.26), rgba(159, 210, 255, 0));
  animation: glowPulse 3s ease-in-out infinite;
}

.company-page .page-tip {
  margin-top: 14px;
  background: #eef2f6;
  border-left: 4px solid #4f6f99;
  border-radius: 8px;
  padding: 12px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.mini-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #d4dbe4;
  border-radius: 10px;
  padding: 8px;
  display: block;
}

.mini-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}

.mini-card h3 {
  margin: 8px 0 4px;
  font-size: 14px;
}

.mini-card p {
  margin: 0;
  color: #5d6b7d;
  font-size: 12px;
}

.designer-reader {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: start;
}

.designer-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.designer-photo-frame {
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 240, 245, 0.94));
  border: 1px solid #ced7e1;
  box-shadow: 0 10px 20px rgba(42, 55, 73, 0.12);
}

.designer-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.designer-photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: linear-gradient(145deg, #2a4466, #446891);
  color: #f5f7fb;
  font-family: "Times New Roman", "Noto Serif TC", serif;
  font-size: 26px;
  text-align: center;
  padding: 14px;
}

.designer-chip-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.designer-chip {
  border: 1px solid #c9d5e2;
  border-left: 5px solid #8ba7c7;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.94);
  color: #2d455f;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.designer-chip:hover {
  transform: translateX(3px);
}

.designer-chip.active {
  background: linear-gradient(180deg, #eef4fb, #dde8f5);
  border-color: #9bb2cc;
  border-left-color: #355f95;
}

.designer-chip-index {
  display: inline-flex;
  min-width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d8e3ee;
  color: #35506f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.designer-copy {
  min-width: 0;
}

.designer-reader-title {
  margin: -4px 0 12px;
  color: #52657d;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.designer-reader-bio {
  margin: 0 0 12px;
  line-height: 1.75;
}

.designer-reader-resume {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d4dce5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 246, 250, 0.95));
  white-space: pre-line;
  line-height: 1.7;
}

.designer-reader-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

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

.workflow-step {
  padding: 14px;
  border: 1px solid #d4dbe4;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f3f6f9);
  box-shadow: 0 6px 16px rgba(38, 49, 65, 0.08);
}

.workflow-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #8f9fb2;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  background: #f5f7f9;
}

.workflow-step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #2f3f54;
  font-family: "Times New Roman", "Noto Serif TC", serif;
  border-left: 4px solid #33465f;
  padding-left: 8px;
}

.workflow-step ul {
  margin: 0;
  padding-left: 18px;
  color: #2f3f54;
  line-height: 1.55;
  font-size: 14px;
}

.workflow-page .workflow-grid {
  align-content: start;
}

.page-kicker {
  margin: 0 0 8px;
  color: #62768f;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.closing-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.resume-block {
  white-space: pre-line;
  background: #f1f8ff;
  border: 1px solid #d5e7fb;
  border-radius: 10px;
  padding: 12px;
}

.source-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.source-list a {
  color: #1d5fa8;
  text-decoration: none;
}

.source-list a:hover {
  text-decoration: underline;
}

.page-turn-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-turn-controls .ghost {
  background: #dfe7f0;
  color: #1f3654;
}

.page.is-focus {
  animation: pageFlash 0.65s ease;
}

@keyframes pageFlash {
  0% { box-shadow: 0 0 0 0 rgba(56, 88, 128, 0.42); }
  100% { box-shadow: 0 8px 20px rgba(37, 49, 68, 0.12); }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 768px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .thumb { height: 150px; }
  .wizard-bookmarks {
    overflow-x: auto;
    padding-bottom: 6px;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
  .wizard-mark {
    white-space: nowrap;
    border-radius: 12px 12px 8px 8px;
    min-width: auto;
  }
  .book-stage-hint { font-size: 16px; }
  .magic-book {
    height: 730px;
  }
  .closed-book {
    inset: 24px 34px 24px 34px;
  }
  .closed-book h2 {
    font-size: 38px;
  }
  .closed-book-company {
    font-size: 18px;
  }
  .page-stack.left { left: 10px; }
  .page-stack.right { right: 10px; }
  .base-page.left { left: 10px; }
  .base-page.right { right: 10px; }
  .sheet {
    inset: 14px 10px;
  }
  .page {
    width: calc(50% - 4px);
    padding: 18px 10px;
  }
  .designer-reader {
    grid-template-columns: 1fr;
  }
  .designer-chip-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .designer-chip {
    flex: 1 1 140px;
  }
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .page-turn-controls {
    flex-wrap: wrap;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .workflow-step {
    padding: 12px;
  }
}

body.home-page {
  background:
    radial-gradient(circle at top, rgba(219, 191, 150, 0.34), transparent 26%),
    linear-gradient(180deg, #f7f1ea 0%, #fbf8f4 38%, #f4eee6 100%);
  color: #1f1914;
  font-family: "Avenir Next", "PingFang TC", "Noto Sans TC", sans-serif;
}

.home-page .container {
  width: min(1220px, 94vw);
}

.home-page .main-content {
  padding: 18px 0 42px;
}

.home-page .topbar {
  background: rgba(26, 20, 16, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.home-page .brand,
.home-page .nav-links a,
.home-page .link-btn {
  color: #f7ede2;
}

.home-page .brand {
  letter-spacing: 0.08em;
  max-width: min(54vw, 420px);
}

.home-page .nav-links a,
.home-page .link-btn {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: #1f1914;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
  letter-spacing: 0.01em;
}

.home-page .footer {
  border-top: 1px solid rgba(65, 46, 28, 0.1);
  color: #6b5543;
}

.home-page .footer-admin-link {
  color: #4a3628;
}

.home-page .btn {
  border-radius: 999px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1f1914, #423126);
  color: #fff7f0;
  box-shadow: 0 16px 24px rgba(31, 25, 20, 0.18);
}

.home-page .btn.ghost {
  background: rgba(255, 248, 240, 0.14);
  color: #fff3e4;
  border: 1px solid rgba(255, 238, 219, 0.24);
}

.home-page .fashion-home {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.home-page .section-kicker {
  margin: 0;
  color: #aa825d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.home-page .glass-panel {
  background: rgba(255, 249, 241, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 45px rgba(24, 18, 13, 0.18);
  backdrop-filter: blur(18px);
}

.home-page .fashion-hero {
  --mx: 0.5;
  --my: 0.5;
  position: relative;
  min-height: 760px;
  border-radius: 34px;
  overflow: hidden;
  background: #17120f;
  box-shadow: 0 34px 70px rgba(24, 18, 13, 0.22);
}

.home-page .fashion-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(var(--mx) * 100%) calc(var(--my) * 100%), rgba(226, 191, 128, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(12, 10, 9, 0.24), rgba(12, 10, 9, 0.05));
  pointer-events: none;
  z-index: 2;
  transition: background 0.35s ease;
}

.home-page .hero-stage {
  min-height: inherit;
  padding: 28px;
  position: relative;
}

.home-page .hero-media,
.home-page .hero-slide {
  position: absolute;
  inset: 0;
}

.home-page .hero-empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 48px;
  text-align: center;
  color: #f7ede2;
  background:
    radial-gradient(circle at top, rgba(185, 144, 94, 0.3), transparent 30%),
    linear-gradient(135deg, #17120f, #2b2018);
}

.home-page .hero-empty-state h1 {
  color: #fff5eb;
  font-size: clamp(42px, 6vw, 72px);
  margin: 0;
}

.home-page .hero-empty-state p:last-child {
  margin: 0;
  color: rgba(247, 237, 226, 0.78);
}

.home-page .hero-slide {
  opacity: 0;
  transition: opacity 0.95s ease;
}

.home-page .hero-slide.is-active {
  opacity: 1;
}

.home-page .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s ease;
  filter: saturate(0.96) contrast(1.06) brightness(0.82);
}

.home-page .hero-slide.is-active img {
  transform: scale(1);
}

.home-page .hero-slide-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(10, 8, 8, 0.74) 8%, rgba(10, 8, 8, 0.2) 46%, rgba(10, 8, 8, 0.64) 100%),
    linear-gradient(180deg, rgba(10, 8, 8, 0.02), rgba(10, 8, 8, 0.24));
  transition: background 0.35s ease, opacity 0.35s ease;
}

.home-page .hero-overlay-grid {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: flex;
  align-items: end;
}

.home-page .hero-stack {
  width: min(700px, 100%);
  display: grid;
  gap: 18px;
}

.home-page .hero-copy {
  padding: 36px;
  border-radius: 30px;
  max-width: none;
  transform: none;
}

.home-page .fashion-hero:hover::before {
  background:
    radial-gradient(circle at calc(var(--mx) * 100%) calc(var(--my) * 100%), rgba(226, 191, 128, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(12, 10, 9, 0.18), rgba(12, 10, 9, 0.04));
}

.home-page .fashion-hero:hover .hero-slide.is-active img {
  filter: saturate(1) contrast(1.08) brightness(0.88);
}

.home-page .fashion-hero:hover .hero-slide.is-active .hero-slide-wash {
  background:
    linear-gradient(102deg, rgba(10, 8, 8, 0.68) 8%, rgba(10, 8, 8, 0.14) 46%, rgba(10, 8, 8, 0.56) 100%),
    linear-gradient(180deg, rgba(10, 8, 8, 0.01), rgba(10, 8, 8, 0.18));
}

.home-page .hero-copy h1 {
  margin: 10px 0 16px;
  max-width: 7ch;
  color: #fff3e6;
  font-size: clamp(52px, 8vw, 94px);
  line-height: 0.94;
}

.home-page .hero-description {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 243, 230, 0.82);
  font-size: 15px;
  line-height: 1.8;
}

.home-page .hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-page .hero-process-link {
  background: rgba(255, 255, 255, 0.08);
  color: #fff5ea;
  border-color: rgba(255, 255, 255, 0.18);
}

.home-page .hero-process-link:hover {
  color: #fff5ea;
  border-color: rgba(255, 255, 255, 0.28);
}

.home-page .hero-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.home-page .hero-meta-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-page .hero-meta-label {
  color: rgba(255, 243, 230, 0.6);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-page .hero-meta-copy strong {
  color: #fff4e9;
  font-size: 28px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
}

.home-page .hero-meta-copy span:last-child {
  color: rgba(255, 243, 230, 0.72);
  font-size: 14px;
}

.home-page .hero-index {
  color: #f3ddbf;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-page .hero-mood {
  border-radius: 28px;
  padding: 20px 22px;
}

.home-page .hero-mood-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.home-page .hero-mood-label {
  margin: 0;
  color: rgba(255, 243, 230, 0.72);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page .hero-mood-count {
  color: #f3dcbf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-page .mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.home-page .mood-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 238, 219, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff4e6;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-page .mood-card {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 238, 219, 0.1);
}

.home-page .mood-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff4e6;
  font-size: 14px;
}

.home-page .mood-card span {
  display: block;
  color: rgba(255, 243, 230, 0.76);
  line-height: 1.75;
  font-size: 13px;
}

.home-page .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 16px;
}

.home-page .section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1;
}

.home-page .section-description {
  margin: 0;
  max-width: 34ch;
  color: #6d5a49;
  line-height: 1.8;
  font-size: 15px;
}

.home-page .lookbook-panel,
.home-page .workflow-section {
  padding-top: 8px;
}

.home-page .lookbook-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.home-page .lookbook-rotation-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.home-page .lookbook-nav {
  width: auto;
  margin-top: 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(62, 45, 28, 0.12);
  background: rgba(255, 252, 248, 0.88);
  color: #3a2a1d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: none;
}

.home-page .lookbook-counter {
  min-width: 84px;
  text-align: center;
  color: #8a6f57;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-page .lookbook-rotation-shell {
  position: relative;
  padding: 6px 0 18px;
}

.home-page .lookbook-rotation {
  position: relative;
  min-height: 620px;
  perspective: 1800px;
  overflow: hidden;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.home-page .lookbook-rotator-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(360px, calc(100% - 36px));
  overflow: hidden;
  min-height: 520px;
  border-radius: 30px;
  background: #161210;
  color: #fbf3ea;
  box-shadow: 0 22px 42px rgba(24, 18, 13, 0.14);
  border: 1px solid rgba(48, 34, 24, 0.08);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.38s ease, box-shadow 0.38s ease;
  transform-style: preserve-3d;
}

.home-page .lookbook-rotator-card.is-active {
  box-shadow: 0 34px 60px rgba(24, 18, 13, 0.22);
}

.home-page .lookbook-rotator-card.is-flipping .lookbook-image-wrap img {
  animation: lookbookImageFlip 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-page .lookbook-rotator-card.is-flipping .lookbook-content {
  animation: lookbookCopyPulse 0.72s ease;
}

.home-page .lookbook-rotator-card.is-hidden {
  opacity: 0;
}

.home-page .lookbook-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.home-page .lookbook-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.home-page .lookbook-rotator-card.is-active:hover .lookbook-image-wrap img {
  transform: scale(1.05);
}

.home-page .lookbook-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 15, 13, 0.68);
  border: 1px solid rgba(255, 245, 232, 0.14);
  color: #fff4e6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page .lookbook-content {
  padding: 22px;
}

.home-page .lookbook-eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 243, 230, 0.68);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page .lookbook-content h3 {
  margin: 0 0 16px;
  color: #fff4e6;
  font-size: 32px;
  line-height: 1.04;
}

.home-page .lookbook-card-link {
  display: inline-flex;
}

.home-page .lookbook-rotator-card:not(.is-active) .lookbook-card-link {
  pointer-events: none;
  opacity: 0.54;
}

.home-page .inline-link {
  color: #f2d8b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-page .inline-link:hover {
  color: #fff1de;
}

.home-page .editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
}

.home-page .editorial-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 28px;
  background: rgba(255, 252, 248, 0.88);
  border: 1px solid rgba(74, 53, 33, 0.08);
  box-shadow: 0 18px 34px rgba(24, 18, 13, 0.08);
}

.home-page .manifesto-card::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: -180px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 190, 143, 0.28), rgba(224, 190, 143, 0));
  pointer-events: none;
}

.home-page .editorial-card h2 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 0.98;
}

.home-page .editorial-copy {
  margin: 0;
  max-width: 44ch;
  color: #544434;
  line-height: 1.85;
  white-space: pre-line;
}

.home-page .mini-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-page .metric-tile {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(119, 90, 61, 0.08);
}

.home-page .metric-tile span {
  display: block;
  color: #8a6f57;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .metric-tile strong {
  display: block;
  margin-top: 10px;
  color: #1f1914;
  font-size: 34px;
  line-height: 1;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
}

.home-page .designer-spotlight-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
}

.home-page .designer-spotlight-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(145deg, #221a16, #4a382b);
}

.home-page .designer-spotlight-media.has-photo::after {
  content: "WJT";
  position: absolute;
  left: 50%;
  top: calc(50% + 1em);
  transform: translate(-50%, -50%);
  color: rgba(255, 244, 230, 0.84);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 18px rgba(31, 25, 20, 0.18);
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
  pointer-events: none;
}

.home-page .designer-spotlight-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-page .designer-spotlight-media .designer-spotlight-badge {
  display: none !important;
}

.home-page .designer-spotlight-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #fff4e6;
  font-size: 32px;
  text-align: center;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
}

.home-page .designer-spotlight-fallback[hidden] {
  display: none !important;
}

.home-page .designer-spotlight-media.has-photo .designer-spotlight-fallback {
  display: none !important;
}

.home-page .designer-spotlight-title {
  margin: -2px 0 12px;
  color: #8a6f57;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .designer-spotlight-copy p:last-of-type {
  color: #544434;
  line-height: 1.8;
}

.home-page .designer-pill-list {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-page .designer-pill {
  width: auto;
  margin-top: 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f3ebe1;
  color: #5b4736;
  font-size: 13px;
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-page .designer-pill:hover {
  transform: translateY(-1px);
}

.home-page .designer-pill.is-active {
  background: #1f1914;
  color: #fff4e7;
  border-color: rgba(31, 25, 20, 0.08);
}

.home-page .designer-spotlight-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.home-page .designer-more-link {
  color: #1f1914;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.home-page .designer-more-link:hover {
  color: #8a6f57;
}

.home-page .designer-spotlight-card .btn.ghost {
  background: #1f1914;
  color: #fff5ea;
  border-color: transparent;
}

.home-page .brand-essence-section {
  padding-top: 6px;
}

.home-page .engineering-spotlight-section {
  display: grid;
  gap: 18px;
}

.home-page .engineering-spotlight-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}

.home-page .engineering-spotlight-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
  background: linear-gradient(160deg, #201816, #4a3428);
}

.home-page .engineering-spotlight-media.has-photo::after {
  content: "WJT";
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255, 244, 230, 0.86);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 8px 18px rgba(31, 25, 20, 0.18);
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
  pointer-events: none;
}

.home-page .engineering-spotlight-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-page .engineering-spotlight-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #fff4e6;
  font-size: 32px;
  text-align: center;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
}

.home-page .engineering-spotlight-fallback[hidden] {
  display: none !important;
}

.home-page .engineering-spotlight-copy {
  display: grid;
  gap: 14px;
}

.home-page .engineering-certificate-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(31, 25, 20, 0.95), rgba(81, 57, 39, 0.92));
  color: #fff5ea;
}

.home-page .engineering-certificate-panel strong {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-page .engineering-certificate-panel p {
  margin: 0;
  color: rgba(255, 244, 230, 0.88);
  line-height: 1.85;
}

.home-page .engineering-certificate-panel .cert-pill-list {
  margin-top: 2px;
}

.home-page .engineering-pill-list {
  margin: 4px 0 0;
}

.home-page .engineering-pill.is-active {
  background: linear-gradient(135deg, #1f1914, #5b4432);
}

.home-page .brand-essence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-page .brand-essence-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  min-height: 286px;
  padding: 22px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(248, 243, 237, 0.98), rgba(240, 234, 226, 0.94)),
    linear-gradient(90deg, rgba(22, 27, 34, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 27, 34, 0.04) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  border: 1px solid rgba(53, 63, 77, 0.12);
  box-shadow: 0 22px 40px rgba(24, 18, 13, 0.08);
}

.home-page .brand-essence-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, rgba(36, 124, 255, 0.85), rgba(28, 84, 148, 0.18));
  pointer-events: none;
}

.home-page .brand-essence-card::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 84px;
  height: 84px;
  border-top: 1px solid rgba(53, 63, 77, 0.1);
  border-right: 1px solid rgba(53, 63, 77, 0.1);
  border-radius: 0 18px 0 0;
  pointer-events: none;
}

.home-page .brand-essence-card-2::before {
  background: linear-gradient(180deg, rgba(0, 176, 140, 0.82), rgba(0, 176, 140, 0.16));
}

.home-page .brand-essence-card-3::before {
  background: linear-gradient(180deg, rgba(193, 141, 80, 0.84), rgba(193, 141, 80, 0.18));
}

.home-page .brand-essence-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.home-page .brand-essence-code,
.home-page .brand-essence-spec,
.home-page .brand-essence-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-page .brand-essence-code {
  color: #7e8a97;
}

.home-page .brand-essence-spec {
  color: #1f1914;
}

.home-page .brand-essence-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.home-page .brand-essence-mark {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 96px;
  min-height: 172px;
  border-radius: 20px;
  background:
    linear-gradient(160deg, #14181e, #1f2430 60%, #3c4e67 136%);
  color: #f6efe5;
  font-size: 54px;
  line-height: 1;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 22px 30px rgba(16, 20, 28, 0.18);
}

.home-page .brand-essence-mark::before,
.home-page .brand-essence-mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.home-page .brand-essence-mark::after {
  inset: auto 14px 14px auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.12);
}

.home-page .brand-essence-copy {
  position: relative;
  z-index: 1;
}

.home-page .brand-essence-title {
  margin: 6px 0 14px;
  color: #1f1914;
  font-size: 28px;
  line-height: 1.06;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
}

.home-page .brand-essence-copy p:last-child {
  margin: 0;
  color: #544434;
  line-height: 1.9;
  white-space: pre-line;
}

.home-page .brand-essence-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(53, 63, 77, 0.1);
}

.home-page .brand-essence-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(18, 24, 32, 0.05);
  border: 1px solid rgba(53, 63, 77, 0.1);
  color: #4f5f6c;
}

.home-page .cert-strip {
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(135deg, #1a1512, #2b2019 54%, #3f2b1e 100%);
  box-shadow: 0 24px 42px rgba(24, 18, 13, 0.14);
}

.home-page .cert-strip .section-heading h2,
.home-page .cert-strip .section-description {
  color: #fff4e6;
}

.home-page .cert-strip .section-kicker {
  color: #d9b893;
}

.home-page .cert-strip .section-description {
  color: rgba(255, 243, 230, 0.74);
}

.home-page .cert-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-page .cert-pill {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 243, 230, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff3e4;
  font-size: 14px;
}

.home-page .workflow-fashion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-page .workflow-fashion-step {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 252, 248, 0.88);
  border: 1px solid rgba(74, 53, 33, 0.08);
  box-shadow: 0 18px 34px rgba(24, 18, 13, 0.08);
  min-height: 230px;
}

.home-page .workflow-number {
  display: inline-block;
  margin-bottom: 24px;
  color: #aa825d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.home-page .workflow-fashion-step h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.04;
}

.home-page .workflow-fashion-step p {
  margin: 0;
  color: #544434;
  line-height: 1.8;
}

.home-page .contact-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 300px;
  gap: 22px;
  align-items: stretch;
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(135deg, #1a1411, #30231b 58%, #7a5637 130%);
  box-shadow: 0 28px 48px rgba(24, 18, 13, 0.18);
}

.home-page .contact-cta::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 205, 159, 0.24), rgba(239, 205, 159, 0));
  pointer-events: none;
}

.home-page .contact-cta-copy {
  position: relative;
  z-index: 1;
}

.home-page .contact-cta-copy h2 {
  margin: 8px 0 14px;
  color: #fff4e8;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.home-page .contact-cta-copy p:last-of-type {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 243, 230, 0.78);
  line-height: 1.8;
}

.home-page .contact-cta-side {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
}

.home-page .contact-side-label {
  margin: 0;
  color: rgba(255, 243, 230, 0.72);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-page .contact-side-note {
  margin: 0;
  color: rgba(255, 243, 230, 0.78);
  line-height: 1.75;
}

.home-page .contact-side-actions {
  display: grid;
  gap: 10px;
}

.home-page .contact-side-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.9);
  color: #1f1914;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-page .contact-side-btn:hover {
  color: #8a6f57;
}

.home-page .contact-qr {
  width: 180px;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
}

.process-page {
  background:
    radial-gradient(circle at 14% 0%, rgba(32, 109, 236, 0.16), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(3, 165, 132, 0.14), transparent 22%),
    linear-gradient(180deg, #151617 0%, #1a1a1b 42%, #141515 100%);
  color: #f2ece3;
}

.process-page .topbar {
  background: rgba(10, 10, 11, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-page .brand,
.process-page .nav-links a,
.process-page .link-btn {
  color: #f6eee3;
}

.process-page h1,
.process-page h2,
.process-page h3 {
  color: #f6eee3;
}

.process-page .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #bcaf9f;
}

.process-page .main-content {
  display: grid;
  gap: 24px;
  padding: 28px 0 74px;
}

.process-page .page-kicker,
.process-page .process-divider,
.process-page .process-hero-side-kicker,
.process-page .company-panel-kicker,
.process-page .trade-column-title,
.process-page .craft-profile-kicker,
.process-page .promise-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.process-page .page-kicker {
  color: #b99e80;
}

.process-page .page-hero.process-hero,
.process-page .company-panel,
.process-page .process-copy-panel,
.process-page .trade-system-grid,
.process-page .promise-card,
.process-page .craft-profile-card,
.process-page .gallery-section.process-measurement-panel,
.process-page .discount-panel {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.28);
}

.process-page .page-hero.process-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  padding: 44px;
  grid-template-columns: minmax(0, 1.22fr) 320px;
  gap: 28px;
  background:
    radial-gradient(circle at 80% 100%, rgba(179, 120, 69, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(29, 30, 31, 0.98), rgba(18, 19, 20, 0.96) 62%, rgba(20, 53, 99, 0.56) 120%);
}

.process-page .page-hero.process-hero::before {
  content: "";
  position: absolute;
  inset: auto -16% -46% 46%;
  height: 420px;
  background: radial-gradient(circle, rgba(26, 116, 250, 0.18), transparent 64%);
  pointer-events: none;
}

.process-page .process-hero-copy,
.process-page .process-hero-side-card {
  position: relative;
  z-index: 1;
}

.process-page .process-hero-copy {
  display: grid;
  gap: 16px;
}

.process-page .process-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.94;
}

.process-page .process-hero-intro {
  display: grid;
  gap: 6px;
}

.process-page .process-hero-brand {
  margin: 0;
  color: #fff6ea;
  font-size: 44px;
  font-weight: 700;
  font-family: "Iowan Old Style", "Palatino Linotype", "Noto Serif TC", serif;
  letter-spacing: 0.12em;
}

.process-page .process-hero-line {
  margin: 0;
  color: #cdbbaa;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.process-page .process-hero .page-lead {
  max-width: 56ch;
  color: #ddd1c4;
  line-height: 1.9;
}

.process-page .process-hero-side {
  padding-top: 0;
}

.process-page .process-hero-side-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-page .process-hero-side-kicker {
  margin: 0;
  color: #c6a98a;
  font-size: 12px;
  font-weight: 700;
}

.process-page .page-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4e9dc;
}

.process-page .process-hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.process-page .process-hero-metric {
  padding: 15px 12px;
  border-radius: 18px;
  text-align: center;
  background: rgba(8, 8, 9, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-page .process-hero-metric strong {
  display: block;
  color: #fff3e3;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.process-page .process-hero-metric span {
  display: block;
  margin-top: 8px;
  color: #b7a493;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-page .process-section {
  display: grid;
  gap: 18px;
}

.process-page .process-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #bfb1a4;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
}

.process-page .process-divider::before,
.process-page .process-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.process-page .company-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.process-page .company-panel {
  padding: 28px 22px 22px;
  background: linear-gradient(180deg, rgba(35, 35, 36, 0.96), rgba(25, 25, 26, 0.96));
}

.process-page .company-panel-0 {
  box-shadow:
    inset 0 0 0 1px rgba(44, 122, 240, 0.42),
    0 26px 56px rgba(0, 0, 0, 0.28);
}

.process-page .company-panel-1 {
  box-shadow:
    inset 0 0 0 1px rgba(0, 178, 130, 0.42),
    0 26px 56px rgba(0, 0, 0, 0.28);
}

.process-page .company-panel-kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.process-page .company-panel-0 .company-panel-kicker {
  color: #2c82ff;
}

.process-page .company-panel-1 .company-panel-kicker {
  color: #00aa83;
}

.process-page .company-panel h2 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 3vw, 40px);
}

.process-page .company-panel-description {
  margin: 0;
  color: #ddd0c3;
  line-height: 1.9;
}

.process-page .company-panel-list {
  margin-top: 18px;
}

.process-page .company-panel-list p {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  color: #f2e9de;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process-page .company-panel-list p span {
  color: #8f7d6b;
}

.process-page .process-prologue {
  padding: 4px 0 8px;
}

.process-page .process-prologue p {
  margin: 0;
  color: #f1e7da;
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.95;
}

.process-page .engineering-step-list {
  display: grid;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(32, 32, 33, 0.96), rgba(22, 22, 23, 0.96));
}

.process-page .engineering-step-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  background: rgba(0, 0, 0, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process-page .engineering-step-card:first-child {
  border-top: 0;
}

.process-page .engineering-step-index {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(18, 18, 19, 0.52), rgba(26, 26, 27, 0.16));
}

.process-page .engineering-step-index strong {
  color: #247cff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.process-page .engineering-step-index span {
  color: #c0b0a1;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.process-page .engineering-step-body {
  padding: 24px 22px 22px;
}

.process-page .engineering-step-body h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 38px);
}

.process-page .engineering-step-body p {
  margin: 0 0 16px;
  color: #ddd1c4;
  line-height: 1.9;
}

.process-page .engineering-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.process-page .engineering-tag-list span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5ecde;
  font-size: 13px;
}

.process-page .trade-system-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  background: linear-gradient(180deg, rgba(34, 34, 35, 0.96), rgba(24, 24, 25, 0.98));
}

.process-page .trade-column {
  padding: 22px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.process-page .trade-column:last-child {
  border-right: 0;
}

.process-page .trade-column-title {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
}

.process-page .trade-design .trade-column-title {
  color: #2c82ff;
}

.process-page .trade-base .trade-column-title {
  color: #00aa83;
}

.process-page .trade-finish .trade-column-title {
  color: #d37b3f;
}

.process-page .trade-mep .trade-column-title {
  color: #c9a444;
}

.process-page .trade-close .trade-column-title {
  color: #8f71ff;
}

.process-page .trade-column-list {
  display: grid;
}

.process-page .trade-column-item {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process-page .trade-column-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.process-page .trade-column-item strong {
  display: block;
  color: #f8eee1;
  font-size: 17px;
  line-height: 1.4;
}

.process-page .trade-column-item span {
  display: block;
  margin-top: 3px;
  color: #cbbbab;
  line-height: 1.7;
}

.process-page .process-copy-panel {
  padding: 32px;
  background: linear-gradient(180deg, rgba(35, 35, 36, 0.96), rgba(25, 25, 26, 0.96));
}

.process-page .process-copy-panel h2,
.process-page .plan-card h3,
.process-page .discount-panel h2 {
  margin: 0 0 14px;
}

.process-page .process-copy-panel p,
.process-page .discount-panel p:last-of-type,
.process-page .promise-card p,
.process-page .craft-profile-card > p:last-of-type {
  margin: 0;
  color: #ddd1c4;
  line-height: 1.95;
}

.process-page .craft-profile-grid,
.process-page .promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-page .craft-profile-card,
.process-page .promise-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(180deg, rgba(35, 35, 36, 0.96), rgba(24, 24, 25, 0.96));
}

.process-page .craft-profile-card::before,
.process-page .promise-card::before {
  content: "";
  position: absolute;
  inset: auto -32px -64px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(42, 114, 237, 0.14), transparent 66%);
  pointer-events: none;
}

.process-page .craft-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.process-page .craft-profile-kicker,
.process-page .promise-kicker {
  margin: 0 0 10px;
  color: #b99e80;
  font-size: 12px;
  font-weight: 700;
}

.process-page .craft-profile-card h3,
.process-page .promise-card h3 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
}

.process-page .craft-profile-mark {
  display: grid;
  place-items: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7ede0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-page .gallery-section.process-measurement-panel {
  padding: 32px;
  background: linear-gradient(180deg, rgba(35, 35, 36, 0.96), rgba(24, 24, 25, 0.96));
}

.process-page .gallery-section.process-measurement-panel h2 {
  color: #f6eee3;
}

.process-page .plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.process-page .plan-card {
  border-radius: 28px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(43, 43, 44, 0.96), rgba(28, 28, 29, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-page .plan-card-featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(164, 98, 42, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(17, 66, 134, 0.62), rgba(28, 28, 29, 0.96) 62%, rgba(90, 57, 34, 0.62) 122%);
}

.process-page .plan-card-featured,
.process-page .plan-card-featured h3,
.process-page .plan-card-featured p {
  color: #fff4e6;
}

.process-page .plan-price {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5ebde;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-page .plan-card-featured .plan-price {
  background: rgba(255, 244, 230, 0.12);
  color: #fff4e6;
}

.process-page .plan-card h3 {
  font-size: clamp(26px, 2.8vw, 34px);
}

.process-page .stacked-list p {
  color: #ece1d5;
  border-color: rgba(255, 255, 255, 0.1);
}

.process-page .discount-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(180, 117, 67, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(31, 31, 32, 0.98), rgba(19, 19, 20, 0.98) 62%, rgba(17, 70, 138, 0.46) 124%);
}

.process-page .discount-panel h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
}

.process-page .discount-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.process-page .btn {
  background: linear-gradient(135deg, #f5e8d8, #dbc7b1);
  color: #1f1914;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.process-page .btn:hover {
  color: #1f1914;
}

.process-page .btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #f7eee3;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1180px) {
  .process-page .page-hero.process-hero,
  .process-page .company-panel-grid,
  .process-page .craft-profile-grid,
  .process-page .promise-grid,
  .process-page .plan-grid,
  .process-page .discount-panel {
    grid-template-columns: 1fr;
  }

  .process-page .trade-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .process-page .trade-column {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(35, 35, 36, 0.96), rgba(24, 24, 25, 0.96));
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
  }
}

@media (max-width: 820px) {
  .process-page .page-hero.process-hero,
  .process-page .gallery-section.process-measurement-panel,
  .process-page .process-copy-panel,
  .process-page .discount-panel {
    padding: 26px 22px;
  }

  .process-page .process-hero-brand {
    font-size: 32px;
  }

  .process-page .process-hero-metric-grid,
  .process-page .trade-system-grid {
    grid-template-columns: 1fr;
  }

  .process-page .company-panel-grid,
  .process-page .craft-profile-grid,
  .process-page .promise-grid,
  .process-page .plan-grid {
    grid-template-columns: 1fr;
  }

  .process-page .engineering-step-card {
    grid-template-columns: 1fr;
  }

  .process-page .engineering-step-index {
    justify-items: start;
    gap: 8px;
    padding: 20px 22px 0;
    border-right: 0;
    background: transparent;
  }

  .process-page .engineering-step-body {
    padding-top: 18px;
  }
}

@media (max-width: 1080px) {
  .home-page .hero-overlay-grid,
  .home-page .editorial-grid,
  .home-page .contact-cta {
    grid-template-columns: 1fr;
  }

  .home-page .hero-side {
    padding-top: 0;
  }

  .home-page .workflow-fashion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .brand-essence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-page .container {
    width: min(100%, 94vw);
  }

  .home-page .nav-wrap {
    align-items: flex-start;
  }

  .home-page .fashion-hero {
    min-height: 680px;
    border-radius: 28px;
  }

  .home-page .hero-stage {
    padding: 14px;
  }

  .home-page .hero-copy,
  .home-page .hero-thumbs,
  .home-page .hero-mood,
  .home-page .editorial-card,
  .home-page .cert-strip,
  .home-page .contact-cta {
    border-radius: 24px;
  }

  .home-page .hero-copy {
    padding: 24px 20px;
    max-width: none;
  }

  .home-page .hero-copy h1 {
    max-width: 8ch;
    font-size: clamp(40px, 14vw, 64px);
  }

  .home-page .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .hero-thumbs {
    overflow-x: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
  }

  .home-page .hero-thumb {
    min-width: 220px;
  }

  .home-page .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .section-description {
    max-width: none;
  }

  .home-page .lookbook-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .lookbook-rotation-controls {
    width: 100%;
    justify-content: space-between;
  }

  .home-page .lookbook-rotation {
    min-height: 520px;
  }

  .home-page .lookbook-rotator-card {
    min-height: 430px;
    width: min(280px, calc(100% - 24px));
  }

  .home-page .lookbook-content h3,
  .home-page .workflow-fashion-step h3 {
    font-size: 26px;
  }

  .home-page .brand-essence-card {
    min-height: auto;
  }

  .home-page .brand-essence-head,
  .home-page .brand-essence-body {
    grid-template-columns: 1fr;
  }

  .home-page .brand-essence-head {
    display: grid;
  }

  .home-page .brand-essence-mark {
    width: 84px;
    min-height: 84px;
  }

.home-page .designer-spotlight-card {
  grid-template-columns: 1fr;
}

.home-page .designer-spotlight-media {
    width: min(100%, 320px);
    min-height: 540px;
    margin: 0 auto;
  }

  .home-page .engineering-spotlight-card {
    grid-template-columns: 1fr;
  }

  .home-page .engineering-spotlight-media {
    width: min(100%, 340px);
    min-height: 560px;
    margin: 0 auto;
  }

  .home-page .designer-spotlight-media.has-photo::after {
    top: calc(52% + 1em);
  }

  .home-page .designer-spotlight-footer {
    align-items: flex-start;
  }

  .home-page .mood-grid {
    grid-template-columns: 1fr;
  }

  .home-page .mini-metrics,
  .home-page .workflow-fashion-grid {
    grid-template-columns: 1fr;
  }

  .home-page .contact-qr {
    width: 160px;
  }

  .designer-detail-page .detail-cover-wide {
    aspect-ratio: 4 / 5;
  }

  .designer-detail-page .detail-cover-wide img {
    object-position: center top;
  }

  .process-page .plan-grid,
  .process-page .discount-panel,
  .process-page .process-step-card {
    grid-template-columns: 1fr;
  }

  .process-page .process-step-no {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .fashion-hero::before,
  .home-page .hero-slide,
  .home-page .hero-slide img,
  .home-page .hero-thumb,
  .home-page .lookbook-rotator-card,
  .home-page .lookbook-image-wrap img,
  .home-page .lookbook-content {
    transition: none;
    animation: none;
  }

  .home-page .hero-copy {
    transform: none;
  }
}

@keyframes lookbookImageFlip {
  0% {
    transform: scale(1) rotateY(0deg);
    filter: saturate(1);
  }
  42% {
    transform: scale(1.06) rotateY(16deg);
    filter: saturate(1.18) brightness(1.05);
  }
  100% {
    transform: scale(1) rotateY(0deg);
    filter: saturate(1);
  }
}

@keyframes lookbookCopyPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  38% {
    transform: translateY(-8px);
    opacity: 0.82;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes designerPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.72; }
}
