:root {
  --ink: #080807;
  --graphite: #171615;
  --charcoal: #24211e;
  --ash: #726f68;
  --soft: #a9a196;
  --line: #ddd5c8;
  --paper: #f4efe7;
  --milk: #fffdf8;
  --white: #ffffff;
  --gold: #b99b62;
  --bronze: #8a6840;
  --wine: #7b1e2b;
  --green: #173f35;
  --max: 1240px;
  --radius: 8px;
  --shadow: 0 32px 90px rgba(8, 8, 7, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--milk);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.68;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #f1dfb2);
  transform-origin: left center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(8, 8, 7, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 7, 0.95);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

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

.brand-logo {
  width: 58px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  display: grid;
  gap: 2px;
}

.brand-name strong {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-name span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  padding: 28px 10px 27px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 19px;
  left: 10px;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  white-space: nowrap;
  transition: 0.25s ease;
}

.header-action:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-architecture {
  min-height: calc(92svh - 78px);
}

.hero-bg,
.hero-bg img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.02);
  animation: heroBuildingDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.76) 38%, rgba(8, 8, 7, 0.26) 74%),
    linear-gradient(0deg, rgba(8, 8, 7, 0.9) 0%, rgba(8, 8, 7, 0.12) 44%, rgba(8, 8, 7, 0.44) 100%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.54fr);
  gap: 56px;
  align-items: center;
  min-height: calc(92svh - 78px);
  padding: 76px 0 138px;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin: 24px 0 18px;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lead,
.hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(8, 8, 7, 0.18);
}

.btn-light {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.hero-editorial {
  align-self: end;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-editorial img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: 63% center;
  filter: saturate(0.94) contrast(1.04);
}

.hero-editorial div {
  padding: 22px 24px 24px;
}

.hero-editorial span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-editorial strong {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.45;
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  background: rgba(8, 8, 7, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 106px;
  padding: 22px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-item:first-child {
  border-left: 0;
}

.proof-item strong {
  display: block;
  color: var(--white);
  font-size: 32px;
  line-height: 1.05;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.architecture-intro {
  padding: 106px 0 92px;
  background: var(--ink);
  color: var(--white);
}

.architecture-grid,
.statement-grid,
.split,
.atelier-grid,
.manufacturing-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
}

.architecture-title h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.12;
}

.architecture-copy {
  display: grid;
  gap: 24px;
}

.architecture-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.building-showcase {
  padding: 0 0 112px;
  background: var(--ink);
}

.building-frame {
  position: relative;
  margin: 0;
  min-height: 680px;
  background: var(--charcoal);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.building-frame::before {
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  pointer-events: none;
}

.building-frame img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.82) contrast(1.08);
  transition: transform 1s ease;
}

.building-frame:hover img {
  transform: scale(1.035);
}

.building-frame figcaption {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 3;
  display: grid;
  gap: 8px;
  max-width: 430px;
  padding: 28px 30px;
  color: var(--white);
  background: rgba(8, 8, 7, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
}

.building-frame span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.building-frame strong {
  font-size: 28px;
  line-height: 1.2;
}

.building-frame em {
  color: rgba(255, 255, 255, 0.64);
  font-style: normal;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--milk);
}

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

.marquee span {
  padding: 22px 28px;
  color: var(--graphite);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.section {
  padding: 112px 0;
}

.section-muted {
  background: var(--paper);
}

.section-dark {
  background: var(--graphite);
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.48fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-dark .section-kicker,
.architecture-intro .section-kicker {
  color: var(--gold);
}

.section-title {
  max-width: 840px;
  margin: 0;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.section-desc,
.lead {
  margin: 0;
  color: var(--ash);
  font-size: 17px;
}

.section-dark .section-desc,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.64);
}

.feature-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card,
.service-card,
.contact-card {
  background: var(--milk);
}

.feature-card,
.service-card {
  min-height: 244px;
  padding: 34px 28px;
}

.feature-index,
.service-card .number {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3,
.service-card h3,
.contact-card h3 {
  margin: 22px 0 12px;
  font-size: 22px;
  line-height: 1.28;
}

.feature-card p,
.service-card p,
.contact-card p,
.news-card p,
.product-card p,
.case-card p {
  margin: 0;
  color: var(--ash);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.product-card,
.case-card,
.news-card {
  position: relative;
  min-height: 500px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(8, 8, 7, 0.1);
}

.product-card {
  grid-column: span 4;
}

.product-card-large {
  grid-column: span 6;
}

.product-card-wide {
  grid-column: span 8;
}

.product-card figure,
.case-card figure,
.news-card figure {
  margin: 0;
  height: 100%;
}

.product-card img,
.case-card img,
.news-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center top;
  opacity: 0.86;
  transition: transform 0.75s ease, opacity 0.3s ease;
}

.product-card::after,
.case-card::after,
.news-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 8, 7, 0.9), rgba(8, 8, 7, 0.1) 58%),
    linear-gradient(180deg, rgba(8, 8, 7, 0.18), rgba(8, 8, 7, 0));
  content: "";
}

