:root {
  --ink: #0e1210;
  --forest: #101612;
  --forest-2: #171e19;
  --moss: #3d5344;
  --gold: #c2b08a;
  --gold-2: #d8c9a5;
  --ivory: #f4efe6;
  --paper: #f7f3ec;
  --stone: #e7dfd1;
  --muted: #6b726c;
  --line: rgba(14, 18, 16, 0.1);
  --line-light: rgba(244, 239, 230, 0.16);
  --white: #fffdf8;
  --max: 1280px;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

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

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 400;
  color: var(--gold);
}

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

h1,
h2,
h3,
.logo-name {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section {
  padding: 128px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 72px;
}

.section-head h2 {
  font-size: clamp(40px, 6vw, 72px);
  margin: 14px 0 20px;
  font-weight: 400;
}

.section-head h2 em {
  font-style: italic;
  color: var(--moss);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-d1 { animation-delay: 0.12s; }
.reveal-d2 { animation-delay: 0.24s; }
.reveal-d3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 22px 24px;
  transition: background 0.45s, padding 0.45s, border-color 0.45s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled,
.header.solid {
  background: rgba(16, 22, 18, 0.88);
  backdrop-filter: blur(22px);
  padding: 12px 24px;
  border-bottom-color: var(--line-light);
}

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

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  justify-self: start;
}

.logo-mark {
  width: 44px;
  height: 44px;
  color: var(--gold);
  flex-shrink: 0;
  overflow: visible;
}

img.logo-mark {
  display: block;
  object-fit: contain;
}

.logo-orbit {
  transform-origin: 32px 32px;
  animation: logo-orbit 18s linear infinite;
}

.logo-moss {
  transform-origin: 32px 48px;
  animation: moss-breathe 4.8s ease-in-out infinite;
}

@keyframes logo-orbit {
  to { transform: rotate(360deg); }
}

@keyframes moss-breathe {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  50% { transform: rotate(2.4deg) scale(1.04); }
}

.logo-type {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: lowercase;
}

.logo-type b {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 2px;
}

.logo-type span {
  font-family: var(--display);
  font-style: italic;
  letter-spacing: 0.04em;
  font-size: 20px;
  color: var(--gold);
  margin-left: 4px;
  text-transform: none;
}

.logo-name {
  font-size: 15px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
}

.logo-name b {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 22px;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  justify-self: center;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav a {
  color: rgba(244, 239, 230, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav a:hover {
  color: var(--gold);
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  justify-self: end;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.phone-link {
  display: none;
}

.socials,
.contact-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  align-self: center;
  color: var(--ivory);
  border: 1px solid rgba(194, 176, 138, 0.45);
  transition: background 0.25s, color 0.25s;
}

.socials a:hover {
  background: var(--gold);
  color: var(--ink);
}

.contact-lead {
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 28px;
}

.contact-socials {
  flex-wrap: wrap;
  gap: 12px;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 0;
  padding: 14px 26px;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s, letter-spacing 0.35s;
}

.btn:hover {
  transform: translateY(-2px);
  letter-spacing: 0.22em;
}

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

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(244, 239, 230, 0.28);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--forest);
  color: var(--ivory);
}

.btn-dark:hover {
  background: #1b241e;
}

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

.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 18px;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 120px 36px 16vh;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img,
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg video {
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14, 18, 16, 0.42) 0%, rgba(14, 18, 16, 0.12) 38%, rgba(14, 18, 16, 0.82) 100%);
  pointer-events: none;
}

.hero-frame {
  position: absolute;
  inset: 92px 28px 28px;
  border: 1px solid rgba(194, 176, 138, 0.28);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: auto auto 0;
  padding: 0 4px 8px;
  text-align: center;
  box-sizing: border-box;
}

.hero .eyebrow {
  display: inline-flex;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.hero .eyebrow::after {
  content: "";
  height: 1px;
  background: currentColor;
}

.hero .eyebrow::before,
.hero .eyebrow::after {
  flex: 0 0 36px;
  width: 36px;
}

.hero h1 {
  font-size: clamp(30px, 4.8vw, 78px);
  max-width: 100%;
  margin: 18px auto 22px;
  font-weight: 400;
  line-height: 1.08;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-2);
}

