/* MY TILE — Bright Architectural Design System
   Brand red accent · white / light grey · no black homepage bands */

:root {
  --c-accent: #c53636;
  --c-accent-deep: #9e2a2a;
  --c-accent-soft: rgba(197, 54, 54, 0.1);
  --c-ink: #3a3338;
  --c-text: #4a4348;
  --c-muted: #7a7378;
  --c-bg: #f4f5f7;
  --c-bg-soft: #eef0f3;
  --c-white: #ffffff;
  --c-line: rgba(58, 51, 56, 0.1);
  --c-primary: var(--c-ink);
  --c-secondary: var(--c-accent);
  --font: "Noto Sans TC", "Outfit", sans-serif;
  --font-display: "Outfit", "Noto Sans TC", sans-serif;
  --container: min(1140px, calc(100% - 3rem));
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 14px 40px rgba(58, 51, 56, 0.08);
  --shadow-card: 0 8px 28px rgba(58, 51, 56, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-ink);
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: 0 8px 28px rgba(58, 51, 56, 0.05);
}
.header-inner {
  width: var(--container);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #fff;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--c-accent-deep);
}
.logo-text span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--c-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-desktop > a,
.nav-dd > button {
  font-size: 0.9rem;
  color: var(--c-text);
  background: none;
  border: 0;
  padding: 0.4rem 0;
  cursor: pointer;
  position: relative;
}
.nav-desktop > a::after,
.nav-dd > button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.3s var(--ease);
}
.nav-desktop > a:hover::after,
.nav-desktop > a.is-active::after,
.nav-dd:hover > button::after {
  width: 100%;
}
.nav-dd {
  position: relative;
}
.nav-dd-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  min-width: 520px;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem 1rem;
  transition: 0.25s var(--ease);
}
.nav-dd:hover .nav-dd-panel,
.nav-dd:focus-within .nav-dd-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-panel a {
  font-size: 0.88rem;
  padding: 0.35rem 0;
  color: var(--c-muted);
}
.nav-dd-panel a:hover {
  color: var(--c-accent);
}
.header-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--c-ink);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--c-line);
  background: #fff;
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.open {
  display: block;
}
.nav-mobile a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--c-line);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s var(--ease);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn--primary,
.btn--wood {
  background: var(--c-accent);
  color: #fff;
}
.btn--primary:hover,
.btn--wood:hover {
  background: var(--c-accent-deep);
}
.btn--outline {
  background: transparent;
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.btn--outline:hover {
  background: var(--c-accent);
  color: #fff;
}
.btn--soft {
  background: var(--c-accent-soft);
  color: var(--c-accent-deep);
  border-color: transparent;
}
.btn--soft:hover {
  background: var(--c-accent);
  color: #fff;
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn--ghost:hover {
  background: #fff;
  color: var(--c-accent);
}
.btn--on-accent {
  background: #fff;
  color: var(--c-accent);
}
.btn--on-accent:hover {
  background: var(--c-bg);
  transform: translateY(-2px);
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Sections ——— */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.section--tight {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.section--muted {
  background: var(--c-bg);
}
.section--dark {
  background: var(--c-accent);
  color: rgba(255, 255, 255, 0.92);
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  max-width: 18ch;
}
.section-title--initial {
  position: relative;
  max-width: 22ch;
}
.section-title--initial > span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  margin-bottom: 0.35rem;
  color: var(--c-ink);
}
.section-title--initial::before {
  content: attr(data-initial);
  position: absolute;
  left: -0.08em;
  top: -0.22em;
  font-family: var(--font-display);
  font-size: 3.2em;
  font-weight: 700;
  color: var(--c-accent);
  opacity: 0.18;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.section-title--initial > * {
  position: relative;
  z-index: 1;
}
.section-lead {
  color: var(--c-muted);
  max-width: 42ch;
  font-size: 1.02rem;
}
.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head--split {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

/* ——— Bright Hero ——— */
.hero--bright {
  position: relative;
  background:
    radial-gradient(900px 480px at 80% 0%, var(--c-accent-soft), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--c-bg) 100%);
  color: var(--c-ink);
  overflow: hidden;
  min-height: auto;
  display: block;
  place-items: unset;
}
.hero-stage {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  justify-items: center;
  text-align: center;
}
.hero-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 920px);
  padding-top: 0.5rem;
}
.mosaic-tile {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  clip-path: polygon(8% 0, 92% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
  border-radius: 4px 4px 12px 12px;
  box-shadow: var(--shadow-card);
  animation: mosaic-in 0.9s var(--ease) both;
}
.mosaic-tile--1 { animation-delay: 0.05s; }
.mosaic-tile--2 { animation-delay: 0.15s; }
.mosaic-tile--3 { animation-delay: 0.25s; }
.mosaic-tile--4 { animation-delay: 0.35s; }
.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.mosaic-tile:hover img {
  transform: scale(1.06);
}
.hero-mark {
  position: absolute;
  inset: 18% auto auto 50%;
  transform: translateX(-50%);
  width: min(42%, 280px);
  color: rgba(197, 54, 54, 0.12);
  pointer-events: none;
  z-index: 0;
}
.hero--bright .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 720px;
}
.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  margin-bottom: 0.85rem;
  animation: rise-in 0.8s var(--ease) 0.2s both;
}
.hero--bright h1 {
  color: var(--c-ink);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: none;
  margin-bottom: 0.9rem;
  animation: rise-in 0.85s var(--ease) 0.32s both;
}
.hero--bright h1 em {
  font-style: normal;
  display: block;
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--c-muted);
  margin-bottom: 0.55rem;
}
.hero--bright .hero-copy {
  max-width: 36ch;
  margin: 0 auto 1.5rem;
  color: var(--c-muted);
  animation: rise-in 0.85s var(--ease) 0.42s both;
}
.hero--bright .btn-group {
  justify-content: center;
  animation: rise-in 0.85s var(--ease) 0.52s both;
}

