:root {
  --text: #1f2845;
  --muted: #647295;
  --line: rgba(91, 111, 168, 0.14);
  --red: #f3607d;
  --red-deep: #cb4665;
  --blue: #66bcff;
  --blue-deep: #3f91df;
  --shadow: 0 24px 60px rgba(60, 86, 149, 0.14);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1240px;
  --page-gutter: clamp(14px, 2.4vw, 34px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  color: var(--text);
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(243, 96, 125, 0.22), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(102, 188, 255, 0.22), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(180deg, #f7fbff 0%, #edf4ff 50%, #fff4f7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.64;
  background-image:
    radial-gradient(circle at 32px 24px, rgba(243, 96, 125, 0.08) 0 10px, transparent 10.5px),
    radial-gradient(circle at 20px 52px, rgba(243, 96, 125, 0.07) 0 6px, transparent 6.5px),
    radial-gradient(circle at 46px 52px, rgba(243, 96, 125, 0.07) 0 6px, transparent 6.5px),
    radial-gradient(circle at 92px 30px, rgba(102, 188, 255, 0.08) 0 10px, transparent 10.5px),
    radial-gradient(circle at 80px 58px, rgba(102, 188, 255, 0.07) 0 5px, transparent 5.5px),
    radial-gradient(circle at 104px 58px, rgba(102, 188, 255, 0.07) 0 5px, transparent 5.5px);
  background-size: 140px 140px;
  mask-image: radial-gradient(circle at center, black, transparent 86%);
}

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

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

.site-loader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 40, 69, 0.76);
  background: rgba(255, 255, 255, 0.64);
  border-bottom: 1px solid rgba(91, 111, 168, 0.12);
}

.site-loader strong {
  color: var(--red-deep);
  font-weight: 800;
}

.page-shell {
  width: 100%;
  padding-bottom: 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: calc(var(--max-width) + (var(--page-gutter) * 2));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.92), rgba(247, 251, 255, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 22px;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(68, 91, 145, 0.14);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-family: "Noto Serif SC", serif;
  font-size: 1.2rem;
}

.brand em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 28px rgba(68, 91, 145, 0.1);
  max-width: 100%;
}

.site-nav a {
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease;
}

.site-nav a span {
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a em {
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(243, 246, 255, 0.84);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

main {
  display: grid;
  gap: 28px;
}

main > * {
  min-width: 0;
}

main > section:not(.hero-shell):not(.marquee-band) {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--max-width);
  margin: 0 auto;
}

section {
  margin: 0;
}

section[id] {
  scroll-margin-top: 104px;
}

.section-card,
.side-card,
.tab-card,
.archive-card,
.contact-card,
.news-panel,
.floating-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  width: 100%;
  min-width: 0;
  max-width: calc(var(--max-width) + (var(--page-gutter) * 2));
  margin: 0 auto;
  min-height: calc(100vh - 86px);
  padding: 18px var(--page-gutter) 0;
  align-items: stretch;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 96, 125, 0.18), transparent 22%),
    radial-gradient(circle at 88% 16%, rgba(102, 188, 255, 0.2), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.92), transparent 38%);
  pointer-events: none;
}

.hero-side {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 18px;
  align-content: start;
}

.side-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
}

.side-label,
.card-kicker,
.archive-tag,
.member-role,
.eyebrow {
  margin: 0;
  color: var(--red-deep);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-note h2,
.hero-copy h1,
.section-heading h2,
.quote p {
  margin: 0;
  font-family: "Noto Serif SC", serif;
}

.brand-note h2 {
  margin-top: 14px;
  font-size: 1.55rem;
  line-height: 1.35;
}

.brand-note p:last-child {
  margin-top: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.side-links {
  display: grid;
  gap: 12px;
}

.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(243, 96, 125, 0.12), rgba(102, 188, 255, 0.12));
  font-weight: 700;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 24px;
  align-items: center;
  min-width: 0;
  min-height: calc(100vh - 150px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 100%;
  padding: 52px 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.18), transparent 28%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(255, 254, 255, 0.98), rgba(244, 248, 255, 0.92));
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -20px;
  width: 152px;
  height: 152px;
  opacity: 0.8;
  border-radius: 42% 58% 56% 44%;
  transform: rotate(16deg);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96) 0 15px, transparent 15.5px),
    radial-gradient(circle at 28% 66%, rgba(255, 255, 255, 0.96) 0 12px, transparent 12.5px),
    radial-gradient(circle at 72% 66%, rgba(255, 255, 255, 0.96) 0 12px, transparent 12.5px),
    radial-gradient(circle at 50% 84%, rgba(255, 255, 255, 0.96) 0 29px, transparent 29.5px),
    linear-gradient(135deg, rgba(243, 96, 125, 0.5), rgba(102, 188, 255, 0.5));
}

