:root {
  --bg: #0f0e0d;
  --bg-soft: #1b1916;
  --panel: #171512;
  --panel-border: rgba(226, 210, 185, 0.14);
  --text: #f3eee5;
  --text-dim: #bfb4a4;
  --accent: #cf9a5a;
  --accent-soft: #e6c497;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
  --section-space-desktop: 70px;
  --section-space-mobile: 30px;
  --scroll-offset-desktop: 112px;
  --scroll-offset-mobile: 90px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(110% 100% at 0% 0%, #2a241d 0%, transparent 40%),
    radial-gradient(80% 80% at 100% 20%, #1f1812 0%, transparent 45%),
    var(--bg);
  line-height: 1.65;
}

img,
video {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Playfair Display", "Bodoni Moda", serif;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.008em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(1220px, 92vw);
  margin: 0 auto;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(15, 14, 13, 0.85), rgba(15, 14, 13, 0.3));
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.88);
  border-color: rgba(255, 255, 255, 0.07);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  font-family: "Playfair Display", "Bodoni Moda", serif;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.76rem 1.24rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--accent);
  color: #120f0b;
}

.btn-solid:hover {
  background: var(--accent-soft);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.btn-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--text);
}

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

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding: 120px 0 70px;
  overflow: clip;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(to right, rgba(6, 6, 6, 0.82) 0%, rgba(9, 9, 9, 0.42) 52%, rgba(9, 9, 9, 0.66) 100%),
    linear-gradient(to top, rgba(9, 9, 9, 0.9) 0%, rgba(9, 9, 9, 0.2) 55%, rgba(9, 9, 9, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.hero-content h1 {
  margin-top: 14px;
  font-size: clamp(2.25rem, 6.6vw, 5.3rem);
}

.hero-content p {
  margin-top: 18px;
  color: #d9cfbf;
  max-width: 56ch;
}

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

.section {
  padding: var(--section-space-desktop) 0;
}

section[id] {
  scroll-margin-top: var(--scroll-offset-desktop);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4vw, 3.35rem);
}

.section-head + p {
  color: var(--text-dim);
}

.stats {
  padding: var(--section-space-desktop) 0;
  position: relative;
  background-color: #e4dbc9;
  background-image:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.72), transparent 45%),
    radial-gradient(120% 140% at 0% 100%, rgba(202, 183, 154, 0.36), transparent 48%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.stats-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(180px, 230px));
  justify-content: center;
}

.stats-grid article {
  background: rgba(23, 21, 18, 0.72);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.stats-grid h2 {
  font-size: clamp(1.95rem, 3.5vw, 2.8rem);
  color: var(--accent-soft);
  width: 100%;
  text-align: center;
}

.stats-grid p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.services {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(22, 20, 17, 0.35), rgba(22, 20, 17, 0)), var(--bg);
}

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

.service-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card img {
  height: 250px;
  object-fit: cover;
}

.card-copy {
  padding: 22px;
}

.card-copy h3 {
  font-size: 1.5rem;
}

.card-copy p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.process-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.process-card {
  grid-column: span 2;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-soft);
}

.process-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.process-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.process-card img {
  height: 260px;
  object-fit: cover;
}

.process-card h3 {
  padding: 16px;
  font-size: 1.2rem;
}

