:root {
  --bg: #fbfaf7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --line: rgba(75, 63, 49, 0.14);
  --line-strong: rgba(75, 63, 49, 0.24);
  --text: #171512;
  --muted: #6e655d;
  --accent: #8f7557;
  --accent-soft: rgba(143, 117, 87, 0.13);
  --shadow: 0 30px 80px -44px rgba(46, 35, 24, 0.22);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(169, 146, 118, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(206, 187, 161, 0.08), transparent 28%),
    linear-gradient(180deg, #fffefb 0%, var(--bg) 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.36)),
    radial-gradient(rgba(0, 0, 0, 0.03) 0.7px, transparent 0.7px);
  background-size: 100% 100%, 15px 15px;
  z-index: 20;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.shell {
  position: relative;
  isolation: isolate;
}

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

.site-nav {
  position: sticky;
  top: 16px;
  z-index: 10;
  padding-top: 16px;
}

.nav-frame {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 16px 40px -30px rgba(60, 44, 28, 0.38);
  border-radius: 999px;
}

.brand {
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark::before {
  display: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 28px -24px rgba(63, 47, 29, 0.52);
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand-icon,
.brand:focus-visible .brand-icon {
  transform: translateY(-1px);
}

.brand-wording {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  font-family: "Bodoni Moda", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.brand-note {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(143, 117, 87, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 243, 238, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.88);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-links {
  display: inline-flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(143, 117, 87, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 243, 238, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 14px 28px -20px rgba(46, 35, 24, 0.38);
}

.hero {
  position: relative;
  min-height: calc(100dvh - 36px);
  display: flex;
  align-items: flex-end;
  padding: 150px 78px 64px;
  border-radius: 52px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 252, 248, 0.93) 0%, rgba(255, 252, 248, 0.84) 28%, rgba(255, 252, 248, 0.38) 58%, rgba(255, 252, 248, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 32%, rgba(251, 248, 243, 0.34) 100%),
    url("../assets/hero-cabinet.png");
  background-size: cover;
  background-position: center center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 36px 90px -54px rgba(56, 42, 26, 0.36);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.18) 100%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 2.6s infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 34px 34px 24px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  animation: rise 0.9s 0.06s both;
}

.hero-overline {
  margin: 0 0 12px;
  max-width: 48ch;
  color: rgba(58, 49, 40, 0.72);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 18px;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 9ch;
}

.hero p {
  max-width: 62ch;
  margin: 0;
  color: rgba(65, 58, 51, 0.84);
  font-size: 1.02rem;
  line-height: 1.85;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  color: #faf6f1;
  background: linear-gradient(180deg, #9d7f5e 0%, #87694b 100%);
  box-shadow: 0 18px 40px -24px rgba(89, 67, 46, 0.48);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px -28px rgba(89, 67, 46, 0.6);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(75, 63, 49, 0.12);
}

.hero-meta div {
  animation: rise 0.9s both;
}

.hero-meta div:nth-child(2) {
  animation-delay: 0.18s;
}

.hero-meta div:nth-child(3) {
  animation-delay: 0.28s;
}

.meta-value {
  display: block;
  font-family: "Bodoni Moda", serif;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.meta-label {
  color: rgba(83, 75, 67, 0.84);
  line-height: 1.6;
  font-size: 0.88rem;
}

.section-title {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-signature {
  display: inline-grid;
  gap: 6px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(75, 63, 49, 0.1);
  background: rgba(255, 255, 255, 0.58);
}

.hero-signature span {
  color: rgba(83, 75, 67, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-signature strong {
  font-family: "Bodoni Moda", serif;
  font-size: 1rem;
  font-weight: 600;
}

.section {
  padding: 98px 0;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  line-height: 0.96;
}

.section-head p,
.atelier-copy p,
.inquiry-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 62ch;
}

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

.marquee-track {
  display: inline-flex;
  gap: 26px;
  min-width: max-content;
  padding: 18px 0;
  animation: scroll-x 22s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(23, 21, 18, 0.76);
  font-size: 0.82rem;
}

.atelier-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.atelier-panel,
.detail-panel,
.inquiry-panel {
  position: relative;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 24px 60px -40px rgba(57, 43, 26, 0.24);
  overflow: hidden;
}

.atelier-panel {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 24px;
  min-height: 500px;
}

.atelier-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.atelier-list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.atelier-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(75, 63, 49, 0.1);
}

.atelier-item:first-child {
  border-top: none;
  padding-top: 0;
}

.atelier-index {
  font-family: "Bodoni Moda", serif;
  color: var(--accent);
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.atelier-item strong {
  display: block;
  margin-bottom: 6px;
}

.atelier-item span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.atelier-render {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.12)),
    url("../assets/materials-editorial.png");
  background-size: cover;
  background-position: center center;
  border: 1px solid rgba(130, 105, 79, 0.12);
  overflow: hidden;
}

.atelier-render::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.image-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-panel {
  padding: 34px;
}

.detail-stack {
  display: grid;
  gap: 18px;
  height: 100%;
}

.detail-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.detail-card {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(75, 63, 49, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 249, 245, 0.86));
  min-height: 182px;
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: shimmer 4.4s infinite;
  pointer-events: none;
}

.detail-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
  max-width: 28ch;
}

.detail-card.metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-value {
  font-family: "Bodoni Moda", serif;
  font-size: 3.35rem;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.showcase-main {
  padding: 34px;
  min-height: 620px;
}

.showcase-main .panel-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-stage {
  height: 430px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(251, 247, 241, 0) 56%, rgba(251, 247, 241, 0.54) 100%),
    url("../assets/hero-cabinet.png");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(130, 105, 79, 0.12);
}

.showcase-side {
  display: grid;
  gap: 22px;
}

.showcase-note {
  padding: 28px;
  min-height: 212px;
}

.showcase-note-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 20px;
  align-items: start;
}

.showcase-note-portrait .showcase-photo {
  grid-column: 2;
  grid-row: 1 / span 3;
  height: 100%;
  min-height: 238px;
  margin-bottom: 0;
}

.showcase-note-portrait h3,
.showcase-note-portrait p,
.showcase-note-portrait .chip-row {
  grid-column: 1;
}

.showcase-note-wide .showcase-photo {
  height: 218px;
}

.showcase-note h3,
.inquiry-copy h3 {
  margin: 0 0 10px;
  font-family: "Bodoni Moda", serif;
  font-size: 1.62rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.showcase-photo {
  width: 100%;
  height: 184px;
  margin-bottom: 20px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(130, 105, 79, 0.12);
}

.wardrobe-photo {
  background-image: url("../assets/wardrobe-suite.png");
  background-position: center top;
}

.library-photo {
  background-image: url("../assets/library-wall.png");
  background-position: center center;
}

.material-photo {
  height: 236px;
  background-image: url("../assets/materials-editorial.png");
  background-position: center center;
}

.showcase-note p,
.empty-note p,
.status-line,
.field-help,
.field-error {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(75, 63, 49, 0.12);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.empty-note {
  padding: 28px;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border: 1px dashed rgba(75, 63, 49, 0.18);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 247, 243, 0.84));
}

.empty-note strong {
  font-family: "Bodoni Moda", serif;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.motion-section {
  padding-top: 30px;
}

.motion-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 32px;
}

.motion-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  max-width: 60ch;
}

.motion-frame {
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 24px 60px -40px rgba(57, 43, 26, 0.24);
}

.motion-frame iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
  background: #0a0a0a;
}

.motion-stage {
  position: relative;
  min-height: 620px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, rgba(251, 247, 241, 0.08) 0%, rgba(251, 247, 241, 0.28) 100%),
    url("../assets/hero-cabinet.png");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 36px 80px -54px rgba(57, 42, 25, 0.32);
}

.motion-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  pointer-events: none;
  z-index: 4;
}