.hero-copy h1 {
  margin-top: 14px;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  line-height: 1.12;
}

.hero-title-stack {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 14px;
  z-index: 1;
}

.hero-title-stack::before {
  content: "LING";
  position: absolute;
  left: 0;
  top: -18px;
  font-size: clamp(4.5rem, 11vw, 9rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(63, 145, 223, 0.08);
  pointer-events: none;
}

.hero-mini-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-deep);
}

.hero-title-stack h1 {
  position: relative;
  margin: 0;
  font-size: clamp(4rem, 10vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: var(--text);
  text-shadow: 0 8px 24px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 700;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 32em;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-signature span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red-deep), var(--blue-deep));
  box-shadow: 0 18px 34px rgba(83, 116, 200, 0.28);
}

.button.secondary {
  border: 1px solid rgba(91, 111, 168, 0.14);
  background: rgba(255, 255, 255, 0.82);
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 54vw, 760px);
  overflow: hidden;
}

.hero-stamp {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px dashed rgba(91, 111, 168, 0.26);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transform: rotate(-10deg);
}

.stamp-left {
  right: 34px;
  top: 26px;
}

.stamp-right {
  left: 18px;
  bottom: 136px;
  transform: rotate(12deg);
}

.floating-card {
  position: absolute;
  overflow: hidden;
  max-width: 100%;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.floating-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(66, 94, 158, 0.18);
}

.floating-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.floating-card div {
  padding: 16px 18px 18px;
}

.floating-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.floating-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.floating-note {
  position: absolute;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 30px rgba(62, 86, 146, 0.12);
  backdrop-filter: blur(10px);
}

.floating-note span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floating-note strong {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
}

.featured-red {
  background:
    radial-gradient(circle at top right, rgba(243, 96, 125, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.94);
}

.featured-blue {
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.18), transparent 28%),
    rgba(255, 255, 255, 0.94);
}

.cat-card {
  top: 64px;
  right: clamp(0px, 1vw, 12px);
  width: clamp(260px, 31vw, 346px);
  animation: floatCard 8s ease-in-out infinite;
}

.wolf-card {
  left: clamp(0px, 2vw, 34px);
  bottom: 0;
  width: clamp(290px, 36vw, 386px);
  animation: floatCard 8s ease-in-out infinite -3.2s;
}

.note-red {
  right: clamp(0px, 1vw, 8px);
  top: clamp(360px, 34vw, 446px);
}

.note-blue {
  left: 0;
  top: clamp(120px, 14vw, 160px);
}

.marquee-band {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(91, 111, 168, 0.12);
  border-bottom: 1px solid rgba(91, 111, 168, 0.12);
  background: rgba(255, 255, 255, 0.46);
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeMove 24s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(91, 111, 168, 0.12);
  font-weight: 700;
  color: var(--muted);
}

.section-card,
.members,
.contact,
.commission-panel,
.showcase-main,
.news-panel,
.quote {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.section-lead {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.85;
}

.section-heading.compact h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.25;
}

.commission-panel {
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.1), transparent 24%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.1), transparent 24%),
    rgba(255, 255, 255, 0.84);
}

.case-showcase {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.16), transparent 24%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.16), transparent 24%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.88));
}

.case-showcase::before {
  content: "CASE FILE";
  position: absolute;
  right: 34px;
  top: 28px;
  font-size: clamp(2.8rem, 7vw, 7.2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(63, 145, 223, 0.06);
  pointer-events: none;
}

.showcase-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.showcase-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  box-shadow: var(--shadow);
}

.showcase-panel-suit {
  background:
    radial-gradient(circle at top right, rgba(243, 96, 125, 0.18), transparent 28%),
    radial-gradient(circle at left bottom, rgba(102, 188, 255, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(255, 248, 251, 0.98), rgba(246, 250, 255, 0.94));
}

.showcase-panel-tech {
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.18), transparent 28%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(246, 250, 255, 0.98), rgba(248, 250, 255, 0.94));
}

