:root {
  --ink: #171412;
  --muted: #6f6660;
  --paper: #f7f3ed;
  --surface: #fffaf3;
  --line: #e4d9cc;
  --wood: #8f5836;
  --wood-deep: #5e341f;
  --gold: #d6a15f;
  --moss: #52624a;
  --clay: #c86f4a;
  --blue: #2f5b73;
  --shadow: 0 24px 70px rgba(29, 21, 15, 0.16);
  --shadow-deep: 0 34px 110px rgba(29, 21, 15, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(214, 161, 95, 0.16), transparent 28%),
    radial-gradient(circle at 86% 24%, rgba(82, 98, 74, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.35), rgba(247, 243, 237, 0.92)),
    var(--paper);
  overflow-x: hidden;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 250, 243, 0), rgba(214, 161, 95, 0.08) 38%, rgba(82, 98, 74, 0.08) 72%, rgba(255, 250, 243, 0)),
    radial-gradient(circle at 50% 120%, rgba(94, 52, 31, 0.12), transparent 40%);
  animation: ambientDrift 18s ease-in-out infinite alternate;
}

@keyframes ambientDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 10px 32px rgba(29, 21, 15, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.header-actions,
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 13px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.language {
  min-width: 62px;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 9px 8px;
  color: inherit;
  background: transparent;
  font-weight: 700;
}

.site-header.is-scrolled .language option {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid #a4623c;
  border-radius: 4px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, #8f5836, #c77a4f 52%, #d6a15f);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(143, 88, 54, 0.24);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(143, 88, 54, 0.32);
}

.button-secondary {
  border-color: rgba(255, 250, 243, 0.72);
  color: #fff;
  background: rgba(255, 250, 243, 0.14);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.button-small {
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.5);
  padding: 0 14px;
  font-size: 14px;
}

.site-header.is-scrolled .button-small {
  border-color: #a4623c;
}

.site-header.is-scrolled .button-secondary.button-small {
  color: #a4623c;
  background: transparent;
}

.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  height: 112%;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.02);
  will-change: transform;
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 18%, rgba(214, 161, 95, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(17, 13, 10, 0.82), rgba(17, 13, 10, 0.35) 54%, rgba(17, 13, 10, 0.12)),
    linear-gradient(0deg, rgba(17, 13, 10, 0.72), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b78c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 54px;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.section,
.quiz-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.page-main {
  padding-top: 72px;
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 126px) 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.compact-hero {
  padding-bottom: 36px;
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 620px;
  font-size: 18px;
}

.page-hero-image {
  position: relative;
  height: clamp(360px, 46vw, 560px);
  overflow: hidden;
  border-radius: 8px;
  background: #ded1c2;
  box-shadow: var(--shadow);
}

.page-hero-image img {
  position: absolute;
  inset: -7% 0 auto;
  width: 100%;
  height: 114%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.03);
  will-change: transform;
}

.cinematic-section {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  margin: 12px 0 72px;
  color: #fff;
}

.cinematic-media,
.cinematic-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cinematic-media img {
  object-fit: cover;
  height: 116%;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  will-change: transform;
}

.cinematic-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 13, 10, 0.78), rgba(17, 13, 10, 0.28) 58%, rgba(17, 13, 10, 0.12)),
    linear-gradient(0deg, rgba(17, 13, 10, 0.62), rgba(17, 13, 10, 0.1) 54%);
}

.cinematic-panel {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 36px));
  margin-left: max(18px, calc((100vw - 1180px) / 2));
}

.cinematic-panel h2 {
  font-size: clamp(34px, 5vw, 66px);
}

.cinematic-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.home-curation {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.home-curation-copy p:not(.eyebrow) {
  max-width: 690px;
  font-size: 18px;
}

.home-index {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow-deep);
}

.home-index a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px 18px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(247, 243, 237, 0.9)),
    rgba(255, 250, 243, 0.96);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-index a:hover {
  background: #fff;
  transform: translateX(4px);
}