.hero-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  padding: 0.95rem 1.25rem;
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.hero-subnav a:hover {
  color: #fff;
}

@keyframes mosaic-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Legacy full-bleed hero (inner pages if any) */
.hero:not(.hero--bright) {
  position: relative;
  min-height: min(72vh, 720px);
  display: grid;
  place-items: end start;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(158, 42, 42, 0.78) 0%, rgba(158, 42, 42, 0.35) 55%, rgba(197, 54, 54, 0.2) 100%);
}

/* ——— Concept band ——— */
.concept-band {
  position: relative;
  background: var(--c-accent);
  color: #fff;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
}
.concept-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.08);
  margin: 0;
  pointer-events: none;
}
.concept-title {
  color: #fff;
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.concept-lead {
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 2.5rem;
  max-width: 36ch;
}
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}
.concept-item {
  text-align: center;
}
.concept-item h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0.9rem 0 0.45rem;
}
.concept-item p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  font-size: 0.95rem;
}
.concept-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.concept-icon svg {
  width: 34px;
  height: 34px;
}
.concept-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--c-line);
  background:
    linear-gradient(180deg, var(--c-accent-soft), transparent 70%),
    var(--c-bg);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 1rem;
}
.breadcrumb a:hover {
  color: var(--c-accent);
}

/* ——— Grids & cards ——— */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card,
.why-card,
.service-card,
.cat-card,
.product-card,
.project-card,
.review,
.blog-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.why-card,
.service-card,
.review,
.blog-card,
.stat-card {
  padding: 1.45rem 1.35rem;
  box-shadow: var(--shadow-card);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.why-card h3 {
  font-size: 1.05rem;
}
.why-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  color: var(--c-accent);
  font-size: 0.82rem;
  font-family: var(--font-display);
}

.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 1.4rem;
  border-left: 1px solid var(--c-line);
}
.timeline-item {
  position: relative;
  padding: 0 0 1.8rem 1.2rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-accent);
}
.timeline-item strong {
  display: block;
  color: var(--c-ink);
  margin-bottom: 0.25rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split-media {
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.split-media:hover img {
  transform: scale(1.04);
}

/* Service layout */
.service-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.service-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-stack .service-card {
  display: grid;
  gap: 0.35rem;
}
.service-stack .service-card a {
  color: var(--c-accent);
  font-weight: 500;
  font-size: 0.92rem;
}

.cat-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: block;
  color: #fff;
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-card:hover img {
  transform: scale(1.06);
}
.cat-card .cat-body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem;
  background: linear-gradient(transparent, rgba(158, 42, 42, 0.82));
}
.cat-card h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
}
.cat-card p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

