:root {
  --paper: #f4f0e8;
  --paper-deep: #e8e0d3;
  --ink: #191815;
  --ink-soft: #58534b;
  --line: rgba(25, 24, 21, 0.18);
  --line-strong: rgba(25, 24, 21, 0.42);
  --surface: #fbf8f2;
  --surface-2: #e5ded2;
  --copper: #a35e38;
  --copper-dark: #754128;
  --charcoal: #171716;
  --white: #fffdf8;
  --success: #2f7254;
  --error: #b94738;
  --font-fa: "Vazirmatn", Tahoma, Arial, sans-serif;
  --font-en: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --header-height: 88px;
  --shell: min(1440px, calc(100vw - 96px));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #111110;
  --paper-deep: #1a1917;
  --ink: #eee8dd;
  --ink-soft: #aaa298;
  --line: rgba(238, 232, 221, 0.16);
  --line-strong: rgba(238, 232, 221, 0.38);
  --surface: #181715;
  --surface-2: #26231f;
  --copper: #c77a50;
  --copper-dark: #ad6741;
  --charcoal: #090909;
  --white: #f6f1e8;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-fa);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  transition: background-color 0.35s ease, color 0.35s ease;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

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

[hidden] {
  display: none !important;
}

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

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

button {
  color: inherit;
}

button:not(:disabled),
a[href] {
  cursor: pointer;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

::selection {
  background: var(--copper);
  color: var(--white);
}

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

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 3000;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  transition: transform 0.2s ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(92px, 10vw, 176px);
}

.section-code {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background: #151514;
  color: #f4f0e8;
  transition: transform 0.9s var(--ease-in-out), visibility 0.9s;
}

.site-loader.is-done {
  transform: translateY(-105%);
  visibility: hidden;
}

.loader-mark {
  display: grid;
  grid-template-columns: repeat(2, 32px);
  gap: 4px;
  transform: rotate(45deg);
}

.loader-mark span {
  width: 32px;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 240, 232, 0.7);
  background: rgba(244, 240, 232, 0.04);
  animation: loader-tile 1.4s var(--ease-in-out) infinite;
}

.loader-mark span:nth-child(2) { animation-delay: 0.12s; }
.loader-mark span:nth-child(3) { animation-delay: 0.24s; }
.loader-mark span:nth-child(4) { animation-delay: 0.36s; }

.loader-meta {
  position: absolute;
  inset-inline: 4vw;
  inset-block-end: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-en);
  letter-spacing: 0.18em;
}

.loader-meta strong { font-size: 0.78rem; }
.loader-meta span { font-size: clamp(2.5rem, 6vw, 6rem); font-weight: 400; line-height: 1; }

.site-loader > i {
  position: absolute;
  inset-inline-start: 4vw;
  inset-block-end: 28px;
  width: 0;
  height: 1px;
  background: #f4f0e8;
  transition: width 0.15s linear;
}

.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1200;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--copper);
}

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1100;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 36px;
  padding-inline: 48px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.18);
  color: #fffdf8;
  transition: height 0.35s var(--ease-out), color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  height: 72px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

/* A backdrop-filter creates a containing block for fixed descendants. Disable it
   while the full-screen mobile navigation is open so the menu stays viewport-bound. */
.site-header.is-open { backdrop-filter: none; }

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
}

.brand-symbol {
  display: grid;
  grid-template-columns: repeat(2, 11px);
  gap: 2px;
  transform: rotate(45deg);
  margin-inline: 4px;
}

.brand-symbol i {
  width: 11px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  background: transparent;
}

.brand-symbol i:nth-child(1),
.brand-symbol i:nth-child(4) {
  background: currentColor;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.brand-copy small {
  margin-block-start: 4px;
  font-family: var(--font-en);
  font-size: 0.48rem;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.78rem;
  font-weight: 500;
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}

html[dir="ltr"] .desktop-nav a::after { transform-origin: left; }
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after { transform: scaleX(1); }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.language-button,
.member-button,
.menu-toggle {
  border: 0;
  background: transparent;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 50%;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease-out);
}

.icon-button:hover { background: currentColor; transform: rotate(8deg); }
.icon-button:hover svg { color: var(--paper); }
.icon-button svg { width: 18px; height: 18px; }
.moon-icon { display: none; }
html[data-theme="dark"] .moon-icon { display: block; }
html[data-theme="dark"] .sun-icon { display: none; }

.language-button {
  height: 44px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
}

.language-button svg { width: 12px; }

.member-button {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: 19px;
  border: 1px solid currentColor;
  font-size: 0.72rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.member-button svg { width: 15px; }
.member-button:hover { background: currentColor; color: var(--paper); }

.menu-toggle {
  width: 46px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 0;
}

.menu-toggle span {
  grid-area: 1 / 1;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}

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

.language-popover {
  position: fixed;
  inset-block-start: calc(var(--header-height) - 5px);
  inset-inline-end: 112px;
  z-index: 1250;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
}

.language-popover button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding-inline: 12px;
  background: transparent;
}

.language-popover button:hover,
.language-popover button[aria-selected="true"] { background: var(--paper-deep); }
.language-popover span { font-family: var(--font-en); font-size: 0.65rem; color: var(--ink-soft); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1090;
  padding-block-start: 90px;
  background: var(--charcoal);
  color: #f4f0e8;
}