.home-index span {
  grid-row: span 2;
  color: var(--wood);
  font-weight: 900;
}

.home-index strong {
  font-size: 20px;
}

.home-index small {
  color: var(--muted);
  font-weight: 700;
}

.home-showcase {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.showcase-media,
.showcase-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase-media {
  overflow: hidden;
}

.showcase-media img {
  height: 116%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
  will-change: transform;
}

.showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(214, 161, 95, 0.2), transparent 24%),
    linear-gradient(0deg, rgba(17, 13, 10, 0.82), rgba(17, 13, 10, 0.16) 62%),
    linear-gradient(90deg, rgba(17, 13, 10, 0.66), rgba(17, 13, 10, 0.05));
}

.showcase-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: max(18px, calc((100vw - 1180px) / 2));
  padding-bottom: clamp(54px, 8vw, 96px);
}

.showcase-content .eyebrow {
  color: #f0b78c;
}

.showcase-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.home-directions {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(82px, 10vw, 126px) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-directions .section-heading {
  grid-column: 1 / -1;
}

.direction-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 250, 243, 0.98), rgba(244, 235, 224, 0.92));
  box-shadow: 0 18px 55px rgba(29, 21, 15, 0.09);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.direction-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 90px rgba(29, 21, 15, 0.15);
  border-color: rgba(143, 88, 54, 0.45);
}

.direction-image {
  height: 280px;
  margin-bottom: 24px;
}

.direction-card span,
.direction-card h3,
.direction-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.direction-card span {
  color: var(--wood);
  font-weight: 900;
}

.home-process {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 clamp(82px, 10vw, 132px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 88px);
}

.home-process-lux {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(88px, 10vw, 140px) 0;
}

.home-process-lux::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -16%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 161, 95, 0.18), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}

.process-lux-head {
  max-width: 820px;
  margin-bottom: clamp(36px, 6vw, 74px);
}

.process-lux-head p:not(.eyebrow) {
  max-width: 640px;
  font-size: 18px;
}

.process-lux-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.process-lux-image {
  position: sticky;
  top: 112px;
  height: min(68vh, 680px);
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: #d8c7b5;
  box-shadow: var(--shadow-deep);
}

.process-lux-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 13, 10, 0.34), transparent 54%),
    radial-gradient(circle at 24% 18%, rgba(214, 161, 95, 0.24), transparent 24%);
}

.process-lux-image img {
  position: absolute;
  inset: -8% 0 auto;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
}

.process-lux-steps {
  position: relative;
  display: grid;
  gap: 18px;
}

.process-lux-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 38px;
  width: 1px;
  background: linear-gradient(180deg, rgba(143, 88, 54, 0), rgba(143, 88, 54, 0.42), rgba(143, 88, 54, 0));
}

.process-lux-steps article {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(228, 217, 204, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 250, 243, 0.96), rgba(247, 243, 237, 0.82));
  box-shadow: 0 18px 56px rgba(29, 21, 15, 0.08);
  backdrop-filter: blur(12px);
}

.process-lux-steps article span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(143, 88, 54, 0.38);
  border-radius: 50%;
  color: var(--wood-deep);
  background: #fffaf3;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(143, 88, 54, 0.16);
}

.process-lux-steps article p {
  margin-bottom: 0;
}

.process-sticky {
  position: sticky;
  top: 110px;
  align-self: start;
}

.process-timeline {
  display: grid;
  gap: 14px;
}

.process-timeline article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
}

.process-timeline span {
  color: var(--wood);
  font-weight: 900;
}

.home-crm {
  width: 100%;
  padding: clamp(78px, 10vw, 128px) max(18px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 161, 95, 0.24), transparent 42%),
    linear-gradient(135deg, rgba(23, 20, 18, 0.92), rgba(82, 98, 74, 0.88)),
    url("../img/table-walnut-black.jpg");
  background-size: cover;
  background-position: center;
}