.hero-lead {
  max-width: 38ch;
  margin: 0 auto 36px;
  font-size: 18px;
  color: rgba(244, 239, 230, 0.78);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.hero-contacts a,
.hero-contacts button {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(194, 176, 138, 0.35);
  background: transparent;
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-contacts a:hover,
.hero-contacts button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.hero-meta div {
  padding: 22px 18px 0;
  border-right: 1px solid var(--line-light);
}

.hero-meta div:last-child {
  border-right: 0;
}

.hero-meta b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
}

.hero-meta span {
  color: rgba(244, 239, 230, 0.62);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  background: var(--forest);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-track span {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ticker-track span::before {
  content: "·";
  margin-right: 48px;
  opacity: 0.45;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

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

.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Catalog */
.catalog-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  color: var(--ivory);
  isolation: isolate;
}

.cat-card.tall {
  grid-row: span 2;
  min-height: 760px;
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card:hover img {
  transform: scale(1.05);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(14, 18, 16, 0.78) 100%);
}

.cat-card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 32px;
}

.cat-card h3 {
  font-size: 42px;
  margin: 0 0 8px;
  font-style: italic;
}

.cat-card p {
  margin: 0;
  max-width: 36ch;
  color: rgba(244, 239, 230, 0.78);
  font-size: 15px;
}

.cat-card .more {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.material-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.material-notes h3 {
  margin: 0 0 12px;
  font-size: 26px;
  font-style: italic;
}

.material-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.material-notes .more {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.article-wrap {
  max-width: 72ch;
}

.article h2 {
  margin: 48px 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  scroll-margin-top: 96px;
}

.article p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.article ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.article a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}

.article a.btn {
  border-bottom: 0;
}

.article a.btn-dark {
  color: var(--ivory);
}

.article a.btn-outline {
  color: var(--ink);
}

.article-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 8px 0 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-toc a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 0;
}

.article-toc a:hover {
  color: var(--ink);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.article-actions a {
  border-bottom: 0;
}

/* About */
.about {
  background: var(--forest);
  color: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about h2 {
  font-size: clamp(40px, 5.4vw, 68px);
  margin: 12px 0 24px;
}

.about h2 em {
  font-style: italic;
  color: var(--gold);
}

.about p {
  color: rgba(244, 239, 230, 0.72);
  font-size: 17px;
}

.about-points {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
}

.about-points li {
  list-style: none;
  padding: 14px 0 14px 0;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 239, 230, 0.82);
}

.about-photos {
  position: relative;
  min-height: 620px;
}

.about-photos img {
  object-fit: cover;
}

.about-photos img:first-child {
  width: 78%;
  height: 520px;
}

.about-photos img:nth-child(2) {
  position: absolute;
  width: 46%;
  height: 280px;
  right: 0;
  bottom: 40px;
  outline: 12px solid var(--forest);
}

.about-photos img:nth-child(3) {
  display: none;
}

/* Colors */
.palette-block {
  margin-bottom: 28px;
}

.palette-kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.palette-kicker small {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.swatches-custom {
  grid-template-columns: repeat(5, 1fr);
}

.swatches-custom .swatch {
  min-height: 148px;
  font-size: 20px;
}

.color-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.color-shots a {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.color-shots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.swatch {
  min-height: 280px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
}

.swatch small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 6px;
}

.color-shot {
  overflow: hidden;
  min-height: 480px;
}

.color-shot img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

/* Offer */
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.offer-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--ivory);
  display: flex;
}

.offer-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.offer-card:hover img {
  transform: scale(1.04);
}

.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 16, 0.15), rgba(14, 18, 16, 0.82));
}

.offer-body {
  position: relative;
  z-index: 1;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.offer-body h3 {
  font-size: 48px;
  margin: 0 0 10px;
  font-style: italic;
}

.offer-body p {
  margin: 0 0 16px;
  color: rgba(244, 239, 230, 0.78);
}

.offer-body ul {
  margin: 0 0 28px;
  padding: 0;
  color: rgba(244, 239, 230, 0.7);
}

.offer-body li {
  list-style: none;
  padding: 6px 0;
  font-size: 15px;
}

/* Gallery */
.works {
  background: var(--ivory);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, 28vh);
  gap: 8px;
}

.work-fig {
  margin: 0;
  display: block;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.work-fig:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.work-fig a {
  display: block;
  height: 100%;
}

.work-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.work-fig:hover img {
  transform: scale(1.05);
}

.work-fig figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent, rgba(14, 18, 16, 0.72));
  color: var(--ivory);
  pointer-events: none;
}