.product-card:hover img,
.case-card:hover img,
.news-card:hover img {
  opacity: 1;
  transform: scale(1.045);
}

.product-body,
.case-body,
.news-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 32px;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.product-card h3,
.case-card h3,
.news-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
}

.product-card p,
.case-card p,
.news-card p {
  color: rgba(255, 255, 255, 0.72);
}

.atelier-section {
  background: var(--milk);
}

.atelier-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.atelier-media {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.atelier-media img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.atelier-media:hover img {
  transform: scale(1.035);
}

.atelier-copy {
  padding-left: 16px;
}

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

.tick-list li {
  position: relative;
  padding-left: 26px;
}

.tick-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.manufacturing-grid {
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1.12fr);
  margin-bottom: 56px;
}

.manufacturing-media {
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
}

.manufacturing-media img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.manufacturing-media:hover img {
  transform: scale(1.035);
}

.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.process-step {
  min-height: 210px;
  padding: 34px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-step span {
  color: var(--gold);
  font-weight: 900;
}

.process-step h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.industry-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.industry-item {
  min-height: 164px;
  padding: 28px 22px;
  background: var(--milk);
  transition: background 0.25s ease, color 0.25s ease;
}

.industry-item:hover {
  background: var(--ink);
  color: var(--white);
}

.industry-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.industry-item span {
  color: var(--ash);
  font-size: 14px;
}

.industry-item:hover span {
  color: rgba(255, 255, 255, 0.66);
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 280px;
  gap: 22px;
}

.workshop-tile {
  position: relative;
  border-radius: var(--radius);
  background: var(--ink);
  overflow: hidden;
}

.workshop-tile:first-child {
  grid-row: span 2;
}

.workshop-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.55s ease, opacity 0.3s ease;
}

.workshop-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 7, 0.74), rgba(8, 8, 7, 0.02) 60%);
  content: "";
}

.workshop-tile:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.workshop-tile span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.case-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card,
.news-card {
  min-height: 470px;
}

.cta-band {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.82) contrast(1.08);
}

.cta-band::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 7, 0.86), rgba(8, 8, 7, 0.24));
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 310px;
  padding: 76px 0;
}

.cta-inner h2 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.12;
}

.cta-inner p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  min-height: 430px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 7, 0.9), rgba(8, 8, 7, 0.28));
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 430px;
  align-content: center;
}

.page-hero h1 {
  max-width: 820px;
  margin: 16px 0 12px;
  font-size: 54px;
  line-height: 1.12;
}

.page-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-row strong {
  color: var(--wine);
}

.contact-grid {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
}

.contact-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list strong {
  display: block;
  color: var(--ash);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding: 68px 0 52px;
}

