@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f4f3ed;
  --paper-2: #ebeae2;
  --ink: #191b17;
  --muted: #6d7167;
  --line: #cfd1c6;
  --acid: #dfff4f;
  --acid-deep: #c9ed32;
  --coral: #ff6542;
  --sky: #b9d8ff;
  --white: #fffef9;
  --dark: #191b17;
  --radius: 26px;
  --shadow: 0 24px 80px rgba(25, 27, 23, .16);
  --max: 1380px;
  --header: 86px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.skip {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-acid { background: var(--acid); color: var(--ink); }
.section-white { background: var(--white); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.section-dark .eyebrow::before { background: var(--acid); }
.kicker { margin: 0 0 12px; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.display, h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { margin-bottom: 26px; font-size: clamp(52px, 7.4vw, 112px); font-weight: 500; }
h2 { margin-bottom: 22px; font-size: clamp(38px, 4.7vw, 68px); font-weight: 500; }
h3 { margin-bottom: 12px; font-size: clamp(24px, 2.3vw, 34px); font-weight: 600; }
p { margin-bottom: 18px; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.65; }
.section-dark .lede, .section-dark .muted { color: #b8bcb0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.text-link::after { content: "↗"; transition: transform .2s ease; }
.text-link:hover::after { transform: translate(3px, -3px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #34382f; }
.btn svg { width: 18px; height: 18px; }
.btn-acid { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.btn-acid:hover { background: var(--acid-deep); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--acid); border-color: var(--acid); }
.btn-outline-light { background: transparent; border-color: #777d6e; color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.btn-small { min-height: 42px; padding: 10px 17px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.icon-arrow { width: 18px; height: 18px; }

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  background: rgba(244, 243, 237, .91);
  border-bottom: 1px solid rgba(25, 27, 23, .12);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; min-height: var(--header); gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--acid); border-radius: 3px; }
.brand-mark::before { width: 5px; height: 5px; left: 8px; top: 12px; box-shadow: 10px 0 0 var(--acid); }
.brand-mark::after { width: 9px; height: 3px; left: 11px; top: 20px; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.055em; }
.brand-sub { padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.site-nav a { position: relative; padding: 8px 0; font-size: 14px; font-weight: 500; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 9px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}
.lang-toggle:hover { background: var(--white); }
.lang-toggle svg { width: 16px; height: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; place-items: center; }
.menu-toggle svg { width: 21px; height: 21px; }

.hero { padding: 72px 0 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); align-items: center; gap: 52px; }
.hero-copy { padding: 30px 0; }
.hero h1 { max-width: 900px; }
.hero .lede { max-width: 650px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 42px; color: var(--muted); font-size: 13px; }
.hero-note::before { content: ""; width: 38px; height: 1px; background: var(--ink); }
.hero-visual { position: relative; min-height: 620px; overflow: hidden; border-radius: var(--radius); background: #0b0d0d; }
.hero-visual > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .42)); pointer-events: none; }
.hero-badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.45;
  text-align: center;
  transform: rotate(8deg);
  animation: float 5s ease-in-out infinite;
}
.hero-caption { position: absolute; z-index: 2; right: 26px; bottom: 24px; left: 26px; display: flex; justify-content: space-between; align-items: flex-end; color: white; }
.hero-caption strong { font-size: 19px; font-weight: 500; }
.hero-caption span { font-size: 12px; letter-spacing: .1em; }
@keyframes float { 50% { transform: rotate(2deg) translateY(-8px); } }

.ticker { overflow: hidden; border-block: 1px solid var(--ink); background: var(--acid); }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track span { display: block; padding: 16px 24px; font-size: 13px; font-weight: 700; letter-spacing: .13em; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-head { display: grid; grid-template-columns: .8fr 1.6fr; gap: 50px; align-items: start; margin-bottom: 55px; }
.section-head .lede { max-width: 800px; }
.section-head.center { display: block; max-width: 850px; margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.manifesto { max-width: 1200px; font-size: clamp(42px, 5.8vw, 84px); font-weight: 500; line-height: 1.14; letter-spacing: -.055em; }
.manifesto em { color: var(--coral); font-style: normal; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 55px rgba(25, 27, 23, .1); }
.product-media { position: relative; overflow: hidden; aspect-ratio: 1 / .92; background: #171917; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-number { position: absolute; top: 18px; left: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.product-body { padding: 26px; }
.product-body h3 { margin-bottom: 10px; font-size: 35px; }
.product-body p { min-height: 52px; color: var(--muted); }
.product-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.card-actions .btn { flex: 1 1 auto; }

.principle { padding: 28px 0; border-top: 1px solid var(--line); }
.principle .number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 55px; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }
.principle h3 { font-size: 28px; }
.principle p { color: var(--muted); }
.section-dark .principle { border-color: #484c42; }
.section-dark .principle .number { border-color: #5b6152; color: var(--acid); }
.section-dark .principle p { color: #b8bcb0; }

.feature-split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 600px; }
.feature-image { min-height: 520px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 90px); background: var(--acid); }
.feature-copy .lede { color: #3c4135; }
.feature-copy .btn { align-self: flex-start; }

.page-hero { padding: 78px 0 65px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1200px; font-size: clamp(54px, 7vw, 100px); }
.page-hero .lede { max-width: 780px; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.page-index { flex: none; padding-bottom: 18px; color: var(--muted); font-size: 13px; letter-spacing: .12em; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.filter-btn { min-height: 44px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-weight: 500; }
.filter-btn:hover, .filter-btn.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.section-dark .filter-btn { border-color: #626858; color: var(--white); }
.section-dark .filter-btn:hover, .section-dark .filter-btn.is-active { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.section-dark .filter-count { color: #b8bcb0; }
.filter-count { margin-left: auto; align-self: center; color: var(--muted); font-size: 13px; }
.product-showcase { display: grid; gap: 28px; }
.showcase-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); overflow: hidden; min-height: 560px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.showcase-card:nth-child(even) .showcase-media { order: 2; }
.showcase-media { min-height: 480px; overflow: hidden; background: #151715; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.showcase-card:hover .showcase-media img { transform: scale(1.025); }
.showcase-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4.5vw, 66px); }
.showcase-copy h2 { margin-bottom: 18px; font-size: clamp(42px, 4vw, 62px); }
.showcase-copy .tagline { margin-bottom: 20px; font-size: 22px; line-height: 1.45; }
.showcase-copy .description { color: var(--muted); }
.spec-preview { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; }
.spec-preview span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: left; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { background: var(--paper-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.compare-table tbody th { font-size: 20px; }

.service-card { display: flex; flex-direction: column; min-height: 420px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service-number { display: flex; justify-content: space-between; margin-bottom: 65px; color: var(--muted); font-size: 13px; }
.service-card h3 { font-size: 32px; }
.service-card p { color: var(--muted); }
.service-card .btn { align-self: flex-start; margin-top: auto; }
.process-row { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 28px; padding: 30px 0; border-top: 1px solid #484c42; }
.process-row:last-child { border-bottom: 1px solid #484c42; }
.process-row .step { color: var(--acid); font-size: 13px; letter-spacing: .12em; }
.process-row h3 { margin: 0; font-size: 28px; }
.process-row p { margin: 0; color: #b8bcb0; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: center; padding: 25px 0; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .acc-number { color: var(--muted); font-size: 12px; }
.accordion summary strong { font-size: 24px; font-weight: 500; }
.accordion summary::after { content: "+"; font-size: 30px; font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.accordion .acc-body { max-width: 800px; padding: 0 0 28px 80px; color: var(--muted); }
.section-dark .accordion, .section-dark .accordion details { border-color: #484c42; }
.section-dark .accordion .acc-body { color: #b8bcb0; }

.case-card { overflow: hidden; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.case-card .case-image { overflow: hidden; aspect-ratio: 1.2 / 1; }
.case-card .case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case-card:hover .case-image img { transform: scale(1.04); }
.case-card .case-copy { padding: 28px; }
.case-card .case-copy p { color: var(--muted); }
.case-card .text-link { margin-top: 8px; border: 0; background: transparent; padding: 0 0 3px; font-size: 16px; }
.case-card .text-link::after { content: "↗"; }

.scope-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.scope-card.scope-yes { border-top: 6px solid var(--acid-deep); }
.scope-card.scope-no { border-top: 6px solid var(--coral); }
.scope-card ul { display: grid; gap: 15px; margin: 25px 0 0; padding: 0; list-style: none; }
.scope-card li { position: relative; padding-left: 24px; }
.scope-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.scope-no li::before { background: var(--coral); }

.studio-visual { position: relative; overflow: hidden; border-radius: var(--radius); background: #101210; }
.studio-visual img { width: 100%; min-height: 480px; object-fit: cover; }
.studio-visual .studio-stamp { position: absolute; right: 28px; bottom: 28px; max-width: 210px; padding: 20px; border-radius: 18px; background: var(--acid); font-size: 14px; font-weight: 600; transform: rotate(-3deg); }
.discipline { padding: 26px 0; border-top: 1px solid var(--line); }
.discipline h3 { font-size: 25px; }
.discipline p { color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.contact-aside { position: sticky; top: 120px; }
.contact-card { margin-top: 32px; padding: 25px; border-radius: 20px; background: var(--acid); }
.contact-card a { font-weight: 600; }
.inquiry-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field > span, .field-label { font-size: 14px; font-weight: 600; }
.field small { color: var(--muted); font-size: 12px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); padding: 13px 15px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(223, 255, 79, .65); }
textarea { min-height: 145px; resize: vertical; }
.field .error { min-height: 16px; color: #b52d16; }
.is-invalid { border-color: var(--coral) !important; }
.check-field { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.check-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; grid-column: 1 / -1; margin-top: 6px; }
.form-success { padding: 34px; border-radius: var(--radius); background: var(--acid); }
.summary-box { overflow-wrap: anywhere; white-space: pre-wrap; padding: 18px; border: 1px solid rgba(25, 27, 23, .2); border-radius: 12px; background: rgba(255, 255, 255, .35); font-size: 14px; }
.saved-record { padding: 25px 0; border-top: 1px solid var(--line); }
.saved-record h3 { margin-bottom: 8px; font-size: 22px; }

.big-cta { position: relative; overflow: hidden; padding: 90px 0; background: var(--acid); }
.big-cta::after { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; top: -140px; border: 1px solid rgba(25, 27, 23, .25); border-radius: 50%; box-shadow: 0 0 0 45px rgba(25, 27, 23, .04), 0 0 0 90px rgba(25, 27, 23, .04); }
.cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.big-cta h2 { max-width: 850px; margin: 0; }
.big-cta .actions { flex: none; margin: 0; }

.site-footer { padding: 70px 0 30px; background: var(--dark); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand .brand-mark { background: var(--acid); }
.footer-brand .brand-mark::before { background: var(--ink); box-shadow: 10px 0 0 var(--ink); }
.footer-brand .brand-mark::after { background: var(--ink); }
.footer-brand p { max-width: 340px; margin-top: 24px; color: #b8bcb0; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col strong { margin-bottom: 10px; color: var(--acid); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a, .footer-col button { padding: 0; border: 0; background: transparent; color: #d6d9d0; text-decoration: none; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--acid); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid #41453b; color: #92988a; font-size: 12px; }

.chat-fab {
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 10px 32px rgba(25, 27, 23, .2);
  font-weight: 700;
  transition: transform .2s ease;
}
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab svg { width: 20px; height: 20px; }
.chat-panel {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(420px, calc(100vw - 32px));
  height: min(680px, calc(100dvh - 48px));
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--dark); color: var(--white); }
.chat-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--acid); color: var(--ink); font-weight: 800; }
.chat-title { flex: 1; }
.chat-title strong { display: block; line-height: 1.2; }
.chat-title small { color: #b8bcb0; font-size: 11px; }
.chat-close, .chat-clear { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #51564a; border-radius: 50%; background: transparent; color: var(--white); }
.chat-close svg, .chat-clear svg { width: 17px; height: 17px; }
.chat-messages { display: flex; flex-direction: column; gap: 13px; overflow-y: auto; padding: 20px; }
.chat-message { max-width: 88%; padding: 12px 15px; border: 1px solid var(--line); border-radius: 6px 17px 17px 17px; background: var(--white); font-size: 14px; line-height: 1.6; }
.chat-message.user { align-self: flex-end; border-color: var(--ink); border-radius: 17px 6px 17px 17px; background: var(--ink); color: var(--white); }
.chat-message a { font-weight: 700; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 20px 12px; }
.chat-quick:empty { display: none; }
.chat-quick button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; }
.chat-quick button:hover { border-color: var(--ink); background: var(--acid); }
.chat-form { display: grid; grid-template-columns: 1fr 46px; gap: 9px; padding: 14px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input { min-width: 0; border-radius: 999px; }
.chat-form button { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--acid); }
.chat-form button svg { width: 20px; height: 20px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite alternate; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { to { transform: translateY(-4px); } }

.site-dialog { width: min(1050px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; overflow: auto; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.site-dialog::backdrop { background: rgba(17, 19, 16, .72); backdrop-filter: blur(6px); }
.dialog-top { position: sticky; z-index: 3; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); background: rgba(244, 243, 237, .94); backdrop-filter: blur(12px); }
.dialog-brand { font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.dialog-close:hover { background: var(--ink); color: var(--white); }
.dialog-close svg { width: 19px; height: 19px; }
.dialog-content { padding: 32px; }
.dialog-product-head { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: center; }
.dialog-product-image { overflow: hidden; border-radius: 20px; aspect-ratio: 1 / 1; background: #151715; }
.dialog-product-image img { width: 100%; height: 100%; object-fit: cover; }
.dialog-product-copy h2 { font-size: clamp(42px, 5vw, 66px); }
.dialog-product-copy p { color: var(--muted); }
.dialog-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.dialog-section h3 { font-size: 28px; }
.dialog-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
.dialog-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dialog-specs dt { color: var(--muted); }
.dialog-specs dd { margin: 0; text-align: right; }
.deliverable-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.deliverable-list li { padding: 14px; border-radius: 10px; background: var(--paper-2); }
.case-block { margin: 22px 0; }
.case-block strong { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.case-block p { margin: 0; color: var(--muted); }

.script-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.script-stage { padding: 28px; }
.script-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.script-thumb { width: 76px; height: 76px; overflow: hidden; border-radius: 15px; background: #151715; flex: none; }
.script-thumb img { width: 100%; height: 100%; object-fit: cover; }
.script-head h2 { margin: 0 0 5px; font-size: 32px; }
.script-head p { margin: 0; color: var(--muted); font-size: 13px; }
.script-progress { height: 4px; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.script-progress span { display: block; height: 100%; background: var(--coral); transition: width .3s ease; }
.script-lines { display: grid; gap: 13px; min-height: 180px; margin-top: 24px; }
.script-line { display: grid; grid-template-columns: 74px 1fr; gap: 12px; animation: lineIn .35s ease both; }
.script-line .who { color: var(--muted); font-size: 12px; font-weight: 700; }
.script-line p { margin: 0; }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } }
.script-controls { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 28px; border-top: 1px solid var(--line); background: var(--paper-2); }
.script-complete { padding: 12px 15px; border-radius: 10px; background: var(--acid); font-weight: 600; }

.toast { position: fixed; z-index: 150; left: 50%; bottom: 28px; max-width: min(520px, calc(100% - 32px)); padding: 13px 19px; border-radius: 999px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); transform: translateX(-50%); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .container { width: min(var(--max), calc(100% - 40px)); }
  .brand-sub { display: none; }
  .header-inner { gap: 20px; }
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 440px; gap: 30px; }
  .hero-visual, .hero-visual > img { min-height: 540px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 920px) {
  :root { --header: 74px; }
  .section { padding: 80px 0; }
  .menu-toggle { display: grid; }
  .header-tools .btn { display: none; }
  .header-tools { margin-left: auto; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .site-nav a::after { display: none; }
  .hero { padding-top: 42px; }
  .hero-grid, .feature-split, .contact-layout, .dialog-product-head { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual, .hero-visual > img { min-height: 500px; }
  .section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 38px; }
  .product-grid, .grid-3 { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: 1fr 1fr; }
  .product-media { aspect-ratio: auto; min-height: 390px; }
  .product-body { display: flex; flex-direction: column; justify-content: center; }
  .showcase-card { grid-template-columns: 1fr; }
  .showcase-card:nth-child(even) .showcase-media { order: 0; }
  .showcase-media { min-height: 500px; }
  .process-row { grid-template-columns: 55px 1fr; }
  .process-row p { grid-column: 2; }
  .contact-aside { position: static; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section-sm { padding: 52px 0; }
  h1 { font-size: clamp(45px, 13vw, 66px); }
  h2 { font-size: clamp(35px, 10vw, 48px); }
  .lede { font-size: 17px; }
  .brand-name { font-size: 20px; }
  .header-inner { gap: 10px; }
  .lang-toggle { padding: 8px 10px; }
  .hero { padding: 30px 0 55px; }
  .hero h1 { font-size: clamp(47px, 13.5vw, 68px); }
  .hero-visual, .hero-visual > img { min-height: 410px; }
  .hero-badge { width: 92px; height: 92px; font-size: 10px; }
  .hero-caption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hero-note { margin-top: 28px; }
  .actions .btn { flex: 1 1 auto; }
  .manifesto { font-size: 39px; }
  .product-card { display: block; }
  .product-media { min-height: 0; aspect-ratio: 1 / .9; }
  .product-body p { min-height: 0; }
  .principle .number { margin-bottom: 30px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .feature-copy { padding: 36px 25px; }
  .feature-image { min-height: 390px; }
  .page-hero { padding: 50px 0 44px; }
  .page-hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .page-hero-row { display: block; }
  .page-index { padding: 0; }
  .filter-count { width: 100%; margin: 6px 0 0; }
  .showcase-media { min-height: 360px; }
  .showcase-copy { padding: 28px 23px; }
  .showcase-copy .tagline { font-size: 19px; }
  .service-card { min-height: 360px; }
  .service-number { margin-bottom: 42px; }
  .process-row { grid-template-columns: 38px 1fr; gap: 16px; }
  .process-row h3 { font-size: 23px; }
  .accordion summary { grid-template-columns: 34px 1fr auto; gap: 10px; }
  .accordion summary strong { font-size: 20px; }
  .accordion .acc-body { padding-left: 44px; }
  .studio-visual img { min-height: 360px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide, .check-field, .form-footer { grid-column: auto; }
  .inquiry-form, .form-success { padding: 23px 18px; }
  .big-cta { padding: 65px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .chat-fab { right: 16px; bottom: 16px; }
  .chat-panel { right: 16px; bottom: 16px; height: min(700px, calc(100dvh - 32px)); }
  .site-dialog { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .dialog-content { padding: 22px 16px 30px; }
  .dialog-specs, .deliverable-list { grid-template-columns: 1fr; }
  .dialog-specs div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .dialog-specs dd { text-align: left; }
  .script-stage, .script-controls { padding: 20px 17px; }
  .script-line { grid-template-columns: 58px 1fr; gap: 8px; }
  .script-head h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