.work-fig figcaption span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.work-fig figcaption b {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
}

.works-cta {
  text-align: center;
  margin-top: 48px;
}

/* Process */
.process {
  background: var(--forest);
  color: var(--ivory);
}

.process .section-head h2,
.process .eyebrow {
  color: var(--gold);
}

.process .section-head h2 {
  color: var(--ivory);
}

.process .section-head h2 em {
  color: var(--gold);
}

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

.step {
  padding: 8px 32px 0 0;
  border-top: 1px solid var(--line-light);
  min-height: auto;
}

.step b {
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
  color: var(--gold);
  display: block;
  margin: 22px 0 28px;
  letter-spacing: 0.12em;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 32px;
  font-style: italic;
}

.step p {
  margin: 0;
  color: rgba(244, 239, 230, 0.64);
  padding-right: 20px;
}

.spec {
  background: var(--forest);
  color: var(--ivory);
}

.spec .section-head h2 em {
  color: var(--gold);
}

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

.spec-item {
  padding: 28px 28px 8px 0;
  border-top: 1px solid var(--line-light);
}

.spec-item h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-style: italic;
}

.spec-item p {
  margin: 0;
  color: rgba(244, 239, 230, 0.64);
  font-size: 15px;
  padding-right: 16px;
}

.makers,
.designers {
  padding: 0 0 128px;
  scroll-margin-top: 88px;
}

.makers-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.makers h2,
.designers h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 12px 0 18px;
}

.makers h2 em,
.designers h2 em {
  font-style: italic;
  color: var(--moss);
}

.makers p,
.designers p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
}

.price-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-steps > div {
  padding: 40px 28px 36px;
  border-right: 1px solid var(--line);
}

.price-steps > div:last-child {
  border-right: 0;
}

.price-steps small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-steps b {
  display: block;
  margin: 18px 0 8px;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  font-style: italic;
  line-height: 1;
}

.price-steps div:last-child b {
  font-size: clamp(26px, 2.6vw, 36px);
}

.price-steps span {
  font-size: 13px;
  color: var(--muted);
}

.price-more {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 1.2fr;
  gap: 0;
  margin-top: 8px;
}

.price-more article {
  padding: 32px 28px 28px 0;
  border-top: 1px solid var(--line);
}

.price-more article:not(:last-child) {
  margin-right: 32px;
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.price-more h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
}

.price-more b {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
}

.price-more span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.price-more p {
  margin: 10px 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 14px;
}

.contact-title {
  font-size: clamp(40px, 5vw, 64px);
  margin: 12px 0 28px;
}

.form-title {
  font-size: 36px;
  margin: 48px 0 8px;
  font-style: italic;
}

.form-lead {
  color: var(--muted);
  margin: 0 0 28px;
}

.page-hero-title {
  font-size: clamp(48px, 8vw, 92px);
  margin: 12px 0 16px;
}

.page-hero-lead {
  max-width: 42ch;
  color: rgba(244, 239, 230, 0.78);
  margin: 0;
  font-size: 18px;
}

.gallery-lead {
  color: var(--muted);
  margin: 0 0 28px;
}

/* FAQ */
.seo-copy {
  padding-top: 0;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.seo-grid h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-style: italic;
}

.seo-grid p {
  margin: 0;
  color: var(--muted);
}

.seo-grid a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 860px;
}