.footer-logo {
  width: 82px;
  height: 62px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-main h3,
.footer-main h4 {
  margin: 0 0 16px;
}

.footer-main p,
.footer-main a,
.footer-main li {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-main ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.mobile-callbar {
  display: none;
}

.fade-in,
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in,
.reveal-up {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

[data-stagger].visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].visible > *:nth-child(2) {
  transition-delay: 0.08s;
}

[data-stagger].visible > *:nth-child(3) {
  transition-delay: 0.16s;
}

[data-stagger].visible > *:nth-child(4) {
  transition-delay: 0.24s;
}

[data-stagger].visible > *:nth-child(5) {
  transition-delay: 0.32s;
}

[data-stagger].visible > *:nth-child(6) {
  transition-delay: 0.4s;
}

@keyframes heroBuildingDrift {
  from {
    transform: scale(1.02) translateX(0);
  }
  to {
    transform: scale(1.07) translateX(-18px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@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;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 28px 24px;
    background: rgba(8, 8, 7, 0.98);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero-layout,
  .architecture-grid,
  .statement-grid,
  .split,
  .atelier-grid,
  .manufacturing-grid,
  .section-head,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 34px;
  }

  .hero-editorial {
    max-width: 420px;
  }

  .feature-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card,
  .product-card-large,
  .product-card-wide {
    grid-column: span 6;
  }

  .industry-strip,
  .process {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 62px;
  }

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

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 46px;
    height: 36px;
  }

  .brand-name strong {
    font-size: 16px;
  }

  .brand-name span {
    display: none;
  }

  .main-nav {
    top: 68px;
  }

  .hero-architecture,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    padding: 74px 0 172px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-lead,
  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-bg img {
    object-position: 58% center;
  }

  .hero-editorial {
    display: none;
  }

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

  .proof-item {
    min-height: 92px;
    padding: 17px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .proof-item strong {
    font-size: 26px;
  }

  .architecture-intro,
  .section {
    padding: 72px 0;
  }

  .building-showcase {
    padding-bottom: 72px;
  }

  .architecture-title h2,
  .section-title,
  .cta-inner h2 {
    font-size: 32px;
  }

  .building-frame,
  .building-frame img {
    min-height: 430px;
    height: 430px;
  }

  .building-frame::before {
    inset: 10px;
  }

  .building-frame figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
    padding: 20px;
  }

  .building-frame strong {
    font-size: 22px;
  }

  .marquee span {
    padding: 16px 20px;
    font-size: 16px;
  }

  .section-head,
  .architecture-grid,
  .atelier-grid,
  .manufacturing-grid,
  .cta-inner {
    gap: 24px;
  }

  .feature-grid,
  .service-grid,
  .case-grid,
  .news-grid,
  .industry-strip,
  .process,
  .form-row,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card-large,
  .product-card-wide {
    grid-column: span 12;
  }

  .product-card,
  .case-card,
  .news-card {
    min-height: 420px;
  }

  .product-body,
  .case-body,
  .news-body {
    padding: 24px;
  }

  .product-card h3,
  .case-card h3,
  .news-card h3 {
    font-size: 24px;
  }

  .atelier-media img,
  .manufacturing-media img {
    min-height: 330px;
  }

  .workshop-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .workshop-tile:first-child {
    grid-row: auto;
  }

  .page-hero,
  .page-hero .container {
    min-height: 320px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-card {
    padding: 26px;
  }

  .cta-inner {
    display: grid;
  }

  .mobile-callbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60px;
    background: var(--ink);
    box-shadow: 0 -12px 30px rgba(8, 8, 7, 0.16);
  }

  .mobile-callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
  }

  .mobile-callbar a:first-child {
    background: var(--gold);
    color: var(--ink);
  }
}

/* Reference-style homepage */
.home-page .site-header {
  position: fixed;
  right: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.68), rgba(8, 8, 7, 0));
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled,
.home-page .site-header:has(.main-nav.open) {
  background: rgba(8, 8, 7, 0.94);
  backdrop-filter: blur(22px);
}

.home-reference {
  background: var(--milk);
}

.ref-hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.ref-slides,
.ref-slide,
.ref-slide img,
.ref-hero-overlay {
  position: absolute;
  inset: 0;
}

.ref-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s ease, transform 1.4s ease;
}

.ref-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.ref-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 7s ease;
}

.ref-slide.is-active img {
  transform: scale(1.1);
}

.ref-slide:first-child img {
  object-position: center center;
}

.ref-slide:nth-child(2) img {
  object-position: center center;
}

.ref-slide:nth-child(3) img {
  object-position: center center;
}

.ref-slide.real-building-slide img,
.real-building-media img {
  object-position: center 44%;
  filter: saturate(0.72) contrast(1.08) brightness(0.92);
}

.ref-slide.real-building-slide::after,
.real-building-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.28), rgba(8, 8, 7, 0.05) 48%, rgba(8, 8, 7, 0.24)),
    linear-gradient(0deg, rgba(8, 8, 7, 0.42), rgba(8, 8, 7, 0));
  content: "";
  pointer-events: none;
}

.ref-hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.82), rgba(8, 8, 7, 0.36) 46%, rgba(8, 8, 7, 0.1)),
    linear-gradient(0deg, rgba(8, 8, 7, 0.74), rgba(8, 8, 7, 0.1) 52%, rgba(8, 8, 7, 0.48));
}

