:root {
  --ink: #0b0b0a;
  --ink-soft: #12110f;
  --panel: #191713;
  --panel-raised: #211e19;
  --ivory: #f2eadc;
  --muted: #aaa397;
  --gold: #b98b52;
  --gold-bright: #d0a870;
  --gold-soft: #7d6040;
  --terracotta: #9e4936;
  --line: rgba(242, 234, 220, 0.12);
  --line-strong: rgba(185, 139, 82, 0.45);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --font-display: "Noto Serif SC", "Source Han Serif SC", "思源宋体", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "思源黑体", "Microsoft YaHei", sans-serif;
  --sidebar-width: 240px;
  --page-gutter: clamp(28px, 6vw, 96px);
  --section-space: clamp(96px, 11vw, 170px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
  background: var(--ink);
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(124, 87, 45, 0.12), transparent 28rem),
    var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

h1,
h2,
h3,
.brand strong,
.mobile-brand strong {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-wrap: balance;
}

p {
  margin-top: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  padding: 36px 28px 30px;
  border-right: 1px solid var(--line);
  background: rgba(11, 11, 10, 0.94);
  backdrop-filter: blur(22px);
  flex-direction: column;
}

.brand {
  display: grid;
  gap: 8px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand strong {
  margin: 0;
  color: var(--ivory);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.side-nav {
  display: grid;
  margin-top: 58px;
  gap: 8px;
}

.side-nav a {
  position: relative;
  padding: 12px 0 12px 18px;
  color: #89847c;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.side-nav a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
}

.side-nav a:hover,
.side-nav a.is-active {
  color: var(--ivory);
  transform: translateX(3px);
}

.side-nav a:hover::before,
.side-nav a.is-active::before {
  background: var(--gold);
  opacity: 1;
}

.sidebar-footer {
  display: grid;
  margin-top: auto;
  gap: 20px;
}

.sidebar-footer small {
  color: #6f6b64;
  font-size: 10px;
  text-align: center;
}

.mobile-header,
.menu-backdrop {
  display: none;
}

main {
  min-width: 0;
  margin-left: var(--sidebar-width);
}

.section-shell {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.content-section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--line);
  scroll-margin-top: 0;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.95;
}

.section-heading-row {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  align-items: end;
  gap: 64px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: #17110b;
  box-shadow: 0 12px 32px rgba(185, 139, 82, 0.16);
}

.button-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 16px 38px rgba(185, 139, 82, 0.24);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(185, 139, 82, 0.06);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: var(--gold);
  background: rgba(185, 139, 82, 0.1);
}

.button-ghost {
  border-color: var(--line);
  color: var(--muted);
}

.button-block {
  width: 100%;
}

.hero {
  display: grid;
  min-height: 100svh;
  padding-top: clamp(80px, 10vh, 130px);
  padding-bottom: clamp(70px, 9vh, 110px);
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(54px, 7vw, 120px);
}

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

.hero h1 {
  max-width: 860px;
  margin-bottom: 30px;
  font-size: clamp(52px, 6.5vw, 104px);
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-size: 0.55em;
  letter-spacing: -0.035em;
}

.hero-description {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.95;
}

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

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.avatar-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 20%, rgba(185, 139, 82, 0.2), transparent 40%),
    linear-gradient(145deg, #201b14, #0e0e0c 68%);
  box-shadow: var(--shadow);
}

.avatar-card::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(242, 234, 220, 0.07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.avatar-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.avatar-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  padding: 52px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.avatar-placeholder.is-visible {
  display: grid;
}

.avatar-placeholder strong {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.avatar-placeholder small {
  margin-top: 12px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.frame-mark {
  position: absolute;
  left: 50%;
  width: 74%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  transform: translateX(-50%);
}

.frame-mark::before,
.frame-mark::after {
  position: absolute;
  top: -4px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-soft);
  content: "";
  transform: rotate(45deg);
}

.frame-mark::before {
  left: 0;
}

.frame-mark::after {
  right: 0;
}

.frame-mark-top {
  top: 24%;
}

.frame-mark-bottom {
  bottom: 24%;
}

.brand-seal {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: -2%;
  width: clamp(72px, 8vw, 110px);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.48));
  transform: rotate(1deg);
}

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