.showcase-panel-head {
  display: grid;
  gap: 6px;
}

.showcase-panel-head strong {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.showcase-panel-body {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.showcase-panel .case-slide {
  padding: 0;
}

.showcase-viewport {
  padding: 0;
  border-radius: 26px;
}

.showcase-media {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  min-height: clamp(260px, 28vw, 360px);
  padding: 18px;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(91, 111, 168, 0.1);
}

.showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 36px rgba(55, 82, 141, 0.16);
}

.showcase-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 22px;
  background: #0f172a;
  box-shadow: 0 22px 36px rgba(55, 82, 141, 0.16);
}

.showcase-media-tech {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(59, 144, 223, 0.08), rgba(203, 70, 101, 0.08));
}

.case-blueprint-alt {
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(237, 245, 255, 0.94)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 27px,
      rgba(91, 111, 168, 0.06) 27px,
      rgba(91, 111, 168, 0.06) 28px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 27px,
      rgba(91, 111, 168, 0.06) 27px,
      rgba(91, 111, 168, 0.06) 28px
    );
}

.case-blueprint-alt span:nth-child(1) {
  top: 58px;
  left: 48px;
}

.case-blueprint-alt span:nth-child(2) {
  right: 44px;
  top: 122px;
}

.case-blueprint-alt span:nth-child(3) {
  left: 112px;
  bottom: 76px;
}

.showcase-badge {
  position: absolute;
  top: 32px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(91, 111, 168, 0.12);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.showcase-badge-tech {
  background: rgba(241, 249, 255, 0.92);
}

.showcase-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.case-slider {
  display: grid;
  gap: 18px;
}

.case-slider-top,
.case-slider-arrows {
  display: flex;
  align-items: center;
}

.case-slider-top {
  justify-content: space-between;
  gap: 14px;
}

.case-slider-meta {
  display: grid;
  gap: 6px;
}

.case-slider-meta strong {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.case-slider-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-slider-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.case-slider-counter {
  margin: 0;
  min-width: 84px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(91, 111, 168, 0.12);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
}

.case-slider-arrows {
  gap: 10px;
}

.case-arrow {
  border: 0;
  cursor: pointer;
}

.case-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 14px 28px rgba(68, 91, 145, 0.12);
  font-size: 1.4rem;
}

.case-viewport {
  overflow: hidden;
  padding: 8px 0;
  border-radius: 34px;
}

.case-track {
  display: flex;
  transition: transform 0.42s ease;
  will-change: transform;
}

.case-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 4px;
}

.case-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  min-height: 540px;
  border-radius: 34px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.16), transparent 26%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.16), transparent 26%),
    rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px dashed rgba(91, 111, 168, 0.12);
  pointer-events: none;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(65, 92, 151, 0.16);
}

.case-theme-red .case-card {
  background:
    radial-gradient(circle at top right, rgba(243, 96, 125, 0.2), transparent 28%),
    radial-gradient(circle at left bottom, rgba(102, 188, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 248, 251, 0.98), rgba(246, 250, 255, 0.94));
}

.case-theme-blue .case-card {
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.22), transparent 28%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(244, 250, 255, 0.98), rgba(245, 247, 255, 0.94));
}

.case-theme-tech .case-card {
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.18), transparent 28%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(246, 250, 255, 0.98), rgba(248, 250, 255, 0.94));
}

.case-image {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 22px 36px rgba(55, 82, 141, 0.18);
}

.case-image-tech {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(59, 144, 223, 0.1), rgba(203, 70, 101, 0.08));
}

.case-blueprint {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 32px;
  border: 1px solid rgba(91, 111, 168, 0.14);
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(240, 246, 255, 0.94)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 31px,
      rgba(91, 111, 168, 0.06) 31px,
      rgba(91, 111, 168, 0.06) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 31px,
      rgba(91, 111, 168, 0.06) 31px,
      rgba(91, 111, 168, 0.06) 32px
    );
}

.case-blueprint::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 24px;
  border: 1px dashed rgba(91, 111, 168, 0.18);
}

.case-blueprint span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(91, 111, 168, 0.12);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.case-blueprint span:nth-child(1) {
  top: 50px;
  left: 34px;
}