.ref-slide-caption {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 128px;
  z-index: 3;
  display: grid;
  gap: 8px;
  max-width: 340px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease 0.35s, transform 0.75s ease 0.35s;
}

.ref-slide.is-active .ref-slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.ref-slide-caption span,
.ref-kicker,
.ref-section-title span,
.ref-split-copy span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ref-slide-caption strong {
  font-size: 24px;
  line-height: 1.2;
}

.ref-hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding: 118px 0 142px;
}

.ref-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.ref-kicker::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.ref-hero h1 {
  max-width: 840px;
  margin: 22px 0 18px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
  font-weight: 800;
}

.ref-hero p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

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

.ref-hero-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ref-hero-bar {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  min-height: 84px;
  color: var(--white);
}

.ref-slider-index {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ref-slider-index span {
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
}

.ref-slider-index em {
  color: rgba(255, 255, 255, 0.48);
  font-style: normal;
}

.ref-slider-dots {
  display: flex;
  gap: 12px;
}

.ref-slider-dots button {
  width: 42px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.ref-slider-dots button.is-active {
  background: var(--gold);
}

.ref-scroll-cue {
  position: relative;
  padding-right: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ref-scroll-cue::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-70%) rotate(45deg);
  animation: cueMove 1.6s ease-in-out infinite;
}

.ref-intro {
  padding: 126px 0;
  background: var(--milk);
}

.ref-intro-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 58px;
  align-items: start;
}

.ref-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.12;
}

.ref-intro p:last-child {
  margin: 12px 0 0;
  color: var(--ash);
  font-size: 17px;
}

.ref-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.72fr);
  min-height: 720px;
}

.ref-split-reverse {
  grid-template-columns: minmax(420px, 0.72fr) minmax(0, 1.08fr);
}

.ref-split-dark {
  background: var(--ink);
  color: var(--white);
}

.ref-split-light {
  background: var(--paper);
  color: var(--ink);
}

.ref-split-media {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.ref-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.ref-split-media:hover img {
  transform: scale(1.04);
}

.ref-split-copy {
  display: grid;
  align-content: center;
  padding: clamp(44px, 7vw, 96px);
}

.ref-split-copy h2 {
  max-width: 560px;
  margin: 18px 0 18px;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
}

.ref-split-copy p {
  max-width: 520px;
  margin: 0;
  color: inherit;
  opacity: 0.7;
  font-size: 17px;
}

.ref-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 34px;
  color: var(--gold);
  font-weight: 900;
}

.ref-text-link::after {
  width: 46px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 0.25s ease;
  transform-origin: left center;
}

.ref-text-link:hover::after {
  transform: scaleX(1.35);
}

.ref-product-section {
  padding: 118px 0 0;
  background: var(--milk);
}

.ref-section-title {
  display: grid;
  gap: 14px;
  margin-bottom: 48px;
}

.ref-section-title h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.1;
}

.ref-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ref-product-card {
  position: relative;
  min-height: 590px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.ref-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.82;
  transition: transform 0.8s ease, opacity 0.25s ease;
}

.ref-product-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 7, 0.82), rgba(8, 8, 7, 0.06) 58%);
  content: "";
}

.ref-product-card span {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  font-size: 26px;
  font-weight: 900;
}

.ref-product-card:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.ref-fullscreen {
  position: relative;
  display: grid;
  min-height: 100svh;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.ref-fullscreen > img,
.ref-fullscreen-overlay {
  position: absolute;
  inset: 0;
}

.ref-fullscreen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.ref-fullscreen-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.86), rgba(8, 8, 7, 0.22)),
    linear-gradient(0deg, rgba(8, 8, 7, 0.78), rgba(8, 8, 7, 0.08) 52%);
}

.ref-fullscreen-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding: 110px 0;
}

.ref-fullscreen h2 {
  max-width: 820px;
  margin: 20px 0 58px;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.04;
}

.ref-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.ref-stats div {
  min-height: 134px;
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ref-stats strong {
  display: block;
  color: var(--gold);
  font-size: 34px;
  line-height: 1.05;
}

.ref-stats span {
  color: rgba(255, 255, 255, 0.62);
}

.ref-news-cta {
  padding: 116px 0;
  background: var(--paper);
}

.ref-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.72fr);
  gap: 68px;
  align-items: start;
}

