/* Tectoklab — blue/white brand page */
:root {
  --paper: #F7FBFF;
  --surface: #FFFFFF;
  --ink: #123056;
  --cobalt: #1F6FEB;
  --rule: #E4EEF8;
  --muted: #5C7A99;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(18, 48, 86, 0.08);
  --font-display: Arial, Helvetica, "Helvetica Neue", "Noto Serif TC", sans-serif;
  --font-body: Arial, Helvetica, "Helvetica Neue", "Noto Serif TC", sans-serif;
  --font-elegant: "Cormorant Garamond", "Times New Roman", serif;
  --fly: clamp(72px, 16vw, 220px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 251, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  display: block;
  height: 3.35rem;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop > a {
  color: #000;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-desktop > a:hover,
.nav-desktop > a:focus-visible {
  color: var(--cobalt);
}

.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 6.5rem;
  height: 1.9rem;
  padding: 0.16rem;
  border-radius: 999px;
  background: #e6eef7;
  border: 1px solid #d3e1ef;
  vertical-align: middle;
}

.lang-switch-thumb {
  position: absolute;
  top: 0.16rem;
  bottom: 0.16rem;
  left: 0.16rem;
  width: calc(50% - 0.16rem);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(18, 48, 86, 0.16);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.lang-switch.is-en .lang-switch-thumb {
  transform: translateX(100%);
}

.lang-switch a {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0;
  border-radius: 999px;
  color: #6d849b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lang-switch a.is-active {
  color: #102848;
  background: transparent;
  font-weight: 700;
}

.lang-switch a:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--rule);
  padding: 1rem 0 1.25rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile > a {
  display: block;
  padding: 0.7rem 0;
  color: #000;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease;
}

.nav-mobile > a:hover,
.nav-mobile > a:focus-visible {
  color: var(--cobalt);
}

.nav-mobile .lang-switch {
  margin-top: 0.85rem;
}

/* Hero — studio scene on the right, copy locked to the light left */
.hero {
  position: relative;
  padding: 1.35rem 0 1.6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 78% 42%, rgba(120, 176, 235, 0.28), transparent 68%),
    linear-gradient(180deg, #f5f9fd 0%, #f7fbff 58%, #f4f8fc 100%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.hero-grid {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  min-height: 32.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  padding: 1.25rem 0 1.5rem;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3.25rem;
  top: 4.6rem;
  width: 11.5rem;
  height: 9.5rem;
  background-image: radial-gradient(circle, rgba(59, 122, 214, 0.42) 1.05px, transparent 1.2px);
  background-size: 13px 13px;
  mask-image: radial-gradient(ellipse at 42% 48%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.55rem, 3.7vw, 3.45rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #102848;
  margin: 0 0 1.15rem;
  max-width: 11em;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy p {
  margin: 0;
  color: #5d7590;
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 34ch;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.btn-primary {
  background: #2f6fe0;
  color: #fff;
  min-width: 7.4rem;
  padding-inline: 1.35rem;
  box-shadow: 0 10px 22px rgba(47, 111, 224, 0.22);
}

.btn-primary:hover {
  background: #185dcb;
}

.magnetic-btn {
  transition: background 0.15s ease;
}

.magnetic-btn-label {
  display: inline-block;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.hero-action-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
}

.btn-quote {
  background: #fff;
  color: var(--ink);
  border-color: #c5d7ea;
  min-width: 7.4rem;
  padding-inline: 1.35rem;
}

.btn-quote:hover {
  border-color: #8aa4c0;
  color: var(--ink);
  background: #f4f8fb;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.hero-text-link:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
  border-radius: 4px;
}

.hero-text-swap {
  display: inline-grid;
  overflow: hidden;
  height: 1.2em;
}

.hero-text-swap span {
  grid-area: 1 / 1;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-text-swap span:last-child {
  color: var(--cobalt);
  transform: translateY(110%);
}

.hero-text-arrow {
  display: inline-block;
  transition: transform 0.22s ease;
}

.hero-text-link:hover .hero-text-arrow,
.hero-text-link:focus-visible .hero-text-arrow {
  transform: translateX(0.4rem);
}

.hero-text-link:hover .hero-text-swap span,
.hero-text-link:focus-visible .hero-text-swap span {
  transition-delay: 0.18s;
}

.hero-text-link:hover .hero-text-swap span:first-child,
.hero-text-link:focus-visible .hero-text-swap span:first-child {
  transform: translateY(-110%);
}

.hero-text-link:hover .hero-text-swap span:last-child,
.hero-text-link:focus-visible .hero-text-swap span:last-child {
  transform: translateY(0);
}

.hero-visual {
  position: static;
  z-index: 1;
  align-self: stretch;
  min-height: 32.5rem;
  pointer-events: none;
}

.hero-visual img,
.hero-visual-empty {
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-visual img {
  position: absolute;
  top: 0.5rem;
  right: 0;
  left: auto;
  width: max(58vw, calc(100vw - 44rem));
  height: 34rem;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-visual-empty {
  position: absolute;
  inset: 8% 6% 12% 10%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-align: center;
  background:
    radial-gradient(circle at 70% 42%, rgba(47, 125, 230, 0.16), transparent 46%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(186, 214, 242, 0.35));
  border-radius: 28px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8.5rem;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(247, 251, 255, 0.55) 34%, #f7fbff 70%);
}

.hero-stats {
  position: relative;
  z-index: 2;
}

.hero-stats {
  --stat-cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--stat-cols), minmax(0, 1fr));
  gap: 0;
  margin: 0.35rem 0 0;
  padding: 1.15rem 0 0.35rem;
  border-top: 1px solid rgba(176, 198, 220, 0.7);
}

.hero-stat {
  min-width: 0;
  padding: 0.15rem 1.35rem 0.15rem 0;
}

.hero-stat + .hero-stat {
  padding-left: 1.35rem;
  border-left: 1px solid rgba(176, 198, 220, 0.85);
}

.hero-stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 3.5vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #102848;
  font-variant-numeric: tabular-nums;
}

.hero-stat dt {
  margin: 0.4rem 0 0;
  max-width: 12em;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  color: #6a8298;
}

/* Each section flies in from one side. Removing .is-inview reverses it. */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js .reveal:not(.is-inview) {
  pointer-events: none;
}

html.js .reveal-from-left {
  transform: translate3d(calc(var(--fly) * -1), 0, 0);
}

html.js .reveal-from-right {
  transform: translate3d(var(--fly), 0, 0);
}

html.js .reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lang-switch-thumb {
    transition: none;
  }
  html.js .reveal,
  html.js .reveal.is-inview,
  html.js .reveal-from-left,
  html.js .reveal-from-right,
  html.js .reveal-from-left.is-inview,
  html.js .reveal-from-right.is-inview {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .work-overlay,
  .work-overlay-panel,
  .faq-answer {
    transition: none !important;
  }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Points */
.points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  perspective: 1100px;
}

.point-card {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
}

.point-card-tilt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  min-height: 11.5rem;
  padding: 1.5rem 1.4rem 1.55rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.18s ease-out,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 0 0 rgba(18, 48, 86, 0);
  will-change: transform;
}

.point-card-tilt.is-tilting {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.point-card-tilt:hover,
.point-card-tilt.is-hot {
  border-color: transparent;
  box-shadow: 0 22px 44px rgba(18, 48, 86, 0.16);
}

.point-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  background: radial-gradient(
    180px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 28%,
    transparent 58%
  );
  mix-blend-mode: soft-light;
  transition: opacity 0.25s ease;
}

.point-card-tilt:hover .point-card-shine,
.point-card-tilt.is-hot .point-card-shine {
  opacity: 1;
}

@property --fill-s {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --fill-o {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --icon-o {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.point-card-fill {
  position: absolute;
  left: var(--fill-x, 50%);
  top: var(--fill-y, 50%);
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  background: var(--cobalt);
  /* --fill-s is driven by mouse distance from the entry edge (0 → ~90) */
  transform: scale(var(--fill-s));
  opacity: var(--fill-o);
  z-index: 0;
  pointer-events: none;
  transition:
    --fill-s 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    --fill-o 0.3s ease;
  will-change: transform, opacity;
}

.point-card-top {
  position: relative;
  z-index: 2;
  min-height: 3.6rem;
  margin-bottom: 0.85rem;
}

.point-card-index {
  display: inline-block;
  font-family: var(--font-elegant);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(2.55rem, 4.2vw, 3.35rem);
  letter-spacing: 0.08em;
  color: var(--cobalt);
  line-height: 1;
  transition: color 0.28s ease;
}

.point-card-icon {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  color: #fff;
  background: transparent;
  /* Shown for the whole time the blue fill is in, not by cursor position */
  opacity: var(--icon-o);
  transform:
    translateX(calc((1 - var(--icon-o)) * 12px))
    scale(calc(0.88 + var(--icon-o) * 0.12));
  pointer-events: none;
  transition: --icon-o 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.point-card-icon svg {
  width: 2.7rem;
  height: 2.7rem;
}

.point-card-tilt.is-hot .point-card-index {
  color: rgba(255, 255, 255, 0.9);
}

.point-card-body {
  position: relative;
  z-index: 2;
}

.point-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.28s ease;
}

.point-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  transition: color 0.28s ease;
}

/* Text turns white as soon as the blue fill begins, not only when fully covered */
.point-card-tilt.is-hot h3,
.point-card-tilt.is-hot p {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .point-card-tilt {
    transform: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .point-card-tilt:hover,
  .point-card-tilt.is-hot {
    background: var(--cobalt);
  }

  .point-card-fill,
  .point-card-shine {
    display: none;
  }

  .point-card-icon {
    transform: none;
    transition: none;
  }

  .point-card-tilt:hover .point-card-index,
  .point-card-tilt.is-hot .point-card-index {
    color: rgba(255, 255, 255, 0.9);
  }

  .point-card-tilt:hover h3,
  .point-card-tilt:hover p,
  .point-card-tilt.is-hot h3,
  .point-card-tilt.is-hot p {
    color: #fff;
  }
}

/* Works carousel */
.works-carousel {
  position: relative;
}

.works-carousel-viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  margin: 0 -0.15rem;
  padding: 0.15rem;
  touch-action: pan-y;
}

.works-carousel-track {
  display: flex;
  gap: 1.1rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.works-carousel-track.is-dragging {
  transition: none;
  cursor: grabbing;
}

.works-carousel-track.is-dragging .work-card,
.works-carousel-track.is-dragging .work-card:hover {
  transform: none;
  cursor: grabbing;
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 min(100%, 520px);
  width: min(100%, 520px);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  padding: 0;
  cursor: pointer;
  color: inherit;
  isolation: isolate;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: #c7daf0;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  outline: none;
}

.work-card--dark {
  background: linear-gradient(165deg, #1a3a63 0%, #123056 55%, #0d2440 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.work-card--dark:hover,
.work-card--dark:focus-visible {
  border-color: rgba(126, 176, 255, 0.35);
  box-shadow: 0 22px 44px rgba(18, 48, 86, 0.28);
}

.work-card--dark .work-body p {
  color: rgba(231, 240, 255, 0.72);
}

.work-card--dark .work-open-hint {
  color: #9ec1ff;
}

.work-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    240px circle at var(--spot-x, 50%) var(--spot-y, 40%),
    rgba(255, 255, 255, 0.22) 0%,
    rgba(126, 176, 255, 0.1) 28%,
    transparent 60%
  );
  mix-blend-mode: soft-light;
  transition: opacity 0.2s ease;
}

.work-card--dark:hover .work-spotlight,
.work-card--dark.is-spotting .work-spotlight {
  opacity: 1;
}

.work-cover {
  position: relative;
  z-index: 0;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.18), rgba(18, 48, 86, 0.08)),
    #eaf2fb;
  overflow: hidden;
}

.work-card--dark .work-cover {
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.35), rgba(9, 24, 48, 0.55)),
    #0f2744;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.work-body {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.work-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.work-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.work-chip {
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.1);
  color: #1a5fd0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.work-card--dark .work-chip {
  background: rgba(255, 255, 255, 0.1);
  color: #d7e6ff;
}

.work-open-hint {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--cobalt);
  font-weight: 600;
  text-align: right;
}

.works-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.35rem;
}