.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 36px 24px max(36px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.mobile-menu-inner > p {
  font-family: var(--font-en);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: #8f8b84;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu a span { font-family: var(--font-en); font-size: 0.62rem; color: #8f8b84; }
.mobile-menu a strong { font-size: clamp(1.55rem, 7vw, 2.5rem); font-weight: 400; }
.mobile-menu-inner > button { margin-block-start: auto; min-height: 54px; border: 1px solid #f4f0e8; background: transparent; color: inherit; }

.hero {
  position: relative;
  min-height: max(820px, 100svh);
  display: grid;
  overflow: hidden;
  background: #302b25;
  color: #fffdf8;
}

.hero-media,
.hero-media::after,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.02);
  transform: translateY(-4%);
  will-change: transform;
}

.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(18, 16, 14, 0.76) 0%, rgba(18, 16, 14, 0.35) 42%, rgba(18, 16, 14, 0.06) 72%), linear-gradient(0deg, rgba(17, 15, 13, 0.55) 0%, transparent 48%);
}

html[dir="ltr"] .hero-media::after {
  background: linear-gradient(-90deg, rgba(18, 16, 14, 0.76) 0%, rgba(18, 16, 14, 0.35) 42%, rgba(18, 16, 14, 0.06) 72%), linear-gradient(0deg, rgba(17, 15, 13, 0.55) 0%, transparent 48%);
}

.hero-wash {
  background: radial-gradient(circle at 68% 30%, rgba(201, 151, 103, 0.16), transparent 34%);
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1.2fr) minmax(260px, 0.48fr);
  grid-template-rows: 1fr auto;
  gap: 42px;
  padding-block-start: calc(var(--header-height) + clamp(76px, 10vh, 130px));
  padding-block-end: 34px;
}

.hero-index {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-block-start: 10px;
  font-family: var(--font-en);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.hero-index i { width: 1px; height: 74px; background: rgba(255, 255, 255, 0.45); }

.hero-copy {
  align-self: center;
  max-width: 750px;
  padding-block-end: 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.eyebrow i { width: 56px; height: 1px; background: currentColor; opacity: 0.55; }

.hero h1 {
  margin: 0;
  font-size: clamp(4.2rem, 8.8vw, 10rem);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.81;
}

.hero h1 span,
.hero h1 em { display: block; }
.hero h1 em { margin-inline-start: clamp(40px, 7vw, 130px); color: #d3a27f; font-style: normal; }

.hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 34px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(0.94rem, 1.2vw, 1.12rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-block-start: 42px;
}

.primary-cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--ink);
  padding-inline: 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 650;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}

.hero .primary-cta {
  border-color: #fffdf8;
  background: #fffdf8;
  color: #1c1b18;
}

.primary-cta:hover { transform: translateY(-3px); background: var(--copper); border-color: var(--copper); color: #fff; }
.primary-cta svg { width: 18px; }

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: start;
}

.text-cta > span:last-child { display: grid; }
.text-cta small { font-size: 0.58rem; opacity: 0.65; }
.text-cta strong { font-size: 0.72rem; font-weight: 600; }
.play-disc { width: 46px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%; transition: background 0.25s ease, transform 0.25s ease; }
.play-disc svg { width: 16px; }
.text-cta:hover .play-disc { background: #fff; color: #171716; transform: scale(1.08); }

.hero-product {
  align-self: center;
  justify-self: end;
  width: min(260px, 20vw);
  perspective: 1000px;
}

.hero-product button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-align: start;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out);
}

.hero-product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.32);
}

.hero-product-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-block-start: 12px;
}

.hero-product-label small { font-family: var(--font-en); font-size: 0.5rem; letter-spacing: 0.1em; opacity: 0.65; }
.hero-product-label strong { font-size: 0.7rem; font-weight: 500; }

.hero-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: end;
  gap: 24px;
  padding-block-start: 28px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-footer > span { font-size: 0.62rem; color: rgba(255, 255, 255, 0.65); }
.hero-footer > i { height: 1px; background: rgba(255, 255, 255, 0.22); }
.hero-footer > div { display: grid; min-width: 130px; }
.hero-footer strong { font-family: var(--font-en); font-size: 1.15rem; }
.hero-footer small { font-size: 0.54rem; color: rgba(255, 255, 255, 0.6); }

.material-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.material-marquee > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 16px;
  animation: marquee 28s linear infinite;
}

.material-marquee span { font-family: var(--font-en); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; }
.material-marquee i { width: 5px; aspect-ratio: 1; transform: rotate(45deg); background: var(--copper); }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1.5fr) 210px;
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}

.intro-copy h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
  font-weight: 350;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.intro-copy > p {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
}

.intro-seal { align-self: end; }
.intro-seal svg { width: 100%; animation: seal-rotate 24s linear infinite; }
.intro-seal text { fill: var(--ink); stroke: none; font-family: var(--font-en); font-size: 8.6px; letter-spacing: 1.25px; }
.intro-seal > svg > path { transform-origin: center; transform: rotate(-20deg); stroke: var(--copper); stroke-width: 2; }

.collections { background: var(--surface); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
  gap: 50px;
  align-items: end;
  margin-block-end: clamp(52px, 6vw, 88px);
}

.section-heading h2,
.factory-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(2.7rem, 5.3vw, 6.2rem);
  font-weight: 350;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.section-heading > p,
.factory-heading > div > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block-end: 34px;
  padding-block-end: 18px;
  border-block-end: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-tabs button {
  min-height: 44px;
  border: 0;
  padding-inline: 18px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.75rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.filter-tabs button:hover,
.filter-tabs button.is-active { background: var(--ink); color: var(--paper); }

.filter-button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  padding-inline: 16px;
  background: transparent;
  font-size: 0.72rem;
}