.case-blueprint span:nth-child(2) {
  right: 38px;
  top: 140px;
}

.case-blueprint span:nth-child(3) {
  left: 88px;
  bottom: 64px;
}

.case-index,
.case-status {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(68, 91, 145, 0.12);
}

.case-index {
  left: 38px;
  top: 38px;
  min-width: 56px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.case-status {
  right: 38px;
  top: 38px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-copy {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 40px 38px 40px 12px;
}

.case-copy h3,
.case-quote {
  margin: 0;
}

.case-copy h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.2;
}

.case-copy p,
.case-points li,
.case-quote {
  color: var(--muted);
  line-height: 1.82;
}

.case-tags,
.case-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-tags span,
.case-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.case-points {
  margin: 0;
  padding-left: 20px;
}

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

.case-detail {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 111, 168, 0.1);
}

.case-detail span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-detail strong {
  display: block;
  margin-top: 6px;
  font-size: 0.94rem;
}

.case-quote {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px dashed rgba(91, 111, 168, 0.18);
  background: rgba(247, 250, 255, 0.82);
  font-style: normal;
}

.estimate-entry {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
  align-items: stretch;
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.14), transparent 24%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(255, 250, 252, 0.96), rgba(244, 248, 255, 0.92));
}

.estimate-entry-inline {
  padding-top: 8px;
}

.estimate-entry-tech {
  background:
    radial-gradient(circle at top left, rgba(86, 189, 255, 0.18), transparent 26%),
    radial-gradient(circle at right bottom, rgba(255, 134, 94, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(246, 251, 255, 0.97), rgba(241, 247, 255, 0.94));
}

.estimate-entry-tech .estimate-card {
  border-color: rgba(66, 142, 204, 0.18);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(239, 248, 255, 0.92));
}

.estimate-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 10px 6px;
  min-width: 0;
}

.estimate-copy h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.2;
}

.estimate-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.estimate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.estimate-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.estimate-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.1), transparent 24%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.1), transparent 24%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.estimate-card-main {
  grid-column: 1 / -1;
}

.estimate-card h3 {
  margin: 10px 0 0;
  font-size: 1.26rem;
}

.estimate-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.estimate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.estimate-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.tab-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.tab-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.tab-button:hover,
.tab-button.is-active {
  transform: translateY(-2px);
  color: #fff;
  background: linear-gradient(135deg, var(--red-deep), var(--blue-deep));
}

.tab-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

.tab-card {
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.12), transparent 28%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.92);
}

.tab-card h3,
.archive-card h3,
.contact-card h3,
.member-copy h3 {
  margin: 12px 0 10px;
  font-size: 1.3rem;
}

.tab-card p,
.archive-card p,
.member-copy p,
.contact-card p,
.contact-card li,
.news-list span,
.news-list strong {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.tab-card.large {
  min-height: 250px;
}

.tab-card ul,
.member-copy ul,
.contact-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.progress-board {
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.12), transparent 24%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.86);
}

.progress-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
  margin-bottom: 18px;
}

.progress-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.1), transparent 24%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.1), transparent 24%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.progress-card h3 {
  margin: 12px 0 10px;
  font-size: 1.28rem;
}

.progress-card p,
.progress-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.progress-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.backend-link {
  margin-top: 16px !important;
}

.backend-link a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-deep), var(--blue-deep));
  color: #fff;
  font-weight: 800;
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.secondary-link a {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid rgba(91, 111, 168, 0.12);
}

.front-process {
  margin-top: 20px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.08), transparent 24%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.82);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.process-node {
  position: relative;
  padding: 18px 12px 12px;
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(91, 111, 168, 0.1);
}

.process-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 2px;
  background: rgba(91, 111, 168, 0.18);
}

.process-node:last-child::after {
  display: none;
}

.process-node strong,
.process-node span {
  display: block;
}

.process-node strong {
  color: var(--red-deep);
  font-size: 1rem;
}

.process-node span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.process-node.done,
.process-node.active,
.process-node.focus {
  border-color: rgba(91, 111, 168, 0.18);
}

.process-node.done {
  background: rgba(245, 250, 255, 0.94);
}

.process-node.done::after,
.process-node.active::after {
  background: linear-gradient(135deg, rgba(200, 66, 99, 0.5), rgba(63, 143, 221, 0.5));
}