.carousel-nav {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.carousel-nav svg {
  width: 1.15rem;
  height: 1.15rem;
}

.carousel-nav:hover,
.carousel-nav:focus-visible {
  border-color: var(--cobalt);
  color: var(--cobalt);
  outline: none;
}

.carousel-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #c5d6ea;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dot.is-active {
  width: 1.35rem;
  background: var(--cobalt);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .works-carousel-track {
    transition: none;
  }

  .work-spotlight {
    display: none;
  }
}

/* Product page — theme follows work card (dark / light) */
.work-overlay {
  --product-bg: #1a1d21;
  --product-chrome: #1e2227;
  --product-preview: #171a1e;
  --product-frame: #2a2f36;
  --product-line: rgba(255, 255, 255, 0.08);
  --product-muted: rgba(255, 255, 255, 0.48);
  --product-text: #f5f5f5;
  --product-title: #fff;
  --product-soft: rgba(255, 255, 255, 0.42);
  --product-body: rgba(255, 255, 255, 0.58);
  --product-label: rgba(255, 255, 255, 0.38);
  --product-value: rgba(255, 255, 255, 0.92);
  --product-icon: rgba(255, 255, 255, 0.72);
  --product-icon-hover: rgba(255, 255, 255, 0.08);
  --product-border: rgba(255, 255, 255, 0.06);
  --product-dot: rgba(255, 255, 255, 0.28);
  --product-pager-border: rgba(255, 255, 255, 0.16);
  --product-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --product-accent: #4d8dff;
  --product-cta-ink: #fff;
  --product-scrim: rgba(10, 12, 14, 0.72);
  --product-glow: rgba(77, 141, 255, 0.1);
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background: var(--product-scrim);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.work-overlay.is-light {
  --product-bg: #fff;
  --product-chrome: #eef3fa;
  --product-preview: #e8eef7;
  --product-frame: #dfe7f3;
  --product-line: rgba(15, 35, 70, 0.1);
  --product-muted: rgba(20, 40, 75, 0.5);
  --product-text: #152238;
  --product-title: #0f1c33;
  --product-soft: rgba(20, 40, 75, 0.45);
  --product-body: rgba(20, 40, 75, 0.62);
  --product-label: rgba(20, 40, 75, 0.45);
  --product-value: #152238;
  --product-icon: rgba(20, 40, 75, 0.62);
  --product-icon-hover: rgba(31, 111, 235, 0.1);
  --product-border: rgba(15, 35, 70, 0.08);
  --product-dot: rgba(20, 40, 75, 0.22);
  --product-pager-border: rgba(15, 35, 70, 0.16);
  --product-shadow: 0 28px 80px rgba(20, 45, 90, 0.18);
  --product-accent: #1f6feb;
  --product-cta-ink: #fff;
  --product-scrim: rgba(232, 238, 247, 0.78);
  --product-glow: rgba(31, 111, 235, 0.12);
}

.work-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.work-overlay-panel.product-page {
  width: min(1120px, 100%);
  height: min(860px, calc(100% - 0.25rem));
  max-height: 100%;
  background: transparent;
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.work-overlay.is-open .work-overlay-panel.product-page {
  transform: scale(1);
  opacity: 1;
}

.work-overlay.is-shared .work-overlay-panel.product-page {
  transform: none;
  transition: opacity 0.32s ease;
}

.work-overlay.is-closing .work-overlay-panel.product-page {
  transform: none;
  opacity: 1;
  transition: none;
}

.product-preview-frame.is-shared-hidden > img,
.product-preview-frame.is-shared-hidden > .browser-placeholder {
  opacity: 0;
}

.shared-flyer {
  position: fixed;
  z-index: 120;
  margin: 0;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  transform-origin: top left;
  will-change: transform;
}

.product-shell {
  --product-wash: var(--product-bg);
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--product-bg);
  color: var(--product-text);
  box-shadow: var(--product-shadow);
  border: 0;
}

.product-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.15rem 0.35rem;
  background: transparent;
  border-bottom: 0;
}