.shop {
  position: relative;
  background-color: #ddd2c0;
  background-image:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.72), transparent 44%),
    radial-gradient(140% 140% at 100% 100%, rgba(198, 175, 145, 0.42), transparent 50%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.shop-carousel {
  position: relative;
}

.shop-carousel-viewport {
  position: relative;
  overflow: visible;
  touch-action: pan-y;
}

.shop-carousel-mask {
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.shop-carousel-track {
  display: flex;
  transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.shop-slide {
  flex: 0 0 100%;
  background: transparent;
}

.shop-layout {
  display: grid;
  gap: 56px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
  min-height: clamp(420px, 44vw, 540px);
  background: transparent;
}

.shop-image {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: none;
  box-shadow: none;
  height: 100%;
}

.shop-image img {
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-copy h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 3.5vw, 2.7rem);
  color: #2f261d;
}

.shop-copy {
  padding: 14px 4px 14px 8px;
  border: none;
  background: transparent;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-copy .kicker {
  color: #7c603d;
}

.shop-copy p {
  margin-top: 14px;
  color: #4f4538;
}

.slide-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(92, 67, 35, 0.42);
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #5e4322;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.slide-link:hover {
  background: rgba(110, 78, 40, 0.12);
  border-color: rgba(92, 67, 35, 0.62);
}

.pill-grid {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-grid span {
  border: 1px solid rgba(105, 80, 46, 0.34);
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e4f27;
}

.shop-carousel-controls {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.shop-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(12, 10, 9, 0.78);
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.shop-carousel-btn.prev {
  left: -72px;
}

.shop-carousel-btn.next {
  right: -72px;
}

.shop-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(28, 22, 15, 0.5);
  background: rgba(42, 34, 24, 0.2);
  padding: 0;
  cursor: pointer;
}

.shop-carousel-dots button.is-active {
  background: rgba(35, 26, 16, 0.85);
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 150px;
}

.gallery {
  position: relative;
  z-index: 2;
  background-color: var(--bg);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
}

.gallery-grid img:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-grid img:nth-child(2) {
  grid-column: span 5;
  grid-row: span 3;
}

.gallery-grid img:nth-child(3) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid img:nth-child(4) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-grid img:nth-child(5) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid img:nth-child(6) {
  grid-column: span 5;
  grid-row: span 2;
}

.about-layout {
  display: grid;
  gap: 26px;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

.about-image {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

.about-image img {
  min-height: 460px;
  object-fit: cover;
}

.about-copy h2 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
}

.about-copy p {
  margin-top: 14px;
  color: var(--text-dim);
}

.contact {
  position: relative;
  background-color: #e8dfd0;
  background-attachment: fixed;
}

.contact-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(67, 53, 35, 0.24);
  background: #f5eee2;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 12px 34px rgba(34, 25, 15, 0.15);
}

.contact-panel h2 {
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  color: #2d241b;
}

.contact-panel p {
  margin-top: 12px;
  color: #4d4337;
}

.contact .kicker {
  color: #7a5e3c;
}

.contact-details p {
  margin-top: 10px;
}

.contact-details strong {
  color: #2d241b;
}

.contact-details a {
  color: #6f4f25;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 24px 0 30px;
  color: #a49681;
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 1120px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(180px, 230px));
  }

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

  .shop-layout,
  .about-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    min-height: 0;
    gap: 20px;
  }

  .shop-image,
  .shop-copy {
    height: auto;
  }

  .shop-image img {
    min-height: 320px;
    max-height: 380px;
  }
}

@media (max-width: 820px) {
  .site-header {
    background: rgba(10, 10, 10, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #131110;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    gap: 0;
  }

  .site-nav a {
    padding: 0.95rem 4vw;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header.menu-open .site-nav {
    max-height: 360px;
  }

  .hero {
    margin-top: 80px;
    min-height: 0;
    align-items: start;
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .hero-video {
    object-position: center 34%;
  }

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.34) 0%, rgba(8, 8, 8, 0.5) 100%);
  }

  .hero-content {
    width: 100%;
    padding-inline: 16px;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 10.8vw, 3.9rem);
  }

  .hero-content p {
    max-width: 34ch;
  }

  .stats,
  .shop {
    background-attachment: scroll;
  }

  .contact {
    background-attachment: scroll;
  }

  .section,
  .stats {
    padding: var(--section-space-mobile) 0;
  }

  section[id] {
    scroll-margin-top: var(--scroll-offset-mobile);
  }

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

  .process-card,
  .process-card:nth-child(4),
  .process-card:nth-child(5) {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 168px;
  }

  .gallery-grid img {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .shop-carousel-btn {
    display: none;
  }
}

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

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

  .btn {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .shop-carousel-track {
    transition: none;
  }

  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
