/* ============================================================
   PREMIUM VERANDA — design tokens
   ============================================================ */
:root {
  /* Palette */
  --ink: #1d1813;
  --ink-2: #2a201a;
  --bone: #f5f1ea;
  --sand: #e8ddc8;
  --sand-2: #ded0b6;
  --warm: #b8956a;
  --warm-2: #8b5a3c;
  --line: rgba(29, 24, 19, 0.12);
  --line-2: rgba(245, 241, 234, 0.18);
  --muted: rgba(29, 24, 19, 0.62);
  --muted-2: rgba(245, 241, 234, 0.62);

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Space */
  --container: 1320px;
  --pad: clamp(20px, 5vw, 80px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Base
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
input, select, textarea { font: inherit; color: inherit; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.serif em { font-style: italic; color: var(--warm-2); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--warm-2);
  margin-bottom: 24px;
}

.section { padding: clamp(64px, 10vw, 140px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section__head--center { text-align: left; margin-left: 0; margin-right: 0; }
.section__title { font-size: clamp(36px, 5vw, 72px); line-height: 1.05; margin-bottom: 24px; }
.section__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 640px; }
.section__head--center .section__lead { margin: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--bone); }
.btn--primary:hover { background: var(--warm-2); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bone); }
.btn--ghost { color: var(--ink); border-color: var(--line); padding: 12px 22px; font-size: 13px; }
.btn--ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--full { width: 100%; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
.nav--scrolled {
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav--light {
  color: var(--bone);
  background: linear-gradient(180deg, rgba(15, 11, 8, 0.55) 0%, rgba(15, 11, 8, 0.0) 100%);
}
.nav--light .nav__logo-text,
.nav--light .nav__menu a,
.nav--light .nav__phone { color: var(--bone); }
.nav--light .btn--ghost { color: var(--bone); border-color: var(--line-2); }
.nav--light .btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.nav--light .nav__logo-mark { background: var(--bone); color: var(--ink); }

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.nav__logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--ink);
  transition: color 0.3s var(--ease);
  flex-shrink: 0;
}
.nav__logo-mark svg { width: 100%; height: 100%; display: block; }
.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--ink);
  transition: color 0.3s var(--ease);
  line-height: 1;
}
.nav--light .nav__logo-text { color: var(--bone); }
.nav__logo-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
}
.nav__logo-tag {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-2);
  font-weight: 500;
}
.nav--light .nav__logo-tag { color: var(--warm); }

.nav__menu {
  display: flex;
  gap: 28px;
}
.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}
.nav__menu a:hover::after { right: 0; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__phone {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: all 0.3s var(--ease);
}

/* ============================================================
   Hero — full-bleed background photo + editorial typography overlay
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  display: flex;
  align-items: flex-start;
  padding: clamp(160px, 22vh, 240px) 0 clamp(80px, 10vh, 120px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.10); }
  to { transform: scale(1.0); }
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* soft directional shade — light dark on left, photo open on the right */
    linear-gradient(90deg,
      rgba(10, 8, 6, 0.50) 0%,
      rgba(10, 8, 6, 0.32) 30%,
      rgba(10, 8, 6, 0.10) 60%,
      rgba(10, 8, 6, 0.0) 85%),
    /* cinematic vignette around edges — subtle, not gloomy */
    radial-gradient(ellipse at 30% 60%, transparent 40%, rgba(10, 8, 6, 0.22) 95%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 0 clamp(24px, 4vw, 64px);
  color: var(--bone);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 720px) {
  .hero { padding-top: 130px; padding-bottom: 64px; align-items: flex-end; }
  .hero__inner { max-width: 100%; }
  .hero__bg-overlay {
    background:
      linear-gradient(180deg, rgba(10, 8, 6, 0.30) 0%, rgba(10, 8, 6, 0.0) 35%, rgba(10, 8, 6, 0.55) 65%, rgba(10, 8, 6, 0.88) 100%);
  }
  .hero__eyebrow { font-size: 10px; letter-spacing: 0.28em; margin-bottom: 20px; }
  .hero__title { font-size: clamp(34px, 9vw, 52px); line-height: 1.05; max-width: 100%; margin-bottom: 22px; }
  .hero__lead { font-size: 15px; line-height: 1.55; max-width: 100%; margin-bottom: 28px; }
  .hero__cta { gap: 18px; margin-bottom: 28px; }
  .hero__since { font-size: 10px; letter-spacing: 0.2em; }
}

/* (showcase section removed) */
/* (legacy hero__media/overlay/sun/etc styles below are unused in editorial layout
   but kept for SVG sun decoration if reused) */

/* Art hero (no photo dependency) */
.hero__media--art {
  background: linear-gradient(160deg, #2a201a 0%, #4a3528 40%, #6b4530 70%, #2a201a 100%);
}
.hero__sun {
  position: absolute;
  right: -10vw;
  top: 8vh;
  width: 70vh;
  height: 70vh;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(232, 184, 130, 0.92) 0%, rgba(184, 149, 106, 0.55) 30%, rgba(139, 90, 60, 0.28) 60%, transparent 75%);
}
@keyframes sunRise {
  from { transform: translateY(40px) scale(0.94); opacity: 0.7; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.hero__layers {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero__layer {
  position: absolute;
  left: -10%; right: -10%;
  height: 50vh;
  background: linear-gradient(0deg, rgba(29, 24, 19, 0.92) 0%, rgba(29, 24, 19, 0.35) 100%);
  transform-origin: center bottom;
}
.hero__layer--1 {
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 11, 8, 0.92) 100%);
  height: 32vh;
}
.hero__layer--2 {
  bottom: 18vh;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 106, 0.45) 40%, rgba(184, 149, 106, 0.65) 60%, transparent);
  opacity: 0.8;
}
.hero__layer--3 {
  bottom: 26vh;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 221, 200, 0.25) 50%, transparent);
}
.hero__layer--4 {
  top: 0;
  height: 25vh;
  background: linear-gradient(180deg, rgba(15, 11, 8, 0.7) 0%, transparent 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(184, 149, 106, 0.10) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(232, 184, 130, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 24, 19, 0.25) 0%, rgba(29, 24, 19, 0.0) 30%, rgba(29, 24, 19, 0.55) 80%, rgba(29, 24, 19, 0.92) 100%);
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: clamp(40px, 4vw, 60px);
  /* warm light ivory — luxe resort feel */
  color: rgba(250, 246, 236, 0.85);
  font-weight: 500;
  max-width: 32ch;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.hero__title {
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin-bottom: clamp(36px, 3.6vw, 56px);
  color: #faf6ec; /* premium warm ivory — slightly lighter for soft luminous feel */
  max-width: 11ch;
  /* soft cinematic glow — premium, not gloomy */
  text-shadow:
    0 0 24px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.25);
}
.hero__title em {
  font-style: italic;
  color: #f5ecd6;
  font-weight: 400;
}
.hero__lead {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
  max-width: 38ch;
  color: rgba(250, 246, 236, 0.95);
  margin-bottom: clamp(44px, 5vw, 64px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 2.4vw, 40px);
  margin-bottom: clamp(48px, 5.5vw, 72px);
}
/* Premium ivory CTA — Four Seasons / Aman feel */
.hero__cta .btn--primary {
  background: rgba(250, 246, 236, 0.96);
  color: var(--ink);
  padding: 18px 36px;
  font-size: 13px;
  letter-spacing: 0.1em;
  border-radius: 999px;
  box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
}
.hero__cta .btn--primary:hover {
  background: #faf6ec;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
}
.hero__link {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 22px);
  font-style: italic;
  color: rgba(250, 246, 236, 0.95);
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(250, 246, 236, 0.45);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__link:hover { color: #fff; border-color: rgba(250, 246, 236, 0.95); }
.hero__since {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.72);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

/* Key facts strip — under hero */
.facts {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(40px, 5vw, 64px) 0;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 56px);
}
.facts__grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.facts__num {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  color: var(--bone);
}
.facts__lbl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.68);
}
@media (max-width: 720px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 5;
  width: 28px; height: 44px;
  border: 1px solid rgba(29, 24, 19, 0.3);
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.hero__scroll span {
  width: 2px; height: 8px;
  background: var(--ink);
  border-radius: 1px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@media (max-width: 980px) { .hero__scroll { display: none; } }
@keyframes scrollDot {
  0% { transform: translateY(-8px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* (ticker removed from layout) */

/* ============================================================
   Concept
   ============================================================ */
.concept { background: var(--bone); }
.concept__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.concept__card {
  background: var(--bone);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  transition: background 0.4s var(--ease);
}
.concept__card:hover { background: var(--sand); }
.concept__num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--warm-2);
  margin-bottom: 12px;
}
.concept__card h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.15;
  margin-bottom: 8px;
}
.concept__card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================================================
   Featured (top 3 collections)
   ============================================================ */
.featured { background: var(--bone); }
.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 36px);
}
.featured__card {
  background: var(--sand);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  text-decoration: none;
  color: inherit;
}
.featured__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -30px rgba(29, 24, 19, 0.4);
}
.featured__card:nth-child(2) { background: var(--ink); color: var(--bone); }
.featured__card:nth-child(2) .featured__tag { color: var(--warm); }
.featured__card:nth-child(2) .featured__desc { color: rgba(245, 241, 234, 0.72); }
.featured__card:nth-child(2) .featured__price { color: var(--warm); border-color: var(--line-2); }

.featured__img {
  /* matches source photo aspect 1800×1200 (3:2) → zero horizontal crop, full OUTDOOR badge */
  aspect-ratio: 99 / 70;
  overflow: hidden;
  position: relative;
}
.featured__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 1s var(--ease);
}
.featured__card:hover .featured__img img { transform: scale(1.06); }
.featured__body {
  padding: clamp(24px, 2.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.featured__tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-2);
  font-weight: 500;
}
.featured__body h3 {
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.0;
  letter-spacing: 0.02em;
}
.featured__desc { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.featured__price {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--warm-2);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 4px;
}

/* ============================================================
   Collections (catalog grid)
   ============================================================ */
.collections {
  background: var(--sand);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(184, 149, 106, 0.10), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(139, 90, 60, 0.06), transparent 55%);
}
.collections__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 1.5vw, 28px);
}
.collection {
  grid-column: span 4;
  background: var(--bone);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.collection--lg { grid-column: span 6; grid-row: span 2; }
.collection--wide { grid-column: span 8; }
.collection:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(29, 24, 19, 0.35); }

/* Editorial background variants — cycle through premium palette */
.collection:nth-child(8n+1) { background: var(--bone); }
.collection:nth-child(8n+2) { background: #ede4d2; }     /* warm cream */
.collection:nth-child(8n+3) { background: var(--bone); }
.collection:nth-child(8n+4) { background: #e5d7be; }     /* sand-2 */
.collection:nth-child(8n+5) { background: var(--bone); }
.collection:nth-child(8n+6) { background: #ede4d2; }
.collection:nth-child(8n+7) { background: var(--bone); }
.collection:nth-child(8n+0) { background: #e5d7be; }

.collection__img {
  position: relative;
  /* matches source 3:2 → no crop */
  aspect-ratio: 99 / 70;
  overflow: hidden;
  background: var(--ink);
}
.collection--lg .collection__img { aspect-ratio: 99 / 70; }
.collection--wide .collection__img { aspect-ratio: 16 / 9; }
.collection__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.8s var(--ease);
}
.collection:hover .collection__img img { transform: scale(1.04); }

.collection__body {
  padding: clamp(20px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.collection__tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-2);
  font-weight: 500;
}
.collection__body h3 {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.collection__desc { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.collection__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(29, 24, 19, 0.15);
  margin-top: 8px;
}
.price { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); color: var(--ink); }
.collection__sku { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.collections__cta {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.collections__cta p { color: var(--muted); max-width: 560px; }

/* ============================================================
   Scenes
   ============================================================ */
.scenes { background: var(--ink); color: var(--bone); }
.scenes .eyebrow { color: var(--warm); }
.scenes .section__title { color: var(--bone); }
.scenes .section__title em { color: var(--warm); }
.scenes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.5vw, 24px);
}
.scene {
  position: relative;
  display: block;
  /* matches source 3:2 → no crop, OUTDOOR badge fully visible, furniture fully visible */
  aspect-ratio: 99 / 70;
  overflow: hidden;
  background: var(--ink-2);
}
.scene__img { position: absolute; inset: 0; }
.scene__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
  filter: brightness(0.7);
}
.scene:hover .scene__img img { transform: scale(1.05); filter: brightness(0.85); }
.scene__caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  color: var(--bone);
  transition: transform 0.4s var(--ease);
}
.scene:hover .scene__caption { transform: translateY(-6px); }
.scene__caption h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; margin-bottom: 8px; }
.scene__caption p { font-size: 13px; opacity: 0.78; line-height: 1.5; max-width: 28ch; }

/* ============================================================
   Service
   ============================================================ */
.service { background: var(--bone); }
.service__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service__steps li {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 0.3s var(--ease);
}
.service__steps li:hover { background: var(--sand); }
.service__num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--warm);
  line-height: 1;
  margin-bottom: 8px;
}
.service__steps h4 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; }
.service__steps p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ============================================================
   HoReCa — full-bleed background photo + typography overlay
   ============================================================ */
.horeca {
  background: var(--ink);
  color: var(--bone);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.horeca__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.horeca__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
.horeca__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* heavy dark on right side where text lives, smooth fade to keep photo visible left/center */
    linear-gradient(270deg,
      rgba(10, 8, 6, 0.92) 0%,
      rgba(10, 8, 6, 0.88) 20%,
      rgba(10, 8, 6, 0.70) 38%,
      rgba(10, 8, 6, 0.35) 55%,
      rgba(10, 8, 6, 0.10) 72%,
      transparent 90%),
    /* gentle bottom vignette */
    linear-gradient(180deg, transparent 60%, rgba(10, 8, 6, 0.30) 100%);
}
.horeca .container { position: relative; z-index: 2; width: 100%; }
.horeca__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(80px, 12vh, 140px) 0;
}
.horeca__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  max-width: 560px;
  margin-left: auto;
  /* keep the body inside the right (dark) half of the photo */
}
.horeca__body .eyebrow {
  color: rgba(245, 241, 234, 0.7);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.horeca__body h2 {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.04;
  color: #f8f3e8;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.horeca__body h2 em {
  color: #f5ecd6;
  font-style: italic;
}
.horeca__lead {
  color: rgba(245, 241, 234, 0.92);
  font-size: 16px;
  line-height: 1.6;
  max-width: 50ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}
.horeca__list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 12px 0;
}
.horeca__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: rgba(245, 241, 234, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.horeca__list li span { color: var(--warm); }
.horeca__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.horeca__cta .btn--primary { background: var(--bone); color: var(--ink); }
.horeca__cta .btn--primary:hover { background: var(--warm); color: var(--ink); }
.horeca__cta .btn--outline { color: var(--bone); border-color: rgba(245, 241, 234, 0.4); }
.horeca__cta .btn--outline:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bone); }
.faq__list { max-width: 880px; margin: 0 auto; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--warm-2);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary { color: var(--warm-2); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding-bottom: 28px;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.7;
}

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--sand); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact__body h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.02; margin-bottom: 24px; }
.contact__lead { color: var(--muted); margin-bottom: 40px; max-width: 50ch; }
.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact__lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--warm-2); margin-bottom: 8px; font-weight: 500; }
.contact__val { font-size: 15px; line-height: 1.5; color: var(--ink); }
.contact__val a:hover { color: var(--warm-2); }

.contact__form {
  background: var(--bone);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  background: transparent;
  font-size: 15px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 18px, calc(100% - 9px) 18px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; letter-spacing: normal; text-transform: none; color: var(--muted); cursor: pointer; line-height: 1.4; }
.check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); }
.form__note { grid-column: 1 / -1; text-align: left; font-size: 12px; color: var(--muted); margin-top: -4px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(56px, 7vw, 96px) 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-2);
}
.footer__brand p { font-size: 14px; color: var(--muted-2); max-width: 38ch; }
.footer__logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--bone);
}
.footer__logo-mark {
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--bone);
}
.footer__logo-mark svg {
  width: 100%; height: 100%;
  display: block;
}
.footer__lbl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__grid a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(245, 241, 234, 0.78);
}
.footer__grid a:hover { color: var(--bone); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12px;
  color: var(--muted-2);
}
.footer__bottom a:hover { color: var(--bone); }

/* Legal — реквизиты ИП мелким шрифтом */
.footer__legal {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 241, 234, 0.10);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(245, 241, 234, 0.46);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
@media (max-width: 720px) {
  .footer__legal { font-size: 11.5px; gap: 10px; }
  .footer__legal p { gap: 4px 14px; }
}
.footer__legal p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
}
.footer__legal span { white-space: nowrap; }
.footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(245, 241, 234, 0.20);
  text-underline-offset: 2px;
}
.footer__legal a:hover {
  color: rgba(245, 241, 234, 0.72);
  text-decoration-color: rgba(245, 241, 234, 0.5);
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal--in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .concept__grid { grid-template-columns: repeat(2, 1fr); }
  .scenes__grid { grid-template-columns: repeat(2, 1fr); }
  .service__steps { grid-template-columns: repeat(2, 1fr); }
  .featured__grid { grid-template-columns: 1fr; }
  .featured__card { flex-direction: row; }
  .featured__img { aspect-ratio: 1; flex: 0 0 45%; }
  .featured__body { flex: 1; }
  .collection { grid-column: span 6; }
  .collection--lg, .collection--wide { grid-column: span 12; grid-row: auto; }
  .collection--lg .collection__img { aspect-ratio: 99 / 70; }
  .horeca__body { max-width: 100%; margin-left: 0; }
  .horeca__bg-overlay {
    background:
      linear-gradient(180deg, transparent 30%, rgba(10, 8, 6, 0.50) 55%, rgba(10, 8, 6, 0.88) 80%, rgba(10, 8, 6, 0.95) 100%);
  }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Hide phone first when nav gets tight */
@media (max-width: 1180px) {
  .nav__phone { display: none; }
}
/* Hide menu items + show hamburger before nav wraps */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px var(--pad);
    background: var(--bone);
    border-bottom: 1px solid var(--line);
  }
  .nav__menu.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav__menu.is-open a:last-child { border: 0; }
  .nav__toggle { display: flex; }
}
@media (max-width: 720px) {
  .nav__actions .btn { display: none; }

  .hero { padding-bottom: 56px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .featured__card { flex-direction: column; }
  .featured__img { aspect-ratio: 4 / 3; flex: 1; }
  .collection { grid-column: span 12; }
  .concept__grid { grid-template-columns: 1fr; }
  .scenes__grid { grid-template-columns: 1fr; }
  .service__steps { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(15, 11, 8, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  padding: clamp(56px, 6vw, 96px) clamp(20px, 4vw, 80px);
}
.lightbox[hidden] { display: none !important; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lightbox__figure img { transform: scale(1); }
.lightbox__figure figcaption {
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 22px);
  text-align: center;
  letter-spacing: 0.02em;
  max-width: 60ch;
  font-style: italic;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(245, 241, 234, 0.08);
  color: var(--bone);
  border: 1px solid rgba(245, 241, 234, 0.2);
  border-radius: 50%;
  font-family: var(--serif);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  user-select: none;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(245, 241, 234, 0.18);
  border-color: rgba(245, 241, 234, 0.5);
  transform: scale(1.05);
}
.lightbox__close {
  top: clamp(16px, 2.5vw, 28px);
  right: clamp(16px, 2.5vw, 28px);
  width: 48px; height: 48px;
  font-size: 32px;
  line-height: 1;
  padding-bottom: 4px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 36px;
  line-height: 1;
}
.lightbox__nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__nav--prev { left: clamp(16px, 2.5vw, 32px); }
.lightbox__nav--next { right: clamp(16px, 2.5vw, 32px); }

/* Make image-containing cards visibly clickable */
.scene, .collection, .featured__card { cursor: zoom-in; }
.collection__img--ph,
.scene__img--ph + * { cursor: default; }

@media (max-width: 720px) {
  .lightbox__nav { width: 48px; height: 48px; font-size: 28px; }
  .lightbox__close { width: 48px; height: 48px; font-size: 28px; }
  .lightbox__figure figcaption { font-size: 14px; }
}

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

/* ============================================================
   Editorial placeholders (collection / scene cards)
   Swap with real photos: add <img> back into .collection__img
   ============================================================ */
.collection__img--ph,
.scene__img--ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: rgba(245, 241, 234, 0.94);
  overflow: hidden;
}
.collection__img--ph::before,
.scene__img--ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(circle at 78% 82%, rgba(0, 0, 0, 0.22), transparent 65%);
  pointer-events: none;
}

[data-tone="shadow"]     { background: linear-gradient(150deg, #2a201a 0%, #4a3a2e 60%, #1d1813 100%); }
[data-tone="clay"]       { background: linear-gradient(150deg, #7a4e34 0%, #b8845a 55%, #5a3621 100%); }
[data-tone="sand"]       { background: linear-gradient(150deg, #c9a87a 0%, #ded0b6 50%, #9a7a52 100%); color: #2a201a !important; }
[data-tone="bronze"]     { background: linear-gradient(150deg, #5a4128 0%, #8a6540 55%, #3a2818 100%); }
[data-tone="olive"]      { background: linear-gradient(150deg, #4f5236 0%, #7a7a52 50%, #2e2e1f 100%); }
[data-tone="warm"]       { background: linear-gradient(150deg, #8b5a3c 0%, #b8956a 50%, #5a3621 100%); }
[data-tone="terracotta"] { background: linear-gradient(150deg, #8b4530 0%, #c87555 50%, #5a2818 100%); }
[data-tone="coffee"]     { background: linear-gradient(150deg, #1d1813 0%, #3a2e22 50%, #100b08 100%); }

.collection__img--ph .ph__mark,
.scene__img--ph .ph__mark {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: inherit;
  position: relative;
  z-index: 1;
}
.collection__img--ph .ph__line {
  width: 60px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  position: relative;
  z-index: 1;
}
.collection__img--ph .ph__hint,
.scene__img--ph .ph__hint {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.65;
  position: relative;
  z-index: 1;
}

.scene__img--ph .scene__icon {
  width: clamp(56px, 6vw, 88px);
  height: clamp(56px, 6vw, 88px);
  color: rgba(245, 241, 234, 0.5);
  position: relative;
  z-index: 1;
  transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}
[data-tone="sand"] .scene__icon { color: rgba(29, 24, 19, 0.55); }
.scene:hover .scene__icon { transform: scale(1.08); color: var(--warm); }
.scene__img--ph { filter: brightness(0.92); }
.scene:hover .scene__img--ph { filter: brightness(1.05); }

/* HoReCa artistic block (no photo) */
.horeca__media--ph {
  background: linear-gradient(135deg, #2a201a 0%, #4a3528 50%, #1d1813 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.horeca__media--ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(184, 149, 106, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(184, 149, 106, 0.15) 0%, transparent 50%);
}
.horeca__art {
  position: relative;
  width: 64%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.horeca__art-line {
  position: absolute;
  border: 1px solid rgba(245, 241, 234, 0.2);
  border-radius: 50%;
}
.horeca__art-line:nth-child(1) { inset: 0; }
.horeca__art-line:nth-child(2) { inset: 12%; }
.horeca__art-line:nth-child(3) { inset: 24%; border-color: rgba(184, 149, 106, 0.5); }
.horeca__art-letter {
  position: relative;
  z-index: 2;
  font-size: clamp(120px, 18vw, 240px);
  color: var(--bone);
  line-height: 1;
  font-style: italic;
  background: linear-gradient(180deg, var(--bone) 0%, var(--warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