.faq-item {
  background: transparent;
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 26px 0;
  font-size: 22px;
  font-family: var(--display);
  font-weight: 400;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item button span {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  font-family: var(--sans);
}

.faq-item .answer {
  display: none;
  padding: 0 0 26px;
  color: var(--muted);
  max-width: 62ch;
}

.faq-item.open .answer {
  display: block;
}

/* Contacts */
.contacts {
  background: var(--ivory);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pickup-map {
  margin-top: 48px;
}

.pickup-map-cap {
  margin: 0 0 14px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 14px;
}

.pickup-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  background: var(--paper);
}

.contact-card,
.form-card {
  background: transparent;
  padding: 0;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.contact-row a,
.contact-row b {
  font-size: 22px;
  font-weight: 400;
  font-family: var(--display);
}

.map-wrap {
  margin-top: 28px;
  overflow: hidden;
  min-height: 240px;
  filter: grayscale(0.35) contrast(1.05);
}

.map-wrap iframe {
  width: 100%;
  height: 240px;
  border: 0;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 16px 0;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form-grid textarea {
  min-height: 110px;
  resize: vertical;
}

.form-grid .btn {
  margin-top: 12px;
}

.consent,
.file-field,
.cart-form .consent,
.cart-form .file-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.consent input,
.file-field input[type="checkbox"] {
  margin-top: 3px;
}

.file-field {
  flex-direction: column;
  gap: 6px;
}

.file-field input[type="file"] {
  font-size: 13px;
}

.file-ui-ready {
  position: relative;
}

.file-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.file-btn {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(90, 78, 62, 0.28);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.file-name {
  color: var(--muted);
}

.file-ui-ready input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.consent a,
.chat-legal a {
  color: inherit;
  border-bottom: 1px solid var(--gold);
}

.chat-legal {
  margin: 8px 16px 14px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.wall-calc {
  padding-bottom: 0;
}

.calc-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.calc-row h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 12px 0 16px;
}

.calc-row h2 em {
  font-style: italic;
  color: var(--moss);
}

.calc-row p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
}

.calc-box {
  display: grid;
  gap: 14px;
}

.calc-dims {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: end;
}

.calc-times {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  padding-bottom: 8px;
  color: var(--muted);
}

.calc-area {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.calc-box label,
.calc-box input {
  display: block;
  width: 100%;
}

.calc-box input {
  margin-top: 8px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 22px;
}

.calc-result {
  margin: 0;
  font-size: 18px;
}

.metrics-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  background: var(--ivory);
  border: 1px solid var(--line);
}

.metrics-bar p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 13px;
  color: var(--muted);
}

.metrics-bar a {
  color: inherit;
  border-bottom: 1px solid var(--gold);
}

.article-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 800px) {
  .calc-row {
    grid-template-columns: 1fr;
  }
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
}

.form-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}

/* Footer */
.footer {
  background: var(--forest);
  color: rgba(244, 239, 230, 0.62);
  padding: 56px 0 40px;
}

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

.footer .logo-name {
  color: var(--ivory);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 28px;
  padding: 28px 0 8px;
}

.footer-dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 72px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-dock-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--ivory);
  border: 1px solid var(--gold);
  background: transparent;
}

.footer-dock-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.footer-dock-btn:hover .footer-dock-icon,
.footer-dock-btn.is-open .footer-dock-icon {
  background: var(--gold);
  color: var(--ink);
}

.footer-dock-btn.is-chat .footer-dock-icon {
  background: var(--gold);
  color: var(--ink);
}

.footer-dock-btn.is-chat.is-open .footer-dock-icon {
  background: transparent;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-bottom a {
  color: var(--gold-2);
}

.footer-legal {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.55);
}

.footer-seo {
  display: none;
}

/* Chat */
.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.chat-widget > * {
  pointer-events: auto;
}

.chat-fab {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 12px 28px rgba(14, 18, 16, 0.32);
  animation: chat-pulse 2.6s ease-out infinite;
}

.chat-fab:hover {
  background: var(--gold-2);
}

.chat-fab-icon,
.chat-fab-close {
  grid-area: 1 / 1;
}

.chat-fab-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.chat-fab-close {
  display: none;
  font-size: 30px;
  line-height: 1;
  margin-top: -2px;
}

.chat-fab.is-open .chat-fab-icon,
.chat-fab.is-open .chat-fab-dot {
  display: none;
}

.chat-fab.is-open .chat-fab-close {
  display: block;
}

.chat-fab.is-open {
  animation: none;
}

.chat-fab-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3f8f5c;
  border: 2px solid var(--gold);
}

@keyframes chat-pulse {
  0% {
    box-shadow: 0 12px 28px rgba(14, 18, 16, 0.32), 0 0 0 0 rgba(194, 176, 138, 0.55);
  }
  70% {
    box-shadow: 0 12px 28px rgba(14, 18, 16, 0.32), 0 0 0 16px rgba(194, 176, 138, 0);
  }
  100% {
    box-shadow: 0 12px 28px rgba(14, 18, 16, 0.32), 0 0 0 0 rgba(194, 176, 138, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-fab {
    animation: none;
  }
}

body.cart-open .chat-widget {
  visibility: hidden;
}

.chat-panel {
  width: min(360px, calc(100vw - 32px));
  height: min(520px, calc(100vh - 120px));
  background: var(--forest);
  color: var(--ivory);
  border: 1px solid rgba(194, 176, 138, 0.28);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(8, 12, 10, 0.45);
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line-light);
}

.chat-head b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
}