.product-card {
  overflow: hidden;
}
.product-card .media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-bg-soft);
}
.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .media img {
  transform: scale(1.05);
}
.product-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 1rem;
}
.chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-muted);
  list-style: none;
}

.inspire-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 0.85rem;
}
.inspire-item {
  position: relative;
  overflow: hidden;
  display: block;
  color: #fff;
  border-radius: var(--radius);
}
.inspire-item:first-child {
  grid-row: span 2;
}
.inspire-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.inspire-item:hover img {
  transform: scale(1.05);
}
.inspire-item span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(58, 51, 56, 0.45);
}

/* Works — light, not black */
.works-band {
  background:
    linear-gradient(180deg, var(--c-bg-soft), var(--c-bg));
}
.works-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.project-card {
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.project-card .media {
  aspect-ratio: 16/11;
  overflow: hidden;
}
.project-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.project-card:hover .media img {
  transform: scale(1.05);
}
.project-card .body {
  padding: 1rem 1.1rem 1.2rem;
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.brand-wall span {
  display: grid;
  place-items: center;
  min-height: 78px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  text-align: center;
  padding: 0.6rem;
}

.review .stars {
  color: var(--c-accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}
.review cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--c-muted);
  font-size: 0.9rem;
}

/* CTA — red wash, not black */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background:
    linear-gradient(120deg, rgba(197, 54, 54, 0.88), rgba(158, 42, 42, 0.72)),
    url("../img/hero/space-01.jpg") center/cover;
  color: #fff;
}
.cta-band > h2 {
  color: #fff;
  max-width: 14ch;
  margin-inline: auto;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
.cta-band > p {
  max-width: 36ch;
  margin: 0.8rem auto 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}
.cta-band > .btn-group .btn--wood,
.cta-band > .btn-group .btn--primary {
  background: #fff;
  color: var(--c-accent);
}
.cta-band > .btn-group .btn--wood:hover,
.cta-band > .btn-group .btn--primary:hover {
  background: var(--c-bg);
}
.cta-card {
  width: min(640px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-soft);
  color: var(--c-text);
}
.cta-card h2 {
  color: var(--c-ink);
  max-width: 14ch;
  margin-inline: auto;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
.cta-card p {
  max-width: 36ch;
  margin: 0.8rem auto 1.5rem;
  color: var(--c-muted);
}
.cta-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--c-line);
}
.cta-contacts a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--c-ink);
}
.cta-ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 1.1rem;
}

/* Filters */
.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.filters input,
.filters select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.55rem 0.8rem;
  color: var(--c-text);
}
.filters input:focus,
.filters select:focus {
  outline: 1px solid var(--c-accent);
}

/* Product detail */
.gallery-main {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-bg-soft);
  cursor: zoom-in;
  border-radius: var(--radius);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.7rem;
}
.gallery-thumbs button {
  border: 1px solid var(--c-line);
  padding: 0;
  width: 78px;
  height: 58px;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid var(--c-line);
  font-weight: 400;
}
.spec-table th {
  color: var(--c-muted);
  width: 36%;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(58, 51, 56, 0.88);
  display: none;
  place-items: center;
  padding: 1.5rem;
}
.lightbox.open {
  display: grid;
}
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Contact */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1.8rem;
}
.map-frame {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  filter: grayscale(0.15) contrast(1.05);
}

/* Footer — light, not black */
.site-footer {
  background: var(--c-bg);
  color: var(--c-text);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--c-line);
}
.site-footer h3 {
  color: var(--c-ink);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-grid a:hover {
  color: var(--c-accent);
}
.footer-bottom {
  border-top: 1px solid var(--c-line);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--c-muted);
}