.motion-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 251, 246, 0.22) 0%, rgba(255, 251, 246, 0.08) 38%, rgba(255, 251, 246, 0.2) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  z-index: 1;
}

.motion-door,
.motion-drawer {
  position: absolute;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 236, 228, 0.98));
  border: 1px solid rgba(123, 100, 77, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 24px 42px -34px rgba(53, 38, 22, 0.26);
  z-index: 2;
}

.motion-door::before,
.motion-drawer::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(182, 162, 139, 0.34);
  border-radius: 18px;
}

.motion-door {
  top: 72px;
  bottom: 72px;
  width: 20%;
  border-radius: 28px;
  animation-duration: 5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-iteration-count: infinite;
}

.motion-door-left {
  left: 12%;
  animation-name: open-left-door;
}

.motion-door-center {
  left: 40%;
  width: 18%;
  animation-name: open-center-door;
}

.motion-door-right {
  right: 12%;
  animation-name: open-right-door;
}

.motion-handle {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 4px;
  height: 72px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #b28b5a, #8c6c42);
}

.motion-drawer {
  height: 88px;
  left: 34%;
  right: 22%;
  border-radius: 22px;
  animation-duration: 5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-iteration-count: infinite;
}

.motion-drawer-top {
  top: 112px;
  animation-name: open-top-drawer;
}

.motion-drawer-bottom {
  bottom: 112px;
  animation-name: open-bottom-drawer;
}

.motion-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 5;
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.motion-caption span {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(88, 76, 64, 0.72);
}