.chat-head span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(244, 239, 230, 0.58);
}

.chat-head button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 22px;
  cursor: pointer;
}

.chat-thread {
  flex: 1;
  overflow: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 86%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: rgba(244, 239, 230, 0.08);
  color: rgba(244, 239, 230, 0.88);
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--ink);
}

.chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line-light);
}

.chat-form input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ivory);
  padding: 10px 8px;
  outline: none;
}

.chat-form input::placeholder {
  color: rgba(244, 239, 230, 0.4);
}

.chat-form button {
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
}

.chat-form button svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Catalog page */
.page-hero {
  padding: 180px 0 72px;
  background:
    linear-gradient(180deg, rgba(14, 18, 16, 0.62), rgba(14, 18, 16, 0.42)),
    url("../images/ready/10.jpg") center/cover;
  color: var(--ivory);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  border: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: 14px 20px 14px 0;
  margin-right: 28px;
  cursor: pointer;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-btn.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
  background: transparent;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.photo-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--stone);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
  filter: saturate(0.92);
}

.photo-grid a:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.load-more {
  display: block;
  margin: 48px auto 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 12, 0.94);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
}

.lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 22px;
}

.desk-page {
  background: var(--paper);
  min-height: 100vh;
}

.desk {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 48px;
}

.desk-head .logo {
  color: var(--ink);
}

.desk-head p {
  color: var(--muted);
  max-width: 46ch;
}

.desk-pin {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}

.desk-pin input {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  width: 180px;
}

.desk-app {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 68vh;
  border: 1px solid var(--line);
}

.desk-list {
  border-right: 1px solid var(--line);
  overflow: auto;
}

.desk-list button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px;
  cursor: pointer;
}

.desk-list button.is-on {
  background: var(--stone);
}

.desk-list b {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
}

.desk-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.desk-chat {
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  min-height: 68vh;
}

.desk-chat .chat-thread {
  flex: 1;
}

@media (max-width: 1240px) {
  .header-cta .socials {
    display: none;
  }
}

@media (max-height: 860px) {
  .hero-contacts {
    display: none;
  }

  .hero-meta {
    display: none;
  }

  .hero-actions {
    margin-bottom: 0;
  }
}

@media (max-width: 1200px) {
  .nav {
    gap: 12px;
  }
}