.filter-button svg { width: 17px; }
.filter-button small { min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--copper); color: #fff; font-family: var(--font-en); font-size: 0.52rem; }

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

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

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

.product-card button {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: start;
}

.product-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  background-color: var(--product-base, #ddd3c5);
  background-image: var(--product-pattern);
  background-size: var(--pattern-size, cover);
  background-position: center;
  transition: transform 0.65s var(--ease-out);
}

.product-card.is-wide .product-art { aspect-ratio: 2.06 / 1; }

.product-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 38%, rgba(0, 0, 0, 0.07));
  mix-blend-mode: soft-light;
}

.product-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, inset 0.3s ease;
}

.product-card button:hover .product-art { transform: translateY(-6px); }
.product-card button:hover .product-art::after { inset: 12px; border-color: rgba(255, 255, 255, 0.65); }

.product-art-meta {
  position: absolute;
  inset: 16px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.product-tag,
.product-format {
  padding: 6px 9px;
  background: rgba(18, 17, 15, 0.76);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.product-format { align-self: flex-end; margin-block-start: auto; background: rgba(255, 255, 255, 0.82); color: #151514; }

.product-quick {
  position: absolute;
  inset-inline-end: 16px;
  inset-block-end: 16px;
  z-index: 2;
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #151514;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.product-quick svg { width: 17px; }
.product-card button:hover .product-quick { opacity: 1; transform: translateY(0); }

.product-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding-block: 16px 4px;
  border-block-end: 1px solid var(--line);
}

.product-copy h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.product-copy p { margin: 3px 0 0; color: var(--ink-soft); font-family: var(--font-en); font-size: 0.58rem; letter-spacing: 0.08em; }
.product-copy > span { direction: ltr; align-self: center; font-family: var(--font-en); font-size: 0.65rem; color: var(--ink-soft); }

.collections-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block-start: 48px;
}

.outline-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--line-strong);
  padding-inline: 20px;
  background: transparent;
  color: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.outline-cta:hover { background: var(--ink); color: var(--paper); }
.outline-cta svg { width: 17px; }
.collections-footer p { margin: 0; color: var(--ink-soft); font-family: var(--font-en); font-size: 0.66rem; letter-spacing: 0.12em; }

.visualizer {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: #f4f0e8;
}

.visualizer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent);
}

.visualizer-shell { position: relative; z-index: 1; }

.visualizer-heading {
  display: grid;
  grid-template-columns: 0.5fr 1.4fr 0.62fr;
  gap: 60px;
  align-items: end;
  margin-block-end: 58px;
}

.visualizer .section-code { color: #8d8982; }
.visualizer-heading h2 { margin: 0; font-size: clamp(3.2rem, 6vw, 7.2rem); font-weight: 300; line-height: 0.98; letter-spacing: -0.065em; }
.visualizer-heading h2 span,
.visualizer-heading h2 em { display: block; }
.visualizer-heading h2 em { color: #c98258; font-style: normal; }
.visualizer-heading > p { margin: 0; color: #a9a49c; font-size: 0.9rem; }

.room-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.58fr);
  min-height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #111;
}

.room-stage {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  perspective: 900px;
  background: #2f2d2a;
}

.room-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease;
}

.tile-plane {
  --tile-image: url("assets/images/tile-sahara.webp");
  --tile-size: 170px;
  --grout-color: #d7d0c4;
  --tile-rotation: 0deg;
  position: absolute;
  z-index: 1;
  background-color: var(--grout-color);
  background-image: linear-gradient(var(--grout-color) 2px, transparent 2px), linear-gradient(90deg, var(--grout-color) 2px, transparent 2px), var(--tile-image);
  background-size: var(--tile-size) var(--tile-size), var(--tile-size) var(--tile-size), var(--tile-size) var(--tile-size);
  background-blend-mode: normal, normal, multiply;
  opacity: 0.58;
  mix-blend-mode: soft-light;
  filter: contrast(1.08) saturate(0.85);
  transform-origin: center;
  transition: clip-path 0.6s var(--ease-out), transform 0.4s var(--ease-out), opacity 0.3s ease;
}

.floor-plane {
  inset: 43% -4% -14%;
  clip-path: polygon(20% 0, 80% 0, 105% 100%, -5% 100%);
  transform: rotateX(52deg) rotateZ(var(--tile-rotation)) scale(1.15);
}

.wall-plane {
  inset: 8% 9% 35%;
  clip-path: polygon(7% 0, 93% 0, 86% 100%, 14% 100%);
  transform: rotateY(-1deg) rotateZ(var(--tile-rotation));
  opacity: 0.5;
}

.stage-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 32%, rgba(0, 0, 0, 0.42));
}