.product-chrome-left,
.product-chrome-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-traffic {
  display: inline-flex;
  gap: 0.4rem;
  margin-right: 0.35rem;
}

.product-traffic i,
.product-traffic .traffic-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.product-traffic .is-close { background: #ff5f57; }
.product-traffic .is-min { background: #febc2e; }
.product-traffic .is-max { background: #28c840; }

.product-index {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--product-title);
}

.product-top-label {
  color: var(--product-muted);
  font-size: 0.88rem;
}

.product-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--product-icon);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-like {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  width: auto;
  min-width: 2.15rem;
  padding: 0 0.45rem;
}

.product-like-count {
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.product-like-glyph {
  position: relative;
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  place-items: center;
}

.product-like-heart {
  display: block;
  overflow: visible;
  transform-origin: center;
}

.product-like.is-on .product-like-heart {
  fill: currentColor;
  stroke-width: 0;
  transform: scale(1.06);
}

.product-like.is-pop .product-like-heart {
  animation: like-heart-morph 0.64s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product-like.is-out .product-like-heart {
  animation: like-heart-release 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes like-heart-morph {
  0% {
    transform: scale(1) rotate(0deg);
    fill: transparent;
    stroke-width: 1.5;
  }
  28% {
    transform: scale(0.56) rotate(-10deg);
    fill: transparent;
    stroke-width: 2.4;
  }
  56% {
    transform: scale(1.42) rotate(7deg);
    fill: #ff3352;
    stroke-width: 0.15;
  }
  76% {
    transform: scale(0.9) rotate(-2deg);
    fill: #ff3352;
    stroke-width: 0;
  }
  100% {
    transform: scale(1.06) rotate(0deg);
    fill: #ff3352;
    stroke-width: 0;
  }
}

@keyframes like-heart-release {
  0% {
    transform: scale(1.06) rotate(0deg);
    fill: #ff3352;
    stroke: #ff3352;
    stroke-width: 0;
  }
  42% {
    transform: scale(0.68) rotate(8deg);
    fill: transparent;
    stroke: #ff3352;
    stroke-width: 1.75;
  }
  100% {
    transform: scale(1) rotate(0deg);
    fill: transparent;
    stroke-width: 1.5;
  }
}

.like-burst {
  position: fixed;
  z-index: 120;
  width: 0;
  height: 0;
  pointer-events: none;
}

.like-burst i {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
}

.like-burst.is-burst i {
  animation: like-dot-burst 0.7s cubic-bezier(0.12, 0.68, 0.24, 1) forwards;
  animation-delay: var(--bd, 0ms);
}

@keyframes like-dot-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
  }
  14% {
    opacity: 1;
    transform: translate(calc(-50% + var(--bx) * 0.22), calc(-50% + var(--by) * 0.22)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(0.2);
  }
}

.product-icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.product-icon-btn:hover,
.product-icon-btn:focus-visible {
  background: var(--product-icon-hover);
  color: var(--product-title);
  outline: none;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.product-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2.6rem 1.25rem 1.85rem;
  background: transparent;
  overflow: auto;
}

.product-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.7rem;
}

.product-title-row h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--product-title);
}