@media (max-width: 1100px) {
  .price-more {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .header-cta .btn,
  .header-cta .socials {
    display: none;
  }

  .hero {
    padding: 96px 16px 12vh;
    height: auto;
    min-height: 100dvh;
  }

  .hero-contacts {
    display: none;
  }

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

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

  .section,
  .hero {
    scroll-margin-top: 76px;
  }

  .hero-frame {
    inset: 76px 16px 16px;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .hero-contacts a,
  .hero-contacts button {
    min-width: calc(50% - 8px);
  }

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

  .hero-content {
    width: 100%;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    background: var(--forest-2);
    padding: 24px;
    gap: 18px;
    border: 1px solid var(--line-light);
    z-index: 45;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .desk-app {
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .steps,
  .spec-grid,
  .about-grid,
  .contacts-grid,
  .catalog-grid,
  .works-grid,
  .material-notes,
  .seo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .swatches {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .swatches-custom {
    grid-template-columns: 1fr 1fr;
  }

  .color-shots {
    grid-template-columns: 1fr 1fr;
  }

  .makers-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-steps {
    grid-template-columns: 1fr 1fr;
  }

  .price-steps > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-steps > div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .price-more {
    grid-template-columns: 1fr;
  }

  .price-more article:not(:last-child) {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
  }

  .hero-meta div,
  .step,
  .spec-item {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
    padding: 18px 0;
  }

  .cat-card,
  .cat-card.tall,
  .offer-card {
    min-height: 360px;
    grid-row: auto;
  }

  .works-grid .work-fig:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .work-fig {
    min-height: 240px;
  }

  .about-photos {
    min-height: 0;
  }

  .about-photos img:first-child,
  .about-photos img:nth-child(2) {
    position: static;
    width: 100%;
    height: 280px;
    outline: 0;
    margin-bottom: 8px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg video {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 88px 0;
  }

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

  .swatches,
  .swatches-custom,
  .photo-grid,
  .color-shots {
    grid-template-columns: 1fr 1fr;
  }

  .footer-dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px 8px;
    justify-items: center;
  }

  .footer-dock-btn {
    min-width: 0;
    width: 100%;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .footer-dock-icon {
    width: 44px;
    height: 44px;
  }

  .chat-widget {
    right: 16px;
    left: auto;
    bottom: 16px;
    align-items: flex-end;
  }

  .chat-panel {
    width: min(360px, calc(100vw - 32px));
    height: min(70dvh, 520px);
  }
}

/* Shop / cart */
.lang-toggle {
  height: 44px;
  min-width: 72px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ivory);
  background: transparent;
  border: 1px solid rgba(194, 176, 138, 0.45);
  cursor: pointer;
  letter-spacing: 0.18em;
  font-size: 11px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.lang-toggle .lang-opt {
  opacity: 0.4;
}

.lang-toggle .lang-opt.is-on {
  opacity: 1;
  color: var(--gold);
}

.lang-toggle .lang-sep {
  opacity: 0.35;
}

.lang-toggle:hover {
  background: rgba(194, 176, 138, 0.16);
}

.fx-note {
  max-width: 36rem;
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.hero-content .fx-note {
  color: rgba(244, 239, 230, 0.72);
}

.cart-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: transparent;
  border: 1px solid rgba(194, 176, 138, 0.45);
  cursor: pointer;
  flex-shrink: 0;
}

.cart-toggle:hover {
  background: var(--gold);
  color: var(--ink);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.cart-count[hidden] {
  display: none;
}

body.cart-open {
  overflow: hidden;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 22, 18, 0.55);
  z-index: 70;
}

.cart-backdrop[hidden],
.cart-panel[hidden] {
  display: none;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 71;
  width: min(420px, 100vw);
  height: 100dvh;
  background: var(--ivory);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 80px rgba(8, 12, 10, 0.28);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-head b {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
}

.cart-head span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.cart-close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.cart-items {
  flex: 1 1 auto;
  min-height: 160px;
  max-height: min(46vh, 380px);
  overflow: auto;
  padding: 8px 28px 16px;
}

.cart-empty {
  color: var(--muted);
  margin: 28px 0;
}

.cart-empty a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
}

.cart-line small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-line span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}

.cart-qty button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}

.cart-qty input {
  width: 52px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: center;
  padding: 0;
}

.cart-foot {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 16px 28px 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cart-rate {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.cart-sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.cart-sum span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-sum b {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
}

.cart-note {
  margin: 10px 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.cart-form {
  display: grid;
  gap: 8px;
}

.cart-form input,
.cart-form select,
.cart-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
}

.cart-form input:focus,
.cart-form select:focus,
.cart-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.cart-form textarea {
  min-height: 64px;
  resize: vertical;
}

.cart-form .btn {
  margin-top: 8px;
}

.cart-status {
  margin: 12px 0 0;
  font-size: 14px;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.shop-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: 220px auto;
}

.shop-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.shop-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-card h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
}

.shop-card .price {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
}

.shop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.buy-box {
  display: grid;
  grid-template-columns: 1fr 88px auto;
  gap: 8px;
  align-items: end;
  margin-top: 16px;
}

.buy-box.single {
  grid-template-columns: 88px auto;
}

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

.buy-box.panel-box .btn {
  justify-self: start;
}

.shop-card .calc-area,
.price-more .calc-area {
  margin-top: 4px;
}

.buy-box label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.buy-box select,
.buy-box input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ivory);
  padding: 12px 10px;
}

.buy-box .btn {
  padding: 14px 18px;
}

.buy-flash {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--moss);
}

.buy-flash[hidden] {
  display: none;
}

.price-more .buy-box,
.price-more .buy-box.single {
  margin-top: 18px;
  grid-template-columns: 1fr;
}

.price-buy {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.price-buy p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
}

@media (max-width: 980px) {
  .shop-grid,
  .price-buy,
  .buy-box,
  .buy-box.single {
    grid-template-columns: 1fr;
  }

  .shop-card {
    grid-template-rows: 200px auto;
  }
}

@media (max-width: 640px) {
  .cart-panel {
    width: 100vw;
  }

  .cart-head,
  .cart-items,
  .cart-foot {
    padding-left: 20px;
    padding-right: 20px;
  }
}