/* Floaters */
.float-wa,
.back-top {
  position: fixed;
  right: 1.1rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.float-wa {
  bottom: 1.1rem;
  background: #25d366;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.back-top {
  bottom: 4.6rem;
  background: var(--c-accent);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.muted {
  color: var(--c-muted);
}
.counter {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}

/* Blog */
.prose {
  max-width: 72ch;
}
.prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}
.prose h3 {
  margin-top: 1.4rem;
  font-size: 1.1rem;
}
.prose ul {
  padding-left: 1.2rem;
}
.prose li {
  margin-bottom: 0.45rem;
}

/* RWD */
@media (max-width: 1024px) {
  .nav-desktop,
  .header-cta .btn--outline {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .section-head--split,
  .split,
  .service-layout,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .inspire-grid,
  .brand-wall,
  .filters,
  .works-track,
  .concept-grid {
    grid-template-columns: 1fr 1fr;
    flex-direction: column;
    align-items: start;
  }
  .inspire-grid {
    grid-template-rows: 220px 220px 220px;
  }
  .inspire-item:first-child {
    grid-row: span 1;
    grid-column: span 2;
  }
  .nav-dd-panel {
    min-width: 420px;
  }
  .hero-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }
  .concept-actions {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 1.5rem, 1140px);
    --header-h: 68px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .filters,
  .brand-wall,
  .footer-grid,
  .inspire-grid,
  .works-track,
  .concept-grid,
  .service-layout,
  .cta-contacts {
    grid-template-columns: 1fr;
  }
  .inspire-item:first-child {
    grid-column: span 1;
  }
  .inspire-grid {
    grid-template-rows: none;
  }
  .inspire-item {
    min-height: 220px;
  }
  .hero-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }
  .mosaic-tile--3,
  .mosaic-tile--4 {
    display: none;
  }
  .btn-group {
    width: 100%;
  }
  .btn-group .btn {
    flex: 1 1 auto;
  }
  .hero-subnav {
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .section-title--initial::before {
    font-size: 2.6em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mosaic-tile,
  .brand-hero,
  .hero--bright h1,
  .hero--bright .hero-copy,
  .hero--bright .btn-group {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* CMS additions: preserve the original visual language. */
.cms-banner { position: relative; overflow: hidden; border-radius: 24px; background: #f7eeee; box-shadow: 0 18px 50px rgb(80 20 20 / .12); }
.cms-banner-slide { display: none; position: relative; min-height: 300px; }
.cms-banner-slide.is-active { display: block; animation: cmsBannerIn .55s ease both; }
.cms-banner-slide picture, .cms-banner-slide img { display: block; width: 100%; height: clamp(300px, 38vw, 520px); object-fit: cover; }
.cms-banner-copy { position: absolute; inset: auto 0 0; padding: clamp(1.25rem, 4vw, 3rem); color: #fff; background: linear-gradient(transparent, rgb(35 10 10 / .78)); }
.cms-banner-copy h2 { margin: 0 0 .4rem; color: inherit; }
.cms-banner-copy p { max-width: 720px; }
.cms-banner-controls { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; display: flex; gap: .4rem; }
.cms-banner-controls button { width: 42px; height: 42px; border: 1px solid rgb(255 255 255 / .65); border-radius: 50%; color: #fff; background: rgb(80 10 10 / .55); cursor: pointer; }
.design-credit { padding: .6rem 0 1.2rem; text-align: center; font-size: .72rem; letter-spacing: .04em; opacity: .72; }
.article-cms-dates { display: flex; justify-content: flex-end; gap: 1rem; padding-top: 1rem; color: #766b6b; font-size: .82rem; }
.design-credit a { text-decoration: underline; text-underline-offset: 3px; }
.pagination { width: var(--container); margin: 2rem auto 4rem; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; list-style: none; }
.pagination a { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: .45rem; border: 1px solid #d8caca; border-radius: 999px; color: var(--text, #2d2525); }
.pagination a.is-current { border-color: var(--primary, #c63237); color: #fff; background: var(--primary, #c63237); }
.inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.inquiry-form .field--full { grid-column: 1 / -1; }
.inquiry-form label { display: grid; gap: .4rem; font-weight: 600; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; padding: .85rem 1rem; border: 1px solid #d8cece; border-radius: 10px; background: #fff; font: inherit; }
.form-alert { margin: 1rem 0; padding: 1rem 1.2rem; border-radius: 10px; }
.form-alert--success { color: #145c32; background: #e7f8ee; }
.form-alert--error { color: #8b2026; background: #fdebed; }
@keyframes cmsBannerIn { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }
@media (max-width:720px) { .inquiry-form { grid-template-columns: 1fr; } .cms-banner { border-radius: 14px; } }
@media (prefers-reduced-motion:reduce) { .cms-banner-slide.is-active { animation: none; } }