.value-card,
.contact-card {
  position: relative;
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 58%),
    var(--panel);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.value-card:hover,
.contact-card:hover {
  border-color: var(--line-strong);
  background-color: var(--panel-raised);
  transform: translateY(-5px);
}

.card-index {
  display: block;
  margin-bottom: 86px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.value-card h3,
.contact-card h3 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.value-card h3 span {
  display: block;
}

.value-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.works-section {
  background:
    linear-gradient(180deg, transparent, rgba(185, 139, 82, 0.025) 50%, transparent);
}

.filter-wrap {
  margin-bottom: 32px;
}

.filter-list {
  display: flex;
  width: 100%;
  padding-bottom: 3px;
  align-items: center;
  gap: 8px;
}

.filter-button {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #8d887f;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--gold-soft);
  background: rgba(185, 139, 82, 0.11);
  color: var(--ivory);
}

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

.work-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  animation: card-in 360ms ease both;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.work-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
  transform: translateY(-5px);
}

.work-media,
.video-frame {
  aspect-ratio: 16 / 9;
}

.work-media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(185, 139, 82, 0.18), transparent 52%),
    #11100e;
}

.work-media::before,
.work-media::after {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  height: 1px;
  background: rgba(208, 168, 112, 0.28);
  content: "";
}

.work-media::before {
  top: 16px;
}

.work-media::after {
  bottom: 16px;
}

.work-cover {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.work-media.is-portrait {
  background:
    radial-gradient(circle at 50% 45%, rgba(185, 139, 82, 0.16), transparent 45%),
    #090908;
}

.work-media.is-portrait .work-cover {
  padding: 10px;
  object-fit: contain;
}

.work-card:hover .work-cover {
  transform: scale(1.03);
}

.work-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 30px;
  align-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 72% 32%, rgba(158, 73, 54, 0.18), transparent 22%),
    linear-gradient(150deg, rgba(185, 139, 82, 0.12), transparent 60%);
  color: rgba(242, 234, 220, 0.56);
  text-align: center;
}

.work-placeholder span {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
}

.work-placeholder small {
  margin-top: 8px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.work-body {
  display: grid;
  min-height: 245px;
  padding: 24px;
  grid-template-rows: auto auto 1fr auto;
}

.work-category {
  width: max-content;
  margin-bottom: 16px;
  padding: 4px 9px;
  border: 1px solid rgba(185, 139, 82, 0.3);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 800;
}

.work-title {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.work-description {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.work-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.play-button {
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  background: rgba(185, 139, 82, 0.08);
  color: var(--ivory);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.play-button:hover {
  background: var(--gold);
  color: var(--ink);
}

.play-unavailable {
  color: #777168;
  font-size: 11px;
  font-weight: 700;
}

.bilibili-link {
  color: #777168;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.empty-state {
  padding: 42px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.agent-section {
  position: relative;
  overflow: hidden;
}

.agent-section::after {
  position: absolute;
  z-index: -1;
  right: -200px;
  bottom: -260px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(185, 139, 82, 0.08);
  border-radius: 50%;
  content: "";
}

.process-flow {
  display: grid;
  margin: 0 0 44px;
  padding: 0;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  list-style: none;
}

.process-flow li {
  position: relative;
  display: grid;
  min-height: 155px;
  padding: 20px 18px;
  border-top: 1px solid var(--line-strong);
  align-content: space-between;
}

.process-flow li::after {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

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

.process-flow span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
}

.process-flow strong {
  font-size: 14px;
}

.agent-button {
  min-width: 230px;
}

.contact-grid {
  margin-bottom: 54px;
}

.contact-card {
  min-height: 270px;
}

.contact-card .card-index {
  margin-bottom: 66px;
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 20%, rgba(185, 139, 82, 0.18), transparent 32%),
    var(--panel);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 60px;
}

.contact-info {
  min-width: 0;
  padding: clamp(36px, 6vw, 80px);
}

.contact-label {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.contact-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.1;
  white-space: nowrap;
}

.contact-info p {
  margin: 22px 0 0;
  color: var(--muted);
}

.qr-card {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  width: 280px;
  aspect-ratio: 1;
  margin: 34px 50px 34px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #eee7da;
  justify-self: end;
}

.qr-image {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 12px;
  border-radius: inherit;
  background: #fff;
  object-fit: contain;
}

.qr-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  padding: 28px;
  align-content: center;
  justify-items: center;
  color: #312a23;
  text-align: center;
}

.qr-placeholder.is-visible {
  display: grid;
}

.qr-grid {
  width: 112px;
  height: 112px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, currentColor 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(currentColor 10px, transparent 10px) 0 0 / 24px 24px;
  opacity: 0.7;
}

.qr-placeholder strong {
  font-size: 14px;
}

.site-footer {
  display: flex;
  padding: 34px var(--page-gutter);
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  color: #6f6a62;
  font-size: 11px;
}

.site-footer small {
  font-size: inherit;
}

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

.video-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 28px;
  background: rgba(2, 2, 2, 0.88);
  place-items: center;
  backdrop-filter: blur(16px);
}

.video-modal-panel {
  overflow: hidden;
  width: min(900px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #0c0c0b;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6);
}

.video-modal-panel.is-portrait {
  width: min(430px, calc((100svh - 120px) * 0.5625), 100%);
}

.modal-header {
  display: flex;
  padding: 16px 18px 14px 22px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  overflow: hidden;
  margin: 0;
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  place-items: center;
}

.modal-close:hover {
  border-color: var(--gold);
  background: rgba(185, 139, 82, 0.1);
}

.video-frame {
  width: 100%;
  background: #000;
}

.video-frame iframe,
.local-video {
  width: 100%;
  height: 100%;
  border: 0;
}

.local-video {
  background: #000;
  object-fit: contain;
}

.video-modal-panel.is-portrait .video-frame {
  aspect-ratio: 9 / 16;
}

@media (min-width: 1450px) {
  .works-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    gap: 50px;
  }

  .process-flow {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 28px;
  }
}

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 190px;
    --page-gutter: clamp(24px, 5vw, 64px);
  }

  .sidebar {
    padding-inline: 20px;
  }

  .brand strong {
    font-size: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 620px;
  }

  .brand-seal {
    right: 0;
  }

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

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-panel {
    gap: 28px;
  }

  .qr-card {
    width: 220px;
    margin-right: 34px;
  }
}