.process-node.active {
  background:
    linear-gradient(135deg, rgba(243, 96, 125, 0.12), rgba(102, 188, 255, 0.12)),
    rgba(255, 255, 255, 0.95);
}

.process-node.focus {
  background:
    linear-gradient(135deg, rgba(255, 245, 248, 0.94), rgba(245, 250, 255, 0.94));
  box-shadow: 0 16px 28px rgba(73, 97, 154, 0.1);
}

.process-note {
  margin-top: 14px !important;
}

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

.archive-card {
  min-height: 230px;
  padding: 22px;
  border-radius: 28px;
}

.red-card {
  background: linear-gradient(160deg, rgba(255, 244, 247, 0.96), rgba(255, 235, 241, 0.92));
}

.blue-card {
  background: linear-gradient(160deg, rgba(244, 250, 255, 0.96), rgba(236, 245, 255, 0.92));
}

.neutral-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.92));
}

.news-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(91, 111, 168, 0.12);
}

.news-list strong {
  display: block;
  color: var(--text);
  font-weight: 800;
}

.member-layout {
  display: grid;
  gap: 20px;
}

.member-card {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(91, 111, 168, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.member-card:hover,
.contact-card:hover,
.tab-card:hover,
.archive-card:hover,
.news-list li:hover,
.progress-card:hover,
.schedule-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(65, 92, 151, 0.16);
}

.cat-theme {
  background:
    radial-gradient(circle at top right, rgba(243, 96, 125, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 248, 251, 0.96), rgba(255, 242, 247, 0.92));
}

.wolf-theme {
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(244, 250, 255, 0.96), rgba(242, 246, 255, 0.92));
}

.member-portrait {
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 1;
}

.member-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote {
  text-align: center;
}