.ref-news-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.ref-news-list a {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.ref-news-list span {
  color: var(--wine);
  font-size: 13px;
  font-weight: 900;
}

.ref-news-list strong {
  font-size: 22px;
  line-height: 1.3;
}

.ref-cta-panel {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.ref-cta-panel p {
  max-width: 720px;
  margin: 0;
  color: var(--ash);
  font-size: 18px;
}

@keyframes cueMove {
  0%,
  100% {
    transform: translateY(-70%) rotate(45deg);
  }
  50% {
    transform: translateY(-20%) rotate(45deg);
  }
}

@media (max-width: 1120px) {
  .home-page .site-header {
    background: rgba(8, 8, 7, 0.92);
    backdrop-filter: blur(18px);
  }

  .ref-intro-grid,
  .ref-split,
  .ref-split-reverse,
  .ref-news-grid {
    grid-template-columns: 1fr;
  }

  .ref-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ref-split,
  .ref-split-reverse,
  .ref-split-media {
    min-height: auto;
  }

  .ref-split-media {
    height: 560px;
  }
}

@media (max-width: 760px) {
  .ref-hero-content {
    padding: 104px 0 132px;
  }

  .ref-hero h1 {
    font-size: 44px;
  }

  .ref-hero p {
    font-size: 16px;
  }

  .ref-slide-caption {
    display: none;
  }

  .ref-hero-bar {
    grid-template-columns: auto 1fr;
    min-height: 70px;
  }

  .ref-scroll-cue {
    display: none;
  }

  .ref-slider-dots {
    justify-content: flex-end;
  }

  .ref-slider-dots button {
    width: 30px;
  }

  .ref-intro,
  .ref-product-section,
  .ref-news-cta {
    padding: 76px 0;
  }

  .ref-intro-grid {
    gap: 22px;
  }

  .ref-split-media {
    height: 390px;
  }

  .ref-split-copy {
    padding: 58px 24px;
  }

  .ref-product-grid,
  .ref-stats {
    grid-template-columns: 1fr;
  }

  .ref-product-card {
    min-height: 390px;
  }

  .ref-fullscreen-content {
    padding: 86px 0 110px;
  }

  .ref-fullscreen h2 {
    margin-bottom: 38px;
  }

  .ref-news-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ref-cta-panel {
    display: grid;
  }
}

/* Product catalog page */
.products-page {
  background: var(--paper);
}

.catalog-hero {
  position: relative;
  min-height: 620px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.catalog-hero-bg,
.catalog-hero-bg img,
.catalog-hero::after {
  position: absolute;
  inset: 0;
}

.catalog-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  opacity: 0.72;
  transform: scale(1.04);
}

.catalog-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92), rgba(8, 8, 7, 0.5) 48%, rgba(8, 8, 7, 0.16)),
    linear-gradient(0deg, rgba(8, 8, 7, 0.82), rgba(8, 8, 7, 0.08) 56%);
  content: "";
}

.catalog-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: 56px;
  align-items: end;
  min-height: 620px;
  padding: 120px 0 86px;
}

.catalog-hero-copy h1 {
  max-width: 860px;
  margin: 22px 0 20px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1;
}

.catalog-hero-copy p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.catalog-hero-panel {
  display: grid;
  gap: 6px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.catalog-hero-panel span,
.catalog-toolbar span,
.catalog-sidebar > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-hero-panel strong {
  color: var(--white);
  font-size: 58px;
  line-height: 1;
}

.catalog-hero-panel em {
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
}

.catalog-shell {
  padding: 80px 0 112px;
}

.catalog-toolbar {
  position: sticky;
  top: 78px;
  z-index: 30;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
  padding: 18px 0;
  background: rgba(244, 239, 231, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.catalog-toolbar strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.catalog-filters button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ash);
  background: rgba(255, 253, 248, 0.76);
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.catalog-filters button:hover,
.catalog-filters button.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 176px;
  padding: 28px 0;
}

.catalog-sidebar h2 {
  margin: 14px 0 16px;
  font-size: 34px;
  line-height: 1.14;
}

.catalog-sidebar p {
  margin: 0;
  color: var(--ash);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.catalog-card {
  min-width: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: catalogCardIn 0.5s ease forwards;
  animation-delay: var(--delay);
}

.catalog-card-button {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: var(--milk);
  box-shadow: 0 20px 54px rgba(8, 8, 7, 0.08);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
}

.catalog-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 3;
  background: var(--ink);
  overflow: hidden;
}

.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(1.03);
  transition: transform 0.65s ease, opacity 0.25s ease;
}