.product-title-en {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--product-soft);
}

.product-summary {
  margin: 0 0 1.35rem;
  color: var(--product-body);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 34ch;
}

.product-tabs {
  position: relative;
  display: flex;
  gap: 1.35rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--product-line);
}

.product-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--product-label);
  padding: 0.55rem 0 0.8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.28s ease;
}

.product-tab.is-active {
  color: var(--product-title);
}

.product-tab-line {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--product-accent);
  transform: translateX(0);
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-tab:focus-visible {
  outline: 2px solid var(--product-accent);
  outline-offset: 2px;
}

.product-panels {
  min-height: 11.5rem;
}

.product-panel {
  padding-top: 0.15rem;
}

.product-panel.is-active {
  animation: product-panel-in 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes product-panel-in {
  from {
    opacity: 0;
    transform: translateX(var(--panel-x, 28px));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.product-specs {
  margin: 0;
}

.product-specs div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--product-line);
  font-size: 0.95rem;
}

.product-specs dt {
  margin: 0;
  color: var(--product-label);
  font-weight: 500;
}

.product-specs dd {
  margin: 0;
  color: var(--product-value);
  text-align: left;
}

.product-detail {
  margin: 0.75rem 0 0;
  white-space: pre-wrap;
  color: var(--product-body);
  line-height: 1.75;
  font-size: 0.95rem;
}

.product-process {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.product-process li {
  position: relative;
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: 0.85rem;
}

.product-process li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.02rem;
  top: 2.2rem;
  bottom: 0;
  width: 1px;
  background: var(--product-line);
}

.product-process .step {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid var(--product-accent);
  background: var(--product-bg);
  color: var(--product-accent);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.product-process .task {
  padding: 0.35rem 0 1.35rem;
  color: var(--product-value);
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-process li:last-child .task {
  padding-bottom: 0;
}

.product-process li.is-empty {
  display: block;
  color: var(--product-muted);
  font-size: 0.92rem;
}

.product-preview {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  margin-left: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.product-preview-frame {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  touch-action: pan-y;
  user-select: none;
}

.product-preview-frame.is-gallery-live {
  cursor: grab;
}

.product-preview-frame.is-dragging {
  cursor: grabbing;
}

.product-preview-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

.product-preview-frame img.is-gallery-in {
  animation: gallery-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes gallery-in {
  from {
    opacity: 0.45;
    transform: translateX(var(--gallery-x, 18px));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.product-preview-frame .browser-placeholder {
  height: 100%;
  border: 0;
  color: var(--product-muted);
  background: transparent;
}

.product-bar {
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 4.35rem;
  padding: 0.2rem 1.15rem 1.15rem 1.85rem;
  background: transparent;
  border-top: 0;
}

.product-stage-bar {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  margin-left: 0;
  padding-right: 0.15rem;
}

.product-gallery-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}

.product-gallery-nav[hidden] {
  display: none !important;
}

.product-gallery-arrow,
.product-gallery-next {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 20, 0.18);
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
}

.product-gallery-arrow svg,
.product-gallery-next svg {
  width: 1rem;
  height: 1rem;
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible,
.product-gallery-next:hover,
.product-gallery-next:focus-visible {
  border-color: #1a1a1a;
  outline: none;
}

.product-gallery-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.18rem 0.18rem 0.18rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.16);
  background: rgba(255, 255, 255, 0.42);
}

.product-gallery-dots {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding-right: 0.3rem;
}

.product-gallery-dot {
  width: 0.38rem;
  height: 0.38rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.28);
  cursor: pointer;
  transition: width 0.28s ease, background 0.28s ease;
}

.product-gallery-dot.is-active {
  width: 1.15rem;
  background: #1a1a1a;
}

.product-gallery-dot:focus-visible {
  outline: 2px solid var(--product-accent);
  outline-offset: 2px;
}

.product-gallery-next {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.work-overlay.is-dark .product-gallery-arrow,
.work-overlay.is-dark .product-gallery-next {
  color: #f5f5f5;
  border-color: rgba(255, 255, 255, 0.28);
}

.work-overlay.is-dark .product-gallery-arrow:hover,
.work-overlay.is-dark .product-gallery-next:hover,
.work-overlay.is-dark .product-gallery-arrow:focus-visible,
.work-overlay.is-dark .product-gallery-next:focus-visible {
  border-color: #fff;
}

.work-overlay.is-dark .product-gallery-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.work-overlay.is-dark .product-gallery-dot {
  background: rgba(255, 255, 255, 0.35);
}

.work-overlay.is-dark .product-gallery-dot.is-active {
  background: #fff;
}

.work-overlay.is-dark .product-gallery-next {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.product-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--product-title);
  line-height: 1;
}

.product-price:empty,
.product-price[hidden] {
  display: none;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.7rem;
  padding: 0.55rem 1.05rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--product-accent);
  color: var(--product-cta-ink);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(18, 48, 86, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.product-cta svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.product-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.product-cta:focus-visible {
  outline: 2px solid var(--product-accent);
  outline-offset: 2px;
}

.product-cta:not(.product-cta--quote) {
  background: transparent;
  color: var(--product-title);
  border-color: transparent;
  box-shadow: none;
  padding-inline: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.product-cta:not(.product-cta--quote):hover {
  filter: none;
  background: transparent;
  color: var(--product-accent);
}

.product-cta--quote {
  background: #141414;
  color: #fff;
  border-color: #141414;
  border-radius: 999px;
  min-height: 3rem;
  padding: 0.72rem 1.3rem;
  box-shadow: none;
  font-weight: 600;
}

.product-cta--quote:hover {
  filter: none;
  background: #000;
  border-color: #000;
  color: #fff;
}

.work-overlay.is-dark .product-cta--quote {
  background: #fff;
  color: #141414;
  border-color: #fff;
}

.work-overlay.is-dark .product-cta--quote:hover,
.product-shell.is-wash-dark .product-cta--quote:hover {
  background: #f3f3f3;
  border-color: #f3f3f3;
  color: #000;
}

.product-shell.is-wash-dark .product-cta--quote {
  background: #fff;
  color: #141414;
  border-color: #fff;
}

.product-shell.is-wash-dark .product-chrome-right .product-icon-btn {
  color: #fff;
}

.product-like.is-on,
.product-like.is-on:hover,
.product-like.is-on:focus-visible,
.product-shell.is-wash-dark .product-chrome-right .product-like.is-on,
.product-shell.is-wash-dark .product-chrome-right .product-like.is-on:hover,
.product-shell.is-wash-dark .product-chrome-right .product-like.is-on:focus-visible {
  color: #ff3352;
  background: transparent;
}

.product-cta[hidden] {
  display: none !important;
}

.product-pager {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
}

.product-chrome .product-pager {
  gap: 0.3rem;
}

.product-pager-btn {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--product-title);
  cursor: pointer;
}

.product-pager-btn svg {
  width: 1rem;
  height: 1rem;
}

.product-pager-btn:hover:not(:disabled),
.product-pager-btn:focus-visible {
  border-color: var(--product-accent);
  color: var(--product-accent);
  outline: none;
}

.product-pager-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.product-pager-dots {
  display: flex;
  gap: 0.35rem;
}

.product-pager-dots span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--product-dot);
}

.product-pager-dots span.is-active {
  width: 1rem;
  background: var(--product-accent);
}

body.overlay-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .work-overlay {
    padding: 0;
  }

  .work-overlay-panel.product-page {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    border-radius: 0;
  }

  .product-shell {
    border-radius: 0;
    max-height: 100%;
    min-height: 0;
    background: var(--product-bg);
  }

  .product-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: auto;
  }

  .product-top-label {
    display: none;
  }

  .product-info {
    padding-right: 1.15rem;
    background: transparent;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .product-preview {
    min-height: 0;
    margin-left: 0;
    overflow: visible;
    order: -1;
    padding: 0;
  }

  .product-preview-frame {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .product-preview-frame img {
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .shared-flyer {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  }

  .product-summary {
    max-width: none;
  }

  .product-bar {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0.75rem 1rem 1rem;
  }

  .product-stage-bar {
    grid-column: 1;
    margin-left: 0;
    flex-wrap: wrap;
    padding-right: 0;
  }

  .product-bar-right {
    flex: 1 0 auto;
    justify-content: flex-end;
  }
}

/* FAQ — dark two-column board like reference */
.faq-section {
  padding: 4.5rem 0 5rem;
  background:
    linear-gradient(rgba(18, 20, 24, 0.92), rgba(18, 20, 24, 0.96)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 31px,
      rgba(255, 255, 255, 0.035) 31px,
      rgba(255, 255, 255, 0.035) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 31px,
      rgba(255, 255, 255, 0.035) 31px,
      rgba(255, 255, 255, 0.035) 32px
    ),
    #121418;
}

.faq-board {
  --faq-accent: #4d8dff;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border-radius: 18px;
  background: #1a1d21;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 2px solid var(--faq-accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.faq-intro {
  padding-top: 0.35rem;
}

.faq-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--faq-accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.faq-intro h2 {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 8em;
}

.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--faq-accent);
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.faq-cta:hover {
  opacity: 0.85;
}

.faq-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
}

.faq-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.15rem 0.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.faq-question:focus-visible {
  outline: 2px solid var(--faq-accent);
  outline-offset: 2px;
}

.faq-q-text {
  flex: 1;
  transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-q-text {
  color: var(--faq-accent);
}

.faq-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  transition:
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-bar {
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.faq-bar-h {
  width: 0.72rem;
  height: 1.5px;
}

.faq-bar-v {
  width: 1.5px;
  height: 0.72rem;
}

.faq-item.is-open .faq-icon {
  background: var(--faq-accent);
  border-color: var(--faq-accent);
  color: #fff;
  transform: rotate(180deg);
}

.faq-item.is-open .faq-bar-v {
  transform: scaleY(0);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 2.4rem 1.15rem 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Quote dialog */
.inquire-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.inquire-modal[hidden] {
  display: none;
}

.inquire-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(18, 32, 56, 0.48);
  cursor: pointer;
}

.inquire-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 26.5rem);
  max-height: min(92dvh, 40rem);
  overflow: auto;
  background: #fff;
  border: 1px solid #e4eef8;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(18, 48, 86, 0.14);
  padding: 0.8rem 0.9rem 0.85rem;
  animation: inquire-in 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes inquire-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.inquire-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.inquire-dialog-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.inquire-close {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 999px;
  border: 1px solid #d5e3f0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.inquire-close svg {
  width: 0.9rem;
  height: 0.9rem;
}

.inquire-close:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.inquire-close:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.inquire-card {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  margin: 0;
}

.inquire-status[hidden],
.inquire-error[hidden] {
  display: none;
}

.inquire-status {
  margin: 0;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.45;
}

.inquire-status.is-error {
  background: #fdecec;
  color: #7a2424;
}

.inquire-status a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.inquire-status a:hover {
  color: #123056;
}

.inquire-status a:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.inquire-field {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
  min-width: 0;
}

.inquire-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.inquire-label {
  margin: 0;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.inquire-count {
  color: var(--muted);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.inquire-identity {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 0.4rem;
  align-items: start;
}

.inquire-field input,
.inquire-field textarea,
.inquire-field select {
  width: 100%;
  border: 1px solid #d5e3f0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.32rem 0.6rem;
  font-size: 0.875rem;
  line-height: 1.35;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.inquire-field select {
  min-height: 2rem;
  padding-right: 1.55rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235C7A99' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.75rem;
}

.inquire-field select:invalid {
  color: #8aa0b5;
}

.inquire-field input {
  min-height: 2rem;
}

.inquire-field textarea {
  min-height: 4.25rem;
  resize: vertical;
  line-height: 1.45;
}

.inquire-field input::placeholder,
.inquire-field textarea::placeholder {
  color: #8aa0b5;
}

.inquire-field input:hover,
.inquire-field textarea:hover,
.inquire-field select:hover {
  border-color: #b7cce2;
}

.inquire-field input:focus,
.inquire-field textarea:focus,
.inquire-field select:focus {
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
  border-color: var(--cobalt);
  background-color: #fff;
}

.inquire-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.inquire-choice {
  position: relative;
  cursor: pointer;
}

.inquire-choice span {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.1rem 0.62rem;
  border-radius: 999px;
  border: 1px solid #d3e1ef;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.inquire-choice:hover span {
  border-color: var(--cobalt);
}

.inquire-choice input:checked + span {
  background: #2f6fe0;
  border-color: #2f6fe0;
  color: #fff;
}

.inquire-choice input:focus-visible + span {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

.inquire-error {
  margin: 0;
  color: #8d2a2a;
  font-size: 0.72rem;
  font-weight: 600;
}

.inquire-field.is-invalid input,
.inquire-field.is-invalid textarea,
.inquire-field.is-invalid select,
[data-field].is-invalid input,
[data-field].is-invalid select {
  border-color: #c45050;
  background-color: #fff8f8;
}

.inquire-field.is-invalid .inquire-choice span {
  border-color: #e7b4b4;
}

.inquire-field.is-invalid .inquire-choice input:checked + span {
  border-color: #2f6fe0;
}

.inquire-submit {
  width: 100%;
  margin-top: 0.1rem;
  min-height: 2.05rem;
  padding: 0.32rem 0.85rem;
  font-size: 0.875rem;
  box-shadow: none;
}

.inquire-submit[aria-busy="true"] {
  cursor: progress;
}

.inquire-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

body.inquire-open {
  overflow: hidden;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0 3rem;
  background: #121418;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer .logo {
  background: #f3f7fb;
  border-radius: 14px;
  padding: 0.4rem 0.7rem 0.35rem;
}

.site-footer .logo img {
  height: 3.15rem;
}

.footer-brand .logo {
  margin-bottom: 0.7rem;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.site-footer .footer-meta {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.site-footer .lang-switch a {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer .lang-switch a.is-active {
  color: #102848;
  background: transparent;
}

.site-footer .lang-switch-thumb {
  background: #f4f8fc;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: #1f6feb;
  border-color: #1f6feb;
  color: #fff;
  transform: translateY(-1px);
}

.footer-social a:focus-visible {
  outline: 2px solid #9ec1ff;
  outline-offset: 2px;
}

.footer-social .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-bottom: 0.7rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.nav-desktop > a > span,
.nav-mobile > a > span,
.footer-nav a > span {
  position: relative;
}

.nav-desktop > a > span::after,
.nav-mobile > a > span::after,
.footer-nav a > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22em;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.32s ease;
}

.nav-desktop > a:hover > span::after,
.nav-desktop > a:focus-visible > span::after,
.nav-mobile > a:hover > span::after,
.nav-mobile > a:focus-visible > span::after,
.footer-nav a:hover > span::after,
.footer-nav a:focus-visible > span::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.footer-copy {
  margin: 0.6rem 0 0;
}

/* Empty state */
.empty-note {
  color: var(--muted);
  padding: 1.5rem;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .points-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    flex-basis: min(100%, 100%);
    width: 100%;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
    padding: 0.5rem 0 0.25rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-visual {
    position: relative;
    min-height: 16.5rem;
    margin: 0.25rem 0 0;
    overflow: hidden;
  }

  .hero-copy::before {
    left: -1rem;
    top: 0.2rem;
    opacity: 0.7;
  }

  .hero-visual img {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 82% center;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 1.75rem);
    mask-image: linear-gradient(180deg, transparent 0, #000 1.75rem);
  }

  .hero-visual-empty {
    inset: 0;
    border-radius: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.35rem;
  }

  .hero-stat,
  .hero-stat + .hero-stat {
    padding: 0.85rem 0.9rem 0.85rem 0;
    border-left: 0;
  }

  .hero-stat:nth-child(even) {
    padding-left: 0.9rem;
    border-left: 1px solid var(--rule);
  }

  .hero-stat:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .faq-board {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-intro h2 {
    max-width: none;
  }
}

.maintain-body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  overflow: hidden;
}

.maintain-grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.maintain-grid line {
  stroke: rgba(31, 111, 235, 0.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke 220ms ease;
}

.maintain-grid line.is-near {
  stroke: rgba(31, 111, 235, 0.72);
  stroke-dasharray: 128 22;
  animation: maintain-line 1.1s linear infinite;
}

@keyframes maintain-line {
  to { stroke-dashoffset: -150; }
}

.maintain {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.maintain::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(42rem, 92vw);
  height: 18rem;
  transform: translate(-50%, -46%);
  background: radial-gradient(ellipse at center, rgba(247, 251, 255, 0.94) 0%, rgba(247, 251, 255, 0) 72%);
  pointer-events: none;
}

.maintain-logo {
  width: min(72vw, 28rem);
  height: auto;
}

.maintain-line {
  margin: 0;
  max-width: 36rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  white-space: pre-wrap;
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 4.5rem;
  }

  .footer-meta,
  .footer-social {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .logo img,
  .site-footer .logo img {
    height: 2.7rem;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .maintain-logo {
    width: min(84vw, 20rem);
  }

  .maintain-line {
    letter-spacing: 0.12em;
  }

  .maintain::before {
    height: 14rem;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-grid {
    position: relative;
    isolation: isolate;
  }

  .hero-copy {
    z-index: 2;
    padding: 0.35rem 0 0.15rem;
  }

  .hero-copy::before {
    content: none;
  }

  .hero-visual {
    position: absolute;
    z-index: 0;
    top: -2.25rem;
    bottom: 0;
    left: 50%;
    width: 100vw;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.84) 0%, rgba(247, 251, 255, 0.74) 52%, rgba(247, 251, 255, 0.94) 100%);
  }

  .hero-visual img {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 84% 62%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-visual-empty {
    inset: 0;
    border-radius: 0;
  }

  .section {
    padding: 3.25rem 0;
  }

  .faq-section {
    padding: 3.25rem 0 3.75rem;
  }

  .inquire-dialog {
    width: min(100%, 24rem);
    padding: 0.75rem 0.75rem 0.8rem;
  }

  .faq-board {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maintain-grid line {
    animation: none;
    transition: none;
  }

  .nav-desktop > a > span::after,
  .nav-mobile > a > span::after,
  .footer-nav a > span::after,
  .hero-text-swap span,
  .hero-text-arrow,
  .product-tab,
  .product-tab-line,
  .product-panel.is-active,
  .product-preview-frame img.is-gallery-in,
  .product-gallery-dot,
  .product-like.is-pop .product-like-heart,
  .product-like.is-out .product-like-heart,
  .like-burst i,
  .inquire-dialog {
    transition: none;
    animation: none;
  }
}