.home-crm h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.home-crm p:not(.eyebrow) {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.74);
}

.home-crm .eyebrow {
  color: #f0b78c;
}

.home-crm > .button {
  min-height: 64px;
  margin-top: 34px;
  padding: 0 52px;
  font-size: 18px;
  border-radius: 6px;
  box-shadow:
    0 0 0 6px rgba(214, 161, 95, 0.18),
    0 22px 54px rgba(143, 88, 54, 0.45);
  animation: ctaPulse 2.6s ease-in-out infinite;
}

.home-crm > .button::after {
  content: "→";
  margin-left: 14px;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.home-crm > .button:hover::after {
  transform: translateX(5px);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(214, 161, 95, 0.18), 0 22px 54px rgba(143, 88, 54, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(214, 161, 95, 0.06), 0 22px 54px rgba(143, 88, 54, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  .home-crm > .button {
    animation: none;
  }
}

.intro,
.split,
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.product-grid .section-heading {
  grid-column: 1 / -1;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(29, 21, 15, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(29, 21, 15, 0.16);
}

.product-card h3,
.product-card p {
  padding: 0 20px;
}

.product-card p {
  padding-bottom: 22px;
}

.product-visual {
  height: 230px;
  margin-bottom: 22px;
  background-size: cover;
  background-position: center;
}

.visual-table {
  background:
    linear-gradient(140deg, rgba(17, 13, 10, 0.12), rgba(143, 88, 54, 0.22)),
    url("../img/table-oak-black.jpg"),
    repeating-linear-gradient(90deg, #7b472c 0 12px, #9e6842 12px 25px, #6c3f28 25px 38px);
}

.visual-panels {
  background:
    linear-gradient(140deg, rgba(82, 98, 74, 0.32), rgba(247, 243, 237, 0.14)),
    url("../img/table-round-clock.jpg"),
    repeating-linear-gradient(90deg, #3f3027 0 16px, #8b5a39 16px 22px, #d3b18c 22px 30px);
}

.visual-custom {
  background:
    linear-gradient(135deg, rgba(17, 13, 10, 0.28), rgba(47, 91, 115, 0.12)),
    url("../img/clock-detail.jpg"),
    radial-gradient(circle at 28% 28%, rgba(255, 250, 243, 0.46), transparent 24%),
    linear-gradient(135deg, #2f5b73, #8f5836 54%, #c86f4a);
}

.visual-table,
.visual-panels,
.visual-custom {
  background-size: cover;
  background-position: center;
}

.signature-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 96px;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 24px 70px rgba(29, 21, 15, 0.08);
}

.signature-grid article {
  min-height: 230px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 250, 243, 0.98), rgba(247, 243, 237, 0.94));
}

.signature-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--wood);
  font-weight: 900;
}

.signature-grid p {
  margin-bottom: 0;
}

.atelier-story {
  width: min(1180px, calc(100% - 36px));
  margin: 10px auto 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.atelier-story > * {
  min-width: 0;
}

.story-image {
  position: relative;
  height: clamp(440px, 52vw, 650px);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #ded1c2;
}

.story-image img {
  position: absolute;
  inset: -8% 0 auto;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.03);
  will-change: transform;
}

.story-content {
  padding: clamp(10px, 3vw, 36px) 0;
}

.story-content p {
  font-size: 17px;
}

.material-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.material-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 15px;
  background: rgba(255, 250, 243, 0.76);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-parallax {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.gallery-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.gallery-stack {
  position: relative;
  min-height: 760px;
}

.gallery-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #ded1c2;
  box-shadow: var(--shadow);
  transform: translate3d(0, var(--float-y, 0), 0);
  transition: transform 0.1s linear;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-large {
  top: 0;
  right: 0;
  width: 72%;
  height: 420px;
}

.gallery-card-small {
  top: 270px;
  left: 0;
  width: 46%;
  height: 330px;
  z-index: 2;
}

.gallery-card-wide {
  right: 7%;
  bottom: 0;
  width: 70%;
  height: 280px;
  z-index: 1;
}

.process {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: #fffaf3;
}

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

.step {
  min-height: 245px;
  padding: 24px;
  background: #fffaf3;
}

.step span {
  display: block;
  margin-bottom: 46px;
  color: var(--wood);
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stats div {
  min-height: 150px;
  padding: 20px;
  background: var(--surface);
}

.stats strong {
  display: block;
  margin-bottom: 10px;
  font-size: 42px;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.quote-band {
  width: 100%;
  padding: clamp(72px, 10vw, 132px) max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(23, 20, 18, 0.92), rgba(82, 98, 74, 0.9)),
    url("../img/table-walnut-clear.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.quote-band .eyebrow {
  color: #f0b78c;
}

.quote-band blockquote {
  max-width: 940px;
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.quiz-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.standalone-quiz {
  padding-top: 36px;
}

.quiz-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 243, 0.95)),
    #fff;
  box-shadow: var(--shadow);
}

.quiz-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eaded0;
  margin-bottom: 28px;
}

.quiz-progress span {
  display: block;
  width: 16%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--clay));
  transition: width 0.25s ease;
}