.stage-toolbar {
  position: absolute;
  inset-block-start: 20px;
  inset-inline: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.segmented-control { display: flex; padding: 4px; background: rgba(20, 19, 18, 0.72); backdrop-filter: blur(10px); }
.segmented-control button { min-width: 64px; min-height: 44px; border: 0; padding-inline: 14px; background: transparent; color: #b5b0a8; font-size: 0.7rem; }
.segmented-control button.is-active { background: #f4f0e8; color: #171716; }
.stage-fullscreen { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: rgba(20, 19, 18, 0.45); }

.stage-caption {
  position: absolute;
  inset-inline: 24px;
  inset-block-end: 22px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: #fff;
}

.stage-caption > div { display: grid; }
.stage-caption small { font-size: 0.58rem; color: rgba(255, 255, 255, 0.62); }
.stage-caption strong { font-size: 1rem; font-weight: 500; }
.stage-caption > span { font-family: var(--font-en); font-size: 0.52rem; letter-spacing: 0.13em; }

.lab-controls {
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: #1b1a19;
}

.control-block { padding-block-end: 28px; margin-block-end: 28px; border-block-end: 1px solid rgba(255, 255, 255, 0.13); }
.control-title { display: flex; align-items: center; gap: 13px; margin-block-end: 16px; }
.control-title span { font-family: var(--font-en); font-size: 0.56rem; color: #827e77; }
.control-title strong { font-size: 0.72rem; font-weight: 500; }

.room-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.room-options button { min-width: 0; border: 1px solid transparent; padding: 6px; background: #242321; color: #d6d1c9; text-align: start; transition: border-color 0.2s ease; }
.room-options button.is-active { border-color: #c98258; }
.room-options small { display: block; padding: 8px 4px 3px; font-size: 0.65rem; }
.room-thumb { display: block; aspect-ratio: 1.65; background-size: cover; background-position: center; filter: saturate(0.65); }
.bathroom-thumb { background-image: url("assets/images/room-bathroom.webp"); }
.living-thumb { background-image: url("assets/images/hero-living.webp"); }

.tile-options { display: flex; gap: 10px; overflow-x: auto; padding-block-end: 4px; scrollbar-width: thin; }
.tile-option { flex: 0 0 72px; border: 1px solid transparent; padding: 5px; background: #242321; color: inherit; }
.tile-option.is-active { border-color: #c98258; }
.tile-option > span { display: block; aspect-ratio: 1; background-color: var(--option-base); background-image: var(--option-pattern); background-size: cover; }
.tile-option small { display: block; overflow: hidden; padding-block-start: 7px; color: #b5b0a8; font-size: 0.55rem; text-overflow: ellipsis; white-space: nowrap; }

.control-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.range-field { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 0.55rem; color: #8e8a83; }
.range-field input { width: 100%; accent-color: #c98258; }
.range-field output { min-width: 28px; color: #f4f0e8; }
.grout-options { display: flex; gap: 10px; }
.grout-options button { width: 44px; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.15); padding: 7px; border-radius: 50%; background: transparent; }
.grout-options button::after { content: ""; display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--swatch); }
.grout-options button.is-active { border-color: #c98258; }
.lab-cta { width: 100%; margin-block-start: auto; background: #f4f0e8; color: #171716; border-color: #f4f0e8; }

.factory { background: var(--paper-deep); }

.factory-heading {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 60px;
  align-items: start;
  margin-block-end: 58px;
}

.factory-heading > div { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: end; }

.factory-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr); border-block-start: 1px solid var(--line); }

.factory-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #29251f;
  color: #fff;
}

.factory-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  transform: perspective(800px) rotateX(61deg) rotateZ(-18deg) scale(1.38) translate(-3%, 10%);
}

.factory-grid span {
  border: 1px solid rgba(255, 255, 255, 0.17);
  background-image: linear-gradient(135deg, rgba(206, 140, 91, 0.35), rgba(255, 255, 255, 0.03) 52%, rgba(0, 0, 0, 0.26));
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.18);
}

.factory-grid span:nth-child(3n) { background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(121, 75, 47, 0.42)); }

.kiln-line { position: absolute; inset-inline: 5%; inset-block-start: 47%; height: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; transform: rotate(-7deg); }
.kiln-line i { position: relative; background: rgba(238, 139, 74, 0.8); filter: blur(8px); animation: kiln-pulse 2.2s ease-in-out infinite; }
.kiln-line i:nth-child(2) { animation-delay: 0.2s; }.kiln-line i:nth-child(3) { animation-delay: 0.4s; }.kiln-line i:nth-child(4) { animation-delay: 0.6s; }.kiln-line i:nth-child(5) { animation-delay: 0.8s; }

.factory-caption { position: absolute; inset-inline: 28px; inset-block-end: 26px; display: flex; justify-content: space-between; align-items: end; }
.factory-caption span { font-family: var(--font-en); font-size: 0.55rem; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.6); }
.factory-caption strong { font-size: 0.78rem; font-weight: 500; }

.factory-stats { display: grid; grid-template-columns: 1fr 1fr; border-inline-end: 1px solid var(--line); }
.factory-stats article { position: relative; min-height: 310px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-inline-start: 1px solid var(--line); border-block-end: 1px solid var(--line); }
.factory-stats article > span { position: absolute; inset-block-start: 24px; inset-inline-start: 24px; font-family: var(--font-en); font-size: 0.55rem; color: var(--ink-soft); }
.factory-stats strong { font-family: var(--font-en); font-size: clamp(3.4rem, 5vw, 5.5rem); font-weight: 400; line-height: 1; letter-spacing: -0.08em; }
.factory-stats small { margin-block-start: 12px; color: var(--ink-soft); font-size: 0.67rem; }

.process-line { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; margin-block-start: 48px; }
.process-line > div { display: grid; gap: 2px; }
.process-line span { font-family: var(--font-en); font-size: 0.54rem; color: var(--copper); }
.process-line strong { font-size: 0.7rem; font-weight: 600; }
.process-line small { font-family: var(--font-en); font-size: 0.48rem; letter-spacing: 0.1em; color: var(--ink-soft); }
.process-line > i { width: clamp(30px, 5vw, 90px); height: 1px; background: var(--line-strong); }

.journal { background: var(--surface); }
.arrow-link { align-self: end; justify-self: end; border-block-end: 1px solid currentColor; padding-block-end: 3px; font-size: 0.75rem; }
.journal-grid { display: grid; grid-template-columns: 1.35fr 0.8fr 0.8fr; gap: 18px; }
.story-card a { display: block; }
.story-image { position: relative; overflow: hidden; aspect-ratio: 0.95; background-size: cover; background-position: center; transition: transform 0.6s var(--ease-out); }
.story-large .story-image { aspect-ratio: 1.4; }
.story-card:hover .story-image { transform: translateY(-6px); }
.story-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 45%, rgba(0,0,0,.22)); }
.story-image > span { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; padding: 6px 8px; background: rgba(20, 19, 18, 0.76); color: #fff; font-family: var(--font-en); font-size: 0.48rem; letter-spacing: 0.1em; }
.story-image-one { background-image: url("assets/images/hero-living.webp"); }
.story-image-two { background-image: radial-gradient(circle at 70% 30%, rgba(255,255,255,.3), transparent 25%), repeating-linear-gradient(45deg, #b98a63 0 42px, #8f6244 42px 84px, #d0aa86 84px 126px); }
.story-image-three { background-image: url("assets/images/tile-sahara.webp"); }
.story-card a > div:last-child { position: relative; min-height: 145px; padding: 20px 0; border-block-end: 1px solid var(--line); }
.story-card small { font-family: var(--font-en); font-size: 0.5rem; letter-spacing: 0.11em; color: var(--ink-soft); }
.story-card h3 { max-width: calc(100% - 52px); margin: 11px 0 0; font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 500; line-height: 1.5; }
.round-arrow { position: absolute; inset-inline-end: 0; inset-block-end: 20px; width: 42px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background 0.25s ease, color 0.25s ease; }
.round-arrow svg { width: 16px; }
.story-card:hover .round-arrow { background: var(--ink); color: var(--paper); }

.contact {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #a4613f;
  color: #fffaf3;
}

.contact-art { position: absolute; inset: -25% -5%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; opacity: 0.58; transform: rotate(-12deg) scale(1.2); }
.contact-art span { border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 42%, rgba(42,22,13,.2)); }
.contact-art span:nth-child(even) { transform: translateY(13%); }
.contact-inner { position: relative; z-index: 1; text-align: center; }
.contact .section-code { color: rgba(255,255,255,.68); }
.contact h2 { margin: 22px auto 0; font-size: clamp(3.3rem, 7vw, 8rem); font-weight: 300; line-height: 0.95; letter-spacing: -0.065em; }
.contact h2 span,
.contact h2 em { display: block; }
.contact h2 em { font-style: normal; color: #2a1b14; }
.contact-inner > p:not(.section-code) { max-width: 550px; margin: 28px auto 0; color: rgba(255,255,255,.78); }
.contact-actions { display: flex; justify-content: center; align-items: center; gap: 34px; margin-block-start: 40px; }
.primary-cta-light { border-color: #fffaf3; background: #fffaf3; color: #2a1b14; }
.text-contact { display: grid; text-align: start; }
.text-contact span { direction: ltr; font-family: var(--font-en); font-size: 0.8rem; border-block-end: 1px solid rgba(255,255,255,.7); }
.text-contact small { margin-block-start: 4px; color: rgba(255,255,255,.58); font-size: 0.52rem; }

.site-footer { padding-block: 76px 22px; background: #111110; color: #eee8dd; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.6fr 0.6fr 1fr; gap: clamp(35px, 5vw, 90px); }
.footer-brand { display: grid; align-content: start; gap: 14px; }
.footer-brand .brand-symbol { width: max-content; margin: 4px; }
.footer-brand strong { margin-block-start: 8px; font-size: 1rem; }
.footer-brand p { max-width: 280px; margin: 0; color: #918b82; font-size: 0.7rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong,
.footer-newsletter > strong { margin-block-end: 10px; color: #7f7971; font-family: var(--font-en); font-size: 0.58rem; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-links a,
.footer-links button { width: max-content; min-height: 44px; display: flex; align-items: center; border: 0; padding: 0; background: transparent; color: inherit; font-size: 0.7rem; }
.footer-links a:hover,
.footer-links button:hover { color: #c77a50; }
.footer-newsletter p { margin: 0 0 18px; color: #918b82; font-size: 0.67rem; }
.footer-newsletter form { display: flex; border-block-end: 1px solid #5c5751; }
.footer-newsletter label { flex: 1; display: grid; }
.footer-newsletter label span { font-size: 0.5rem; color: #77716a; }
.footer-newsletter input { width: 100%; height: 42px; border: 0; padding: 0; background: transparent; color: #fff; direction: ltr; outline: 0; }
.footer-newsletter button { width: 44px; border: 0; background: transparent; color: #fff; }
.footer-newsletter button svg { width: 17px; margin: auto; }
.footer-newsletter > small { display: block; min-height: 20px; margin-block-start: 8px; color: #a7a097; font-size: 0.56rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-block-start: 70px; padding-block-start: 20px; border-block-start: 1px solid #2b2926; color: #706b65; font-family: var(--font-en); font-size: 0.52rem; letter-spacing: 0.08em; }

dialog {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  max-height: min(860px, calc(100vh - 48px));
  margin: auto;
  border: 0;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 45px 120px rgba(0,0,0,.38);
  overflow: auto;
}

dialog::backdrop { background: rgba(8,8,7,.78); backdrop-filter: blur(8px); }
dialog[open] { animation: dialog-in 0.55s var(--ease-out); }
.dialog-close { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; z-index: 10; width: 46px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: color-mix(in srgb, var(--surface) 82%, transparent); color: inherit; backdrop-filter: blur(8px); }
.dialog-close span { grid-area: 1 / 1; width: 18px; height: 1px; background: currentColor; }
.dialog-close span:first-child { transform: rotate(45deg); }.dialog-close span:last-child { transform: rotate(-45deg); }

.product-dialog-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; min-height: 680px; }
.product-viewer { position: relative; display: grid; place-items: center; min-height: 680px; overflow: hidden; background: #cdc4b6; perspective: 1100px; user-select: none; touch-action: none; }
.product-viewer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.55), transparent 36%), linear-gradient(145deg, rgba(255,255,255,.28), transparent); }
.product-viewer > p { position: absolute; inset-inline: 24px; inset-block-end: 22px; display: flex; align-items: center; gap: 12px; margin: 0; color: #4c4944; font-family: var(--font-en); font-size: 0.52rem; letter-spacing: 0.1em; }
.product-viewer > p i { flex: 1; height: 1px; background: rgba(30,29,27,.28); }

.tile-cube {
  --cube-texture: url("assets/images/tile-sahara.webp");
  --cube-x: -13deg;
  --cube-y: 24deg;
  position: relative;
  width: min(390px, 48vw);
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--cube-x)) rotateY(var(--cube-y));
  transition: transform 0.15s ease-out;
}

.cube-face { position: absolute; inset: 0; border: 1px solid rgba(30,29,27,.24); background-color: #ddd3c5; background-image: var(--cube-texture); background-size: cover; background-position: center; box-shadow: inset 0 0 80px rgba(255,255,255,.12); backface-visibility: hidden; }
.face-front { transform: translateZ(18px); }.face-back { transform: rotateY(180deg) translateZ(18px); }.face-right { width: 36px; inset-inline-start: auto; transform: rotateY(90deg) translateZ(18px); transform-origin: right; background-image: linear-gradient(#897f71,#b4aa9c); }.face-left { width: 36px; inset-inline-end: auto; transform: rotateY(-90deg) translateZ(18px); transform-origin: left; background-image: linear-gradient(#897f71,#b4aa9c); }.face-top { height: 36px; inset-block-end: auto; transform: rotateX(90deg) translateZ(18px); transform-origin: top; background-image: linear-gradient(90deg,#ded5c8,#a79d90); }.face-bottom { height: 36px; inset-block-start: auto; transform: rotateX(-90deg) translateZ(18px); transform-origin: bottom; background-image: linear-gradient(90deg,#81776b,#b6ab9e); }

.product-info { align-self: center; padding: 70px 48px; }
.product-info h2 { margin: 20px 0 0; font-size: clamp(2.4rem, 4vw, 4.8rem); font-weight: 350; line-height: 1.15; letter-spacing: -0.05em; }
.product-info > p:not(.section-code) { margin: 24px 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.product-info dl { margin: 34px 0 0; border-block-start: 1px solid var(--line); }
.product-info dl > div { display: flex; justify-content: space-between; gap: 24px; padding-block: 14px; border-block-end: 1px solid var(--line); }
.product-info dt { color: var(--ink-soft); font-size: 0.65rem; }.product-info dd { margin: 0; direction: ltr; font-family: var(--font-en); font-size: 0.68rem; }
.product-dialog-actions { display: flex; gap: 10px; margin-block-start: 34px; }

.member-dialog { width: min(1080px, calc(100vw - 48px)); }
.member-dialog[open] { display: grid; grid-template-columns: 0.85fr 1.15fr; }
.member-visual { position: relative; min-height: 720px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 48px; background: #a4613f; color: #fff9f1; }
.member-pattern { position: absolute; inset: -10%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; transform: rotate(-18deg) scale(1.2); }
.member-pattern i { border: 1px solid rgba(255,255,255,.2); background: linear-gradient(135deg, rgba(255,255,255,.14), transparent); }
.member-visual > p,
.member-visual > h2,
.member-visual > ul { position: relative; z-index: 1; }
.member-visual > p { font-family: var(--font-en); font-size: 0.58rem; letter-spacing: 0.15em; }
.member-visual h2 { margin: 14px 0 0; font-size: clamp(3.2rem, 5vw, 5.8rem); font-weight: 300; line-height: 0.92; letter-spacing: -0.06em; }
.member-visual h2 span,
.member-visual h2 em { display: block; }.member-visual h2 em { color: #2a1b14; font-style: normal; }
.member-visual ul { display: grid; gap: 8px; margin: 34px 0 0; padding: 20px 0 0; border-block-start: 1px solid rgba(255,255,255,.3); list-style: none; font-size: 0.68rem; }
.member-visual li::before { content: "—"; margin-inline-end: 8px; }
.member-form-wrap { align-self: center; padding: 60px; }
.member-form-wrap > h2 { margin: 16px 0 0; font-size: clamp(2rem, 3vw, 3.4rem); font-weight: 400; line-height: 1.25; }
.member-form-wrap > p:not(.section-code) { margin: 14px 0 0; color: var(--ink-soft); font-size: 0.7rem; }
.member-form-wrap form { display: grid; gap: 18px; margin-block-start: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member-form-wrap label:not(.checkbox-field) { display: grid; gap: 6px; }
.member-form-wrap label > span { color: var(--ink-soft); font-size: 0.62rem; }
.member-form-wrap input,
.member-form-wrap select { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 0; padding-inline: 13px; background: transparent; color: var(--ink); outline: 0; }
.member-form-wrap input:focus,
.member-form-wrap select:focus { border-color: var(--copper); }
.member-form-wrap [aria-invalid="true"] { border-color: var(--error); }
.checkbox-field { display: flex; align-items: flex-start; gap: 8px; }
.checkbox-field input { width: 18px; height: 18px; margin-block-start: 3px; accent-color: var(--copper); }
.form-status { min-height: 24px; margin: 0; font-size: 0.66rem; }.form-status.is-error { color: var(--error); }.form-status.is-success { color: var(--success); }

.advanced-panel { position: fixed; inset: 0; z-index: 2000; }
.advanced-backdrop { position: absolute; inset: 0; background: rgba(8,8,7,.7); backdrop-filter: blur(4px); }
.advanced-panel aside { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(430px, 100%); overflow-y: auto; padding: 64px 42px; background: var(--surface); box-shadow: 0 0 90px rgba(0,0,0,.28); animation: panel-in .5s var(--ease-out); }
.advanced-panel h2 { margin: 18px 0 38px; font-size: 2.3rem; font-weight: 400; line-height: 1.25; }
.advanced-panel fieldset { display: grid; gap: 12px; margin: 0 0 26px; border: 0; padding: 0 0 24px; border-block-end: 1px solid var(--line); }
.advanced-panel legend { width: 100%; margin-block-end: 12px; font-size: 0.75rem; font-weight: 600; }
.advanced-panel label { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 0.72rem; }
.advanced-panel input { width: 17px; height: 17px; accent-color: var(--copper); }
.advanced-panel .primary-cta { width: 100%; margin-block-start: 14px; }
.advanced-panel .primary-cta small { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-family: var(--font-en); }

.toast { position: fixed; inset-inline-end: 24px; inset-block-end: 24px; z-index: 3000; min-width: min(370px, calc(100vw - 48px)); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 16px; background: var(--ink); color: var(--paper); box-shadow: 0 18px 55px rgba(0,0,0,.25); animation: toast-in .35s var(--ease-out); }
.toast button { width: 30px; height: 30px; border: 0; background: transparent; color: inherit; font-size: 1.2rem; }
.toast span { font-size: 0.72rem; }
.noscript { position: fixed; inset-inline: 12px; inset-block-end: 12px; z-index: 5000; padding: 12px 16px; background: #b94738; color: #fff; text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes loader-tile { 0%, 100% { background: rgba(244,240,232,.04); transform: scale(.88); } 50% { background: #f4f0e8; transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .material-marquee > div { animation-direction: reverse; }
@keyframes seal-rotate { to { transform: rotate(360deg); } }
@keyframes kiln-pulse { 0%,100% { opacity: .45; transform: scaleX(.9); } 50% { opacity: 1; transform: scaleX(1.04); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(28px) scale(.985); } }
@keyframes panel-in { from { transform: translateX(100%); } }
html[dir="rtl"] .advanced-panel aside { animation-name: panel-in-rtl; }
@keyframes panel-in-rtl { from { transform: translateX(-100%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 56px, 1120px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 28px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .member-button { display: none; }
  .hero-grid { grid-template-columns: 35px minmax(0, 1fr) 220px; }
  .hero-product { width: 210px; }
  .visualizer-heading { grid-template-columns: .4fr 1.4fr; }
  .visualizer-heading > p { grid-column: 2; max-width: 520px; }
  .room-lab { grid-template-columns: 1.35fr .65fr; }
  .lab-controls { padding: 26px; }
  .factory-heading > div { grid-template-columns: 1fr; }
  .factory-story { grid-template-columns: 1.2fr .8fr; }
  .journal-grid { grid-template-columns: 1.2fr .8fr; }
  .journal-grid .story-card:last-child { grid-column: 2; }
  .story-large { grid-row: span 2; }
  .footer-grid { grid-template-columns: 1.2fr .7fr .7fr; }
  .footer-newsletter { grid-column: 1 / -1; max-width: 500px; }
}

@media (max-width: 900px) {
  :root { --header-height: 74px; --shell: min(100% - 40px, 820px); }
  .site-header { padding-inline: 20px; }
  .language-popover { inset-inline-end: 78px; }
  .hero { min-height: max(760px, 100svh); }
  .hero-grid { grid-template-columns: 26px minmax(0, 1fr); gap: 20px; }
  .hero-copy { padding-inline-end: 16px; }
  .hero-product { display: none; }
  .hero-footer { grid-template-columns: auto 1fr auto; }
  .hero-footer > div:last-child { display: none; }
  .intro-grid { grid-template-columns: .35fr 1.65fr; }
  .intro-seal { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p { max-width: 560px; }
  .product-card { grid-column: span 6; }
  .product-card.is-wide { grid-column: span 12; }
  .visualizer-heading { grid-template-columns: 1fr; gap: 22px; }
  .visualizer-heading > p { grid-column: 1; }
  .room-lab { grid-template-columns: 1fr; }
  .room-stage { min-height: 580px; }
  .lab-controls { min-height: 580px; }
  .factory-heading { grid-template-columns: 1fr; gap: 22px; }
  .factory-story { grid-template-columns: 1fr; }
  .factory-visual { min-height: 500px; }
  .factory-stats article { min-height: 220px; }
  .process-line { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-line > i { display: none; }
  .product-dialog-grid { grid-template-columns: 1fr; }
  .product-viewer { min-height: 520px; }
  .member-dialog[open] { grid-template-columns: 1fr; }
  .member-visual { min-height: 420px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .section-pad { padding-block: 80px; }
  .site-header { padding-inline: 14px; }
  .site-header:not(.is-scrolled):not(.is-open) {
    color: #191815;
    background: rgba(244, 240, 232, 0.78);
    border-color: rgba(25, 24, 21, 0.12);
    backdrop-filter: blur(14px);
  }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: .75rem; }
  .brand-symbol { grid-template-columns: repeat(2, 9px); }
  .brand-symbol i { width: 9px; }
  .header-actions { gap: 2px; }
  .icon-button { width: 42px; height: 42px; }
  .language-button { min-width: 46px; }
  .language-button svg { display: none; }
  .menu-toggle { width: 42px; }
  .language-popover { inset-block-start: 68px; inset-inline-end: 56px; }
  .hero { min-height: max(720px, 100svh); }
  .hero-media img { object-position: 58% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(18,16,14,.86), rgba(18,16,14,.36) 75%), linear-gradient(0deg, rgba(17,15,13,.66), transparent 52%); }
  .hero-grid { grid-template-columns: 1fr; padding-block-start: 128px; padding-block-end: 18px; }
  .hero-index { display: none; }
  .hero-copy { align-self: start; padding: 0; }
  .eyebrow { margin-block-end: 24px; font-size: .6rem; }
  .hero h1 { font-size: clamp(4.2rem, 21vw, 6.5rem); line-height: .86; }
  .hero h1 em { margin-inline-start: 26px; }
  .hero-copy > p:not(.eyebrow) { max-width: 85%; margin-block-start: 28px; font-size: .83rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; margin-block-start: 32px; }
  .hero-actions .primary-cta { width: 100%; }
  .hero-footer { grid-template-columns: auto 1fr auto; gap: 10px; padding-block-start: 18px; }
  .hero-footer > span { max-width: 90px; font-size: .5rem; }
  .hero-footer > div { min-width: 80px; }
  .hero-footer strong { font-size: .86rem; }.hero-footer small { font-size: .44rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-copy h2 { font-size: 2.55rem; }
  .intro-copy > p { margin-block-start: 24px; font-size: .82rem; }
  .section-heading h2,
  .factory-heading h2 { font-size: 2.75rem; }
  .collection-toolbar { align-items: stretch; flex-direction: column; }
  .filter-tabs { overflow-x: auto; margin-inline: -14px; padding-inline: 14px; scrollbar-width: none; }
  .filter-tabs button { flex: 0 0 auto; padding-inline: 15px; }
  .filter-button { align-self: flex-end; }
  .product-grid { gap: 24px 10px; }
  .product-card,
  .product-card.is-wide { grid-column: span 6; }
  .product-card.is-wide .product-art,
  .product-art { aspect-ratio: .88; }
  .product-art-meta { inset: 9px; }
  .product-tag { font-size: .42rem; padding: 5px; }.product-format { display: none; }
  .product-quick { display: none; }
  .product-copy { grid-template-columns: 1fr; gap: 3px; padding-block: 10px; }
  .product-copy h3 { font-size: .77rem; }.product-copy p { font-size: .47rem; }.product-copy > span { display: none; }
  .collections-footer { align-items: stretch; flex-direction: column; }
  .collections-footer .outline-cta { width: 100%; }
  .collections-footer p { align-self: center; }
  .visualizer-heading h2 { font-size: 3.55rem; }
  .visualizer-heading > p { font-size: .78rem; }
  .room-lab { margin-inline: -14px; border-inline: 0; }
  .room-stage { min-height: 440px; }
  .stage-caption > span { display: none; }
  .tile-plane { --tile-size: 100px; }
  .lab-controls { min-height: auto; padding: 24px 18px; }
  .control-grid { grid-template-columns: 1fr; }
  .factory-heading > div { gap: 20px; }
  .factory-visual { min-height: 390px; }
  .factory-caption { align-items: start; flex-direction: column; gap: 5px; }
  .factory-stats article { min-height: 175px; padding: 18px; }
  .factory-stats article > span { inset-block-start: 15px; inset-inline-start: 15px; }
  .factory-stats strong { font-size: 3rem; }.factory-stats small { font-size: .56rem; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-grid .story-card:last-child { grid-column: 1; }
  .story-large { grid-row: auto; }
  .story-image,
  .story-large .story-image { aspect-ratio: 1.2; }
  .contact { min-height: 620px; }
  .contact h2 { font-size: 4.2rem; }
  .contact-actions { align-items: stretch; flex-direction: column; gap: 22px; }
  .text-contact { text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand,
  .footer-newsletter { grid-column: 1 / -1; }
  .footer-bottom { align-items: center; flex-direction: column; text-align: center; }
  dialog { width: 100%; max-height: 100%; height: 100%; }
  .product-viewer { min-height: 50vh; }
  .tile-cube { width: min(270px, 70vw); }
  .product-info { padding: 42px 22px; }
  .product-dialog-actions { align-items: stretch; flex-direction: column; }
  .member-visual { min-height: 330px; padding: 32px 22px; }
  .member-visual ul { display: none; }
  .member-form-wrap { padding: 42px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .advanced-panel aside { padding: 62px 24px; }
  .toast { inset-inline: 14px; inset-block-end: 14px; min-width: auto; }
}

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