:root {
  --stone: #eee4d5;
  --paper: #fffaf0;
  --ink: #1e211f;
  --muted: #70695f;
  --line: #d8c9b2;
  --bronze: #a97842;
  --shadow: rgba(44, 35, 25, 0.2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.75), transparent 30%),
    linear-gradient(135deg, #d8cbb8 0%, #f4eadb 45%, #cfc0ab 100%);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.35) 43%, transparent 47%),
    linear-gradient(60deg, rgba(74, 68, 58, 0.08) 0 1px, transparent 1px 100%);
  background-size: 100% 100%, 42px 42px;
}

.page-shell {
  min-height: 100vh;
  padding: clamp(16px, 4vw, 42px);
  display: flex;
  justify-content: center;
}

.paper {
  width: min(100%, 760px);
  min-height: 1080px;
  padding: clamp(18px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 240, 0.96)),
    var(--paper);
  border: 1px solid rgba(121, 97, 65, 0.28);
  box-shadow: 0 28px 80px var(--shadow);
}

.hero-block { scroll-margin-top: 18px; }

.slider {
  position: relative;
  height: clamp(230px, 43vw, 340px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #2a2723;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 3vw, 28px);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 1200ms ease;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 16px);
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide-marble {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(130deg, #f6f0e7, #b9ad9f 42%, #f9f6ef 58%, #8d8174);
}

.slide-granite {
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.25), transparent 18%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, #3a3a38, #9a948b 45%, #242422);
}

.slide-stairs {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.3), transparent 35%),
    repeating-linear-gradient(165deg, #d8cbbb 0 28px, #b9a894 28px 54px, #7e7062 54px 60px);
}

.slide-text {
  position: relative;
  z-index: 2;
  max-width: 270px;
  color: #fff8eb;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.slide-text span {
  display: block;
  margin-bottom: 6px;
  color: #f2d5a8;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.slide-text strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.brand-card {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(78%, 420px);
  padding: clamp(18px, 4vw, 30px);
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff8ed;
  background: rgba(28, 24, 20, 0.46);
  border: 1px solid rgba(255, 244, 220, 0.44);
  backdrop-filter: blur(7px);
}

.brand-card p {
  margin: 0 0 8px;
  color: #f0d3a4;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 11vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.slider-dots {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 22px;
  height: 3px;
  background: rgba(255, 255, 255, 0.42);
}

.dot.is-active { background: #f0d3a4; }

.main-menu {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.72);
}

.main-menu a {
  padding: 16px 8px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-right: 1px solid var(--line);
}

.main-menu a:last-child { border-right: 0; }

.main-menu a:hover {
  background: #efe2ce;
  color: #6d421f;
}

.content-block {
  min-height: 420px;
  margin-top: 18px;
  padding: clamp(24px, 5vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.66);
  scroll-margin-top: 18px;
}

.content-block h2 {
  max-width: 560px;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.content-block p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.7;
}

.eyebrow {
  margin-bottom: 16px !important;
  color: var(--bronze) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.split-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.contact-block {
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(57, 48, 38, 0.08), transparent 45%),
    rgba(255, 252, 246, 0.78);
}

@media (max-width: 640px) {
  .page-shell { padding: 10px; }
  .paper { min-height: auto; padding: 14px; }
  .main-menu { grid-template-columns: repeat(2, 1fr); }
  .main-menu a:nth-child(2) { border-right: 0; }
  .main-menu a:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .split-block { grid-template-columns: 1fr; }
}