.quiz-question {
  min-height: 250px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.option {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0;
  background: #fffaf3;
  cursor: pointer;
  font-weight: 700;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(29, 21, 15, 0.12);
}

.option img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
}

.option span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  font-size: 15.5px;
  line-height: 1.3;
  min-height: 54px;
}

.option span::after {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option:has(input:checked) {
  border-color: var(--wood);
  box-shadow: 0 16px 38px rgba(94, 52, 31, 0.18);
}

.option:has(input:checked) span::after {
  border-color: var(--wood);
  background: var(--wood);
  box-shadow: inset 0 0 0 4px #fffaf3;
}

@media (max-width: 640px) {
  .quiz-options {
    grid-template-columns: 1fr;
  }

  .option img {
    height: 160px;
  }
}

.lead-fields {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.lead-fields input,
.lead-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  font: inherit;
  background: #fffaf3;
}

.lead-fields textarea {
  min-height: 96px;
  resize: vertical;
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.quiz-controls .button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fffaf3;
}

.quiz-note {
  margin: 16px 0 0;
  font-size: 13px;
}

.faq {
  max-width: 880px;
}

details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

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

summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
}

details p {
  max-width: 680px;
  margin: 14px 0 0;
}

.contacts {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #283830 52%, var(--blue));
}

.contacts p {
  color: rgba(255, 255, 255, 0.72);
}

.contacts .button {
  justify-self: end;
  border-color: #fff;
  color: #7a4529;
  background: #fffaf3;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.contact-page {
  min-height: 520px;
  align-items: center;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.contact-methods .button-secondary {
  border-color: rgba(255, 250, 243, 0.88);
  color: #7a4529;
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.contact-methods .button-secondary:hover {
  color: #5e341f;
  background: #fffaf3;
}

.case-list {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 96px;
  display: grid;
  gap: 44px;
}

.case-hero {
  min-height: calc(100vh - 72px);
}

.case-hero-stack {
  position: relative;
  min-height: 640px;
}

.case-hero-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #ded1c2;
  box-shadow: var(--shadow);
  transform: translate3d(0, var(--float-y, 0), 0);
}

.case-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-hero-photo.main {
  top: 0;
  right: 0;
  width: 78%;
  height: 500px;
}

.case-hero-photo.detail {
  left: 0;
  bottom: 0;
  width: 44%;
  height: 320px;
  z-index: 2;
}

.case-cinematic {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  margin-bottom: 96px;
  color: #fff;
  display: grid;
  align-items: end;
}

.case-cinematic img {
  position: absolute;
  inset: -8% 0 auto;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.04);
}