.motion-caption strong {
  font-family: "Bodoni Moda", serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.inquiry-copy {
  padding: 32px;
}

.inquiry-aside {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(75, 63, 49, 0.1);
  display: grid;
  gap: 16px;
}

.mini-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.inquiry-panel {
  padding: 32px;
}

.project-form {
  display: grid;
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.field-help,
.field-error {
  font-size: 0.84rem;
}

.field-error {
  color: #9d5b52;
  display: none;
}

.field-group.invalid .field-error {
  display: block;
}

.field-group.invalid input,
.field-group.invalid textarea {
  border-color: rgba(157, 91, 82, 0.34);
  background: rgba(255, 246, 244, 0.9);
}

input,
textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(75, 63, 49, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

input:focus,
textarea:focus {
  border-color: rgba(143, 117, 87, 0.34);
  box-shadow: 0 0 0 4px rgba(143, 117, 87, 0.08);
  transform: translateY(-1px);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
}

.status-line {
  min-height: 24px;
  font-size: 0.9rem;
}

.status-line[data-state="loading"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  vertical-align: -3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 117, 87, 0.25), rgba(143, 117, 87, 0.85), rgba(143, 117, 87, 0.25));
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.footer-mark {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 10px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.45;
  }
}

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

@keyframes shimmer {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

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

@keyframes open-left-door {
  0%, 14%, 100% {
    transform: translateX(0);
  }
  32%, 68% {
    transform: translateX(-38%);
  }
  84% {
    transform: translateX(-18%);
  }
}

@keyframes open-center-door {
  0%, 18%, 100% {
    transform: translateY(0);
  }
  36%, 68% {
    transform: translateY(-18%);
  }
  84% {
    transform: translateY(-8%);
  }
}

@keyframes open-right-door {
  0%, 12%, 100% {
    transform: translateX(0);
  }
  34%, 68% {
    transform: translateX(40%);
  }
  84% {
    transform: translateX(18%);
  }
}

@keyframes open-top-drawer {
  0%, 22%, 100% {
    transform: translateY(0);
  }
  42%, 68% {
    transform: translateY(-26px);
  }
  84% {
    transform: translateY(-10px);
  }
}

@keyframes open-bottom-drawer {
  0%, 26%, 100% {
    transform: translateY(0);
  }
  46%, 68% {
    transform: translateY(26px);
  }
  84% {
    transform: translateY(10px);
  }
}

@media (max-width: 1100px) {
  .hero,
  .atelier-grid,
  .showcase-grid,
  .inquiry-grid,
  .section-head,
  .motion-head,
  .atelier-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 126px 40px 40px;
    background-position: 68% center;
  }

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

  .atelier-panel {
    min-height: auto;
  }

  .showcase-note-portrait {
    grid-template-columns: 1fr;
  }

  .showcase-note-portrait .showcase-photo {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
    margin-bottom: 20px;
  }

  .showcase-note-portrait h3,
  .showcase-note-portrait p,
  .showcase-note-portrait .chip-row {
    grid-column: auto;
  }

  .motion-frame iframe {
    height: 680px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  body::before {
    opacity: 0.2;
  }

  .site-nav {
    top: 8px;
  }

  .nav-frame {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    border-radius: 24px;
    padding: 14px;
  }

  .brand-note {
    display: none;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav-menu {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    padding-top: 6px;
  }

  .nav-frame.nav-open .nav-menu {
    display: grid;
  }

  .nav-frame.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-frame.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-frame.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .nav-links {
    display: grid;
    justify-content: stretch;
    gap: 10px;
  }

  .nav-links a {
    padding: 12px 14px;
    border: 1px solid rgba(75, 63, 49, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
    padding: 110px 24px 28px;
    border-radius: 34px;
    background-position: 74% center;
  }

  .hero-copy {
    padding: 24px 20px 20px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .hero-overline {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .hero-meta,
  .detail-row {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 14px;
    margin-top: 34px;
  }

  .meta-value {
    font-size: 1.72rem;
  }

  .section-title {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
    line-height: 0.98;
  }

  .section-head,
  .motion-head {
    gap: 18px;
    margin-bottom: 26px;
  }

  .atelier-panel,
  .detail-panel,
  .inquiry-panel,
  .showcase-main,
  .showcase-note,
  .empty-note {
    padding: 22px;
    border-radius: 26px;
  }

  .atelier-render {
    min-height: 290px;
    border-radius: 24px;
  }

  .gallery-stage {
    height: 320px;
    border-radius: 26px;
  }

  .showcase-photo,
  .showcase-note-wide .showcase-photo,
  .material-photo {
    height: 190px;
  }

  .showcase-note h3,
  .inquiry-copy h3 {
    font-size: 1.38rem;
  }

  .mini-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .form-actions {
    display: grid;
    gap: 12px;
  }

  .motion-frame {
    border-radius: 28px;
  }

  .motion-stage {
    min-height: 520px;
  }

  .motion-frame iframe {
    height: 620px;
  }

  .motion-door-left {
    left: 8%;
  }

  .motion-door-right {
    right: 8%;
  }

  .scene-island {
    left: 12%;
    right: 10%;
  }

  .footer-line {
    flex-direction: column;
  }
}