.quote p {
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(102, 188, 255, 0.12), transparent 24%),
    radial-gradient(circle at left bottom, rgba(243, 96, 125, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.9);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-lines p {
  padding: 14px 16px;
  border: 1px solid rgba(91, 111, 168, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.contact-note {
  margin-top: 16px !important;
  color: var(--red-deep) !important;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: min(360px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
}

.chat-toggle {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-deep), var(--blue-deep));
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(83, 116, 200, 0.28);
  cursor: pointer;
}

.chat-panel {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 46px rgba(60, 86, 149, 0.2);
  backdrop-filter: blur(14px);
}

.chat-header p,
.chat-bubble,
.chat-reply,
.staff-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.chat-header strong {
  display: block;
  font-size: 1rem;
}

.chat-header p {
  margin-top: 4px;
}

.chat-mode-switch {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.chat-mode {
  flex: 1;
  min-height: 42px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  border-radius: 999px;
  background: rgba(247, 250, 255, 0.9);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.chat-mode.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--red-deep), var(--blue-deep));
}

.chat-body {
  margin-top: 14px;
}

.chat-bubble,
.chat-reply,
.staff-cards p {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(247, 250, 255, 0.9);
  border: 1px solid rgba(91, 111, 168, 0.08);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.quick-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(91, 111, 168, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.chat-reply {
  margin-top: 12px;
  color: var(--text);
}

.staff-cards {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-35%);
  }
}

@media (max-width: 1100px) {
  .hero-shell,
  .estimate-entry,
  .showcase-split,
  .showcase-grid,
  .progress-grid,
  .process-flow,
  .archive-board,
  .tab-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    gap: 14px;
  }

  .site-nav {
    width: 100%;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: stretch;
  }

  .hero-main {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 18px;
  }

  .hero-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    overflow: visible;
  }

  .hero-stamp,
  .floating-note {
    display: none;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    animation: none;
  }

  .cat-card,
  .wolf-card {
    width: 100%;
  }

  .case-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .showcase-media {
    min-height: clamp(220px, 72vw, 320px);
  }

  .case-copy {
    padding: 14px 24px 28px;
  }

  .case-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding-inline: 20px;
  }

  .hero-main {
    min-height: auto;
  }

  .hero-copy {
    padding: 38px 32px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    padding-bottom: 140px;
  }

  main {
    gap: 20px;
  }

  main > section:not(.hero-shell):not(.marquee-band) {
    width: calc(100% - 20px);
  }

  .site-loader {
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
  }

  .site-header {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 66px);
  }

  .brand img {
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .brand em {
    font-size: 0.76rem;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 16px 30px rgba(68, 91, 145, 0.12);
  }

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

  .site-nav a {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 14px;
  }

  .section-card,
  .members,
  .contact,
  .commission-panel,
  .showcase-main,
  .news-panel,
  .quote,
  .hero-copy,
  .side-card {
    padding: 24px;
  }

  .hero-stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-shell {
    min-height: auto;
    padding: 14px 10px 0;
    gap: 14px;
  }

  .hero-copy {
    padding: 30px 22px;
  }

  .hero-main {
    order: 1;
  }

  .hero-side {
    grid-template-columns: 1fr;
    order: 2;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
    line-height: 1;
  }

  .hero-text {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.78;
  }

  .hero-actions,
  .estimate-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .estimate-actions .button {
    width: 100%;
  }

  .hero-signature {
    gap: 8px;
  }

  .hero-signature span {
    width: 100%;
    justify-content: center;
  }

  .hero-title-stack::before {
    display: none;
  }

  .tab-head {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .tab-head::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .case-showcase::before {
    right: 16px;
    top: 18px;
    font-size: 3.2rem;
  }

  .case-slider-top,
  .case-slider-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-slider-tools {
    width: 100%;
    justify-content: space-between;
  }

  .case-image {
    padding: 18px;
  }

  .showcase-panel {
    padding: 18px;
  }

  .showcase-panel-body {
    gap: 16px;
  }

  .showcase-media {
    aspect-ratio: 4 / 5;
    min-height: clamp(240px, 76vw, 420px);
    padding: 14px;
  }

  .case-index {
    left: 28px;
    top: 28px;
  }

  .case-status {
    right: 28px;
    top: 28px;
  }

  .process-flow {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(152px, 72vw);
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .process-flow::-webkit-scrollbar {
    display: none;
  }

  .process-node {
    min-height: 120px;
    scroll-snap-align: start;
  }

  .process-node::after {
    display: none;
  }

  .estimate-copy h2,
  .section-heading h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .contact-lines p {
    padding: 12px 14px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    animation: none;
    border-radius: 26px;
  }

  .member-card {
    grid-template-columns: 1fr;
  }

  .chat-widget {
    right: 10px;
    left: auto;
    bottom: 12px;
    width: auto;
    max-width: calc(100vw - 20px);
  }

  .chat-toggle {
    width: auto;
    min-width: 168px;
    min-height: 52px;
    padding: 0 20px;
    margin-left: auto;
  }

  .chat-panel {
    width: min(360px, calc(100vw - 20px));
    margin-left: auto;
    max-height: min(68vh, 520px);
    overflow-y: auto;
  }
}

@media (max-width: 520px) {
  .site-loader {
    padding: 10px 12px;
    font-size: 0.72rem;
  }

  .site-header,
  main > section:not(.hero-shell):not(.marquee-band) {
    width: calc(100% - 16px);
  }

  .hero-shell {
    padding: 10px 8px 0;
  }

  .site-nav {
    padding: 14px;
    border-radius: 22px;
  }

  .section-card,
  .members,
  .contact,
  .commission-panel,
  .showcase-main,
  .news-panel,
  .quote,
  .hero-copy,
  .side-card,
  .showcase-panel,
  .estimate-card,
  .progress-card,
  .contact-card,
  .member-card {
    padding: 20px;
    border-radius: 24px;
  }

  .hero-copy {
    padding: 24px 18px;
  }

  .hero-title-stack h1 {
    font-size: clamp(2.7rem, 16vw, 4rem);
  }

  .hero-side {
    grid-template-columns: 1fr;
  }

  .hero-subtitle,
  .hero-mini-title {
    letter-spacing: 0.16em;
  }

  .showcase-media {
    aspect-ratio: 1 / 1;
    min-height: clamp(220px, 82vw, 340px);
  }

  .case-slider-tools {
    gap: 10px;
  }

  .case-slider-counter {
    min-width: 72px;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .case-arrow {
    width: 42px;
    height: 42px;
  }

  .marquee-track span,
  .estimate-tags span,
  .hero-signature span {
    font-size: 0.78rem;
  }

  .chat-panel {
    max-height: 62vh;
  }
}