.case-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 161, 95, 0.18), transparent 26%),
    linear-gradient(0deg, rgba(17, 13, 10, 0.84), transparent 58%),
    linear-gradient(90deg, rgba(17, 13, 10, 0.5), transparent);
}

.case-cinematic-copy {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 36px));
  margin-left: max(18px, calc((100vw - 1180px) / 2));
  padding-bottom: clamp(54px, 8vw, 96px);
}

.case-cinematic-copy .eyebrow {
  color: #f0b78c;
}

.case-item {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.7);
  box-shadow: 0 18px 60px rgba(29, 21, 15, 0.08);
}

.case-item.reversed .case-image {
  order: 2;
}

.case-image {
  position: relative;
  height: clamp(320px, 40vw, 520px);
  overflow: hidden;
  border-radius: 8px;
  background: #ded1c2;
}

.case-image img {
  position: absolute;
  inset: -7% 0 auto;
  width: 100%;
  height: 114%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.03);
  will-change: transform;
}

.premium-case {
  position: relative;
  min-height: 640px;
}

.premium-case .case-content {
  position: sticky;
  top: 112px;
  align-self: start;
}

.case-floating-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 12px 16px;
  color: #fff;
  background: rgba(17, 13, 10, 0.34);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transform: translate3d(0, var(--float-y, 0), 0);
}

.case-content dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-content dl div {
  padding: 14px;
  background: #fffaf3;
}

.case-content dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-content dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.mini-cta {
  margin-bottom: 0;
}

.case-materials {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.case-material-copy {
  position: sticky;
  top: 112px;
}

.case-material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-material-grid article {
  min-height: 220px;
  padding: 24px;
  background: #fffaf3;
}

.case-material-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--wood);
  font-weight: 900;
}

.products-hero {
  min-height: calc(92vh - 72px);
}

.product-catalog {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  gap: clamp(42px, 7vw, 92px);
  padding-bottom: clamp(72px, 10vw, 132px);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.product-feature.reversed .product-feature-media {
  order: 2;
}

.product-feature-media {
  position: relative;
  height: clamp(360px, 46vw, 620px);
  overflow: hidden;
  border-radius: 8px;
  background: #d8c7b5;
  box-shadow: var(--shadow-deep);
}

.product-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 13, 10, 0.22), transparent 56%),
    radial-gradient(circle at 80% 20%, rgba(214, 161, 95, 0.2), transparent 28%);
}

.product-feature-media img {
  position: absolute;
  inset: -7% 0 auto;
  width: 100%;
  height: 114%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.03);
}

.product-feature-copy p {
  font-size: 17px;
}

.product-feature-copy ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.product-feature-copy li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.order-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(72px, 10vw, 132px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(228, 217, 204, 0.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 161, 95, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 243, 0.96), rgba(247, 243, 237, 0.88));
  box-shadow: var(--shadow-deep);
}

.order-copy {
  position: sticky;
  top: 112px;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.order-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fffaf3;
  font: inherit;
}

.order-form textarea {
  min-height: 124px;
  resize: vertical;
}

.order-form .wide,
.order-form button,
.order-form .quiz-note {
  grid-column: 1 / -1;
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(214, 161, 95, 0.18), transparent 28%),
    linear-gradient(135deg, #171412, #24332b 52%, #2f5b73);
}

.admin-shell {
  width: min(1280px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
}

.admin-sidebar,
.admin-panel {
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.94);
  box-shadow: var(--shadow-deep);
}

.admin-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px;
}

.admin-brand {
  margin-bottom: 28px;
}

.admin-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.admin-actions .button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fffaf3;
}

.admin-panel {
  padding: clamp(22px, 4vw, 42px);
}

.admin-heading {
  margin-bottom: 28px;
}

.admin-form {
  display: grid;
  gap: 20px;
}

.admin-form fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 250, 243, 0.74);
}

.admin-form legend {
  padding: 0 8px;
  color: var(--wood-deep);
  font-weight: 900;
}

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

.admin-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffaf3;
  font: inherit;
}

.admin-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.admin-submit p {
  margin: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #fffaf3;
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .intro,
  .split,
  .contacts,
  .quiz-section,
  .page-hero,
  .case-item,
  .home-curation,
  .home-process,
  .process-lux-grid,
  .home-crm,
  .case-materials,
  .product-feature,
  .order-section,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .steps,
  .stats,
  .atelier-story,
  .signature-grid,
  .gallery-parallax,
  .home-directions,
  .case-material-grid {
    grid-template-columns: 1fr;
  }

  .cinematic-section,
  .story-image {
    min-height: 560px;
  }

  .gallery-copy {
    position: static;
  }

  .gallery-stack {
    min-height: 900px;
  }

  .gallery-card-large,
  .gallery-card-small,
  .gallery-card-wide {
    width: 100%;
    left: 0;
    right: auto;
  }

  .gallery-card-large {
    top: 0;
  }

  .gallery-card-small {
    top: 330px;
  }

  .gallery-card-wide {
    bottom: 0;
  }

  .contacts .button {
    justify-self: start;
  }

  .case-item.reversed .case-image {
    order: 0;
  }

  .premium-case .case-content,
  .process-sticky,
  .process-lux-image,
  .case-material-copy,
  .order-copy,
  .admin-sidebar {
    position: static;
  }

  .product-feature.reversed .product-feature-media {
    order: 0;
  }

  .process-lux-image {
    min-height: 440px;
    height: 520px;
  }

  .home-crm {
    align-items: start;
  }

  .case-hero-stack {
    min-height: 620px;
  }

  .case-hero-photo.main,
  .case-hero-photo.detail {
    width: 100%;
    left: 0;
    right: auto;
  }

  .case-hero-photo.main {
    height: 390px;
  }

  .case-hero-photo.detail {
    bottom: 0;
    height: 250px;
  }

  .contact-methods {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    gap: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .button-small {
    min-width: 104px;
    padding: 0 10px;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    min-height: min(96vh, 760px);
  }

  .cinematic-section {
    min-height: 620px;
  }

  .section,
  .quiz-section {
    padding: 68px 0;
  }

  .page-hero {
    padding-top: 48px;
  }

  .case-content dl {
    grid-template-columns: 1fr;
  }

  .home-curation,
  .home-directions,
  .home-process,
  .home-process-lux,
  .case-materials {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .home-showcase,
  .case-cinematic {
    min-height: 620px;
  }

  .process-timeline article {
    grid-template-columns: 1fr;
  }

  .process-lux-steps::before {
    left: 25px;
  }

  .process-lux-steps article {
    grid-template-columns: 54px 1fr;
    padding: 20px;
  }

  .order-form {
    grid-template-columns: 1fr;
  }

  .signature-section,
  .gallery-parallax {
    padding: 18px 0 70px;
    margin-bottom: 0;
  }

  .gallery-stack {
    min-height: 760px;
  }

  .gallery-card-large,
  .gallery-card-small,
  .gallery-card-wide {
    height: 240px;
  }

  .gallery-card-small {
    top: 260px;
  }

  .quiz-controls {
    flex-direction: column-reverse;
  }

  .quiz-controls .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
}

.option .option-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 190px;
  padding: 0;
  min-height: 0;
  font-size: 64px;
  line-height: 1;
  background: radial-gradient(circle at 50% 42%, #2c3b36, #17231f 78%);
}

.option .option-emoji::after {
  content: none;
}

@media (max-width: 640px) {
  .option .option-emoji {
    height: 160px;
  }
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}

.consent input {
  margin-top: 2px;
  width: 17px;
  height: 17px;
  accent-color: var(--wood);
  flex: 0 0 auto;
}

/* ---------- Mobile navigation ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

body.nav-locked {
  overflow: hidden;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: flex;
  }

  .site-header .nav {
    display: none;
  }

  .site-header.nav-open {
    color: #fff;
    background: #1b1410;
  }

  .site-header.nav-open .nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 96px clamp(24px, 8vw, 56px) 40px;
    background:
      radial-gradient(circle at 82% 12%, rgba(214, 161, 95, 0.18), transparent 34%),
      #1b1410;
  }

  .site-header.nav-open .nav a {
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 800;
    color: #fff;
    opacity: 1;
    padding: 6px 0;
  }
}

@media (max-width: 560px) {
  .header-actions .button-small[href="quiz.html"] {
    display: none;
  }

  .quiz-controls {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ---------- Tighter mobile spacing ---------- */
@media (max-width: 640px) {
  .compact-hero {
    padding-bottom: 4px;
  }

  .compact-hero .page-hero-image {
    display: none;
  }

  .standalone-quiz {
    padding-top: 16px;
  }

  .quiz-copy p:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 920px) {
  .quiz-section {
    gap: 26px;
  }
}

/* ---------- Compact hero on mobile ---------- */
@media (max-width: 640px) {
  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 118px 0 34px;
  }

  .trust-strip {
    margin-top: 30px;
  }
}

/* ---------- Special offers (products page) ---------- */
.offers-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(56px, 8vw, 104px);
  scroll-margin-top: 96px;
}

.offers-head {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.offers-head h2 {
  margin: 0 0 12px;
}

.offers-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}

.offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(29, 21, 15, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(29, 21, 15, 0.16);
}

.offer-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #d8c7b5;
  overflow: hidden;
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--wood-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(29, 21, 15, 0.28);
}

.offer-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 26px);
}

.offer-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  min-height: 2.6em;
}

.offer-specs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-specs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 15px;
}

.offer-specs span {
  color: var(--muted);
  font-weight: 500;
}

.offer-specs strong {
  text-align: right;
  font-weight: 800;
}

.offer-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.offer-price-old,
.offer-price-new {
  display: grid;
  gap: 2px;
}

.offer-price-old span,
.offer-price-new span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.offer-price-old s {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.offer-price-new strong {
  font-size: 26px;
  line-height: 1.1;
  color: var(--wood-deep);
}

.offer-cta {
  width: 100%;
  min-width: 0;
}

.offers-footnote {
  margin: clamp(20px, 3vw, 32px) 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-media {
    aspect-ratio: 3 / 2;
  }

  .offer-body h3 {
    min-height: 0;
  }

  .offer-price-new strong {
    font-size: 24px;
  }
}

@media (max-width: 380px) {
  .offer-specs li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .offer-specs strong {
    text-align: left;
  }

  .offer-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ---------- Product category tabs ---------- */
.products-tabs {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(56px, 8vw, 104px);
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.tab-btn {
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fffaf3;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.tab-btn.is-active {
  border-color: var(--wood);
  background: linear-gradient(135deg, #8f5836, #c77a4f 62%, #d6a15f);
  color: #fff;
  box-shadow: 0 12px 30px rgba(143, 88, 54, 0.28);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: tabFade 0.35s ease;
}

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

.tab-panel .offers-head {
  margin-top: 6px;
}

.tab-panel .product-feature {
  margin: 0;
}

.tab-order-note {
  margin: 18px 0 20px;
  font-size: 15px;
}

@media (max-width: 640px) {
  .tab-btn {
    flex: 1 1 100%;
    min-height: 52px;
  }
}

/* ---------- Offers as alternating feature blocks ---------- */
.offer-features {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

.offer-feature .product-feature-media {
  position: relative;
}

.offer-feature .offer-badge {
  position: absolute;
  top: 18px;
  left: 18px;
}

.offer-feature .offer-specs {
  margin: 6px 0 14px;
}

.offer-feature .offer-price {
  margin: 14px 0 22px;
}

.offer-feature .offer-note {
  margin-bottom: 4px;
}