@media (max-width: 820px) {
  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .contact-card {
    min-height: 230px;
  }

  .card-index,
  .contact-card .card-index {
    margin-bottom: 42px;
  }

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

  .qr-card {
    width: auto;
    margin: 0 34px 34px;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 20px;
    --section-space: 90px;
  }

  html {
    scroll-padding-top: 74px;
  }

  .mobile-header {
    position: fixed;
    z-index: 70;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 68px;
    padding: 0 18px 0 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 11, 10, 0.9);
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(18px);
  }

  .mobile-brand {
    display: grid;
    line-height: 1.1;
    gap: 3px;
  }

  .mobile-brand strong {
    margin: 0;
    font-size: 17px;
  }

  .mobile-brand span {
    color: var(--gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    align-content: center;
    justify-items: center;
    gap: 6px;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: var(--ivory);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .sidebar {
    width: min(86vw, 320px);
    padding: 92px 28px 30px;
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .menu-backdrop {
    position: fixed;
    z-index: 45;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.66);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .menu-backdrop.is-visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  main {
    margin-left: 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: 118px;
    padding-bottom: 90px;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .hero h1 span {
    font-size: 0.48em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .avatar-placeholder {
    padding: 34px;
  }

  .brand-seal {
    right: 0;
    bottom: -2%;
    width: 82px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .works-grid,
  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .filter-wrap {
    width: calc(100% + 20px);
    margin-right: -20px;
    overflow: hidden;
  }

  .filter-list {
    overflow-x: auto;
    padding-right: 20px;
    padding-bottom: 12px;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .work-body {
    min-height: 220px;
  }

  .process-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-flow li {
    min-height: 92px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    grid-template-columns: 48px 1fr;
    align-items: center;
  }

  .process-flow li::after {
    top: auto;
    right: auto;
    bottom: -4px;
    left: 19px;
  }

  .agent-button {
    width: 100%;
  }

  .contact-info {
    padding: 38px 24px 10px;
  }

  .contact-info strong {
    font-size: clamp(32px, 10vw, 48px);
  }

  .qr-card {
    width: auto;
    margin: 20px 24px 24px;
  }

  .site-footer {
    padding: 30px 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal-panel {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