.catalog-card figcaption {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.catalog-card-body {
  display: grid;
  gap: 9px;
  min-height: 192px;
  padding: 24px;
}

.catalog-card-body span {
  color: var(--wine);
  font-size: 12px;
  font-weight: 900;
}

.catalog-card-body h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
}

.catalog-card-body p {
  margin: 0;
  color: var(--ash);
  font-size: 14px;
}

.catalog-card-button:hover img {
  opacity: 0.92;
  transform: scale(1.05);
}

.catalog-empty {
  display: grid;
  gap: 6px;
  padding: 44px;
  border: 1px solid var(--line);
  background: var(--milk);
  color: var(--ash);
}

.catalog-empty strong {
  color: var(--ink);
  font-size: 22px;
}

.catalog-process {
  padding: 104px 0;
  background: var(--milk);
}

.catalog-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 68px;
  align-items: start;
}

.catalog-process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.catalog-process-list article {
  min-height: 250px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-process-list span {
  color: var(--gold);
  font-weight: 900;
}

.catalog-process-list h3 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.catalog-process-list p {
  margin: 0;
  color: var(--ash);
}

.product-drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  justify-items: end;
  background: rgba(8, 8, 7, 0);
  transition: background 0.26s ease;
}

.product-drawer[hidden] {
  display: none;
}

.product-drawer.is-open {
  background: rgba(8, 8, 7, 0.58);
}

.drawer-open {
  overflow: hidden;
}

.product-drawer-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 0.88fr);
  width: min(980px, calc(100% - 44px));
  height: calc(100svh - 44px);
  margin: 22px;
  background: var(--milk);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transform: translateX(24px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.product-drawer.is-open .product-drawer-panel {
  transform: translateX(0);
  opacity: 1;
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 8, 7, 0.12);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.78);
  cursor: pointer;
}

.drawer-close::before,
.drawer-close::after {
  position: absolute;
  top: 20px;
  left: 11px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.drawer-close::before {
  transform: rotate(45deg);
}

.drawer-close::after {
  transform: rotate(-45deg);
}

.product-drawer figure {
  margin: 0;
  min-height: 0;
  background: var(--ink);
}

.product-drawer figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.drawer-body {
  overflow-y: auto;
  padding: 54px 44px;
}

.drawer-body > span {
  color: var(--wine);
  font-size: 13px;
  font-weight: 900;
}

.drawer-body h2 {
  margin: 12px 0 14px;
  font-size: 40px;
  line-height: 1.08;
}

.drawer-body p {
  margin: 0;
  color: var(--ash);
}

.drawer-body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 30px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.drawer-body dl div {
  padding: 18px;
  background: var(--paper);
}

.drawer-body dt {
  color: var(--ash);
  font-size: 12px;
}

.drawer-body dd {
  margin: 5px 0 0;
  font-weight: 900;
}

.drawer-body section {
  margin-top: 28px;
}

.drawer-body h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.drawer-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-body li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ash);
  background: var(--paper);
  font-size: 13px;
}

.drawer-body .btn {
  margin-top: 34px;
}

@keyframes catalogCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .catalog-hero-inner,
  .catalog-layout,
  .catalog-process-grid {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    top: 68px;
  }

  .catalog-filters {
    justify-content: flex-start;
  }

  .catalog-sidebar {
    position: static;
    padding: 0;
  }

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

  .product-drawer-panel {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .product-drawer figure {
    height: 420px;
  }
}

@media (max-width: 760px) {
  .catalog-hero,
  .catalog-hero-inner {
    min-height: 560px;
  }

  .catalog-hero-inner {
    padding: 98px 0 58px;
  }

  .catalog-hero-panel {
    padding: 22px;
  }

  .catalog-shell,
  .catalog-process {
    padding: 66px 0;
  }

  .catalog-toolbar {
    margin-bottom: 30px;
  }

  .catalog-grid,
  .catalog-process-list {
    grid-template-columns: 1fr;
  }

  .catalog-card-body {
    min-height: auto;
  }

  .product-drawer-panel {
    width: 100%;
    height: 100svh;
    margin: 0;
  }

  .product-drawer figure {
    height: 360px;
  }

  .drawer-body {
    padding: 34px 24px 86px;
  }

  .drawer-body h2 {
    font-size: 30px;
  }

  .drawer-body dl {
    grid-template-columns: 1fr;
  }
}
