/* ===================================================
   МУРТАЗИН v9 — Живопись маслом
   Палитра: тёплый холст, золото, бордо, тёмный охр
   =================================================== */

/* ---------- TOKENS ---------- */
:root {
  --cream:        #f5edd8;
  --cream-light:  #fdf8ef;
  --dark:         #110c03;
  --dark-2:       #1c1508;
  --gold:         #c8841c;
  --gold-light:   #e4a83e;
  --gold-pale:    #f0d8a8;
  --crimson:      #8b1f30;
  --teal:         #1b4d5a;
  --text:         #1c1408;
  --text-muted:   #7a6240;
  --border:       rgba(28, 20, 8, 0.14);
  --border-gold:  rgba(200, 132, 28, 0.28);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.64, 0, 0.78, 0);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed; z-index: 9999; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear, width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
  mix-blend-mode: multiply;
}
.cursor-dot {
  position: fixed; z-index: 9999; top: 0; left: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.cursor.is-hover { width: 56px; height: 56px; background: rgba(200,132,28,0.08); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.preloader.is-done {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.preloader__brush {
  color: var(--gold);
  width: 120px;
}
.brush-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: brushDraw 1.2s var(--ease-out) forwards;
}
@keyframes brushDraw {
  to { stroke-dashoffset: 0; }
}
.preloader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.preloader__name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--cream);
}
.preloader__line {
  width: 200px; height: 1px; background: rgba(255,255,255,0.12); overflow: hidden;
}
.preloader__fill {
  display: block; height: 100%; background: var(--gold);
  width: 0; transition: width 0.1s linear;
}
.preloader__count {
  font-family: var(--font-serif); font-size: 1rem; color: var(--gold-pale);
  letter-spacing: 0.1em;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(245, 237, 216, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
}
.nav__logo-abbr {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.06em;
}
.nav__logo-full {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 400;
  color: var(--text); opacity: 0.7;
}
.nav__links {
  display: flex; align-items: center; gap: 36px;
}
.nav__links a {
  font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  background: var(--gold); color: #fff !important;
  padding: 9px 20px; border-radius: 2px;
  font-weight: 500;
  transition: background 0.25s !important;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--gold-light) !important; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; padding: 4px;
}
.nav__burger span {
  display: block; height: 1.5px; background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- FULLSCREEN MENU ---------- */
.fullmenu {
  position: fixed; inset: 0; z-index: 800;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.fullmenu__bg {
  position: absolute; inset: 0;
  background: var(--dark-2);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.6s var(--ease-out);
}
.fullmenu.is-open { pointer-events: all; }
.fullmenu.is-open .fullmenu__bg { transform: scaleY(1); }
.fullmenu__close {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 40px; height: 40px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
  opacity: 0; transition: opacity 0.3s 0.3s;
}
.fullmenu.is-open .fullmenu__close { opacity: 1; }
.fullmenu__close span {
  display: block; width: 24px; height: 1.5px; background: var(--cream);
}
.fullmenu__close span:first-child { transform: rotate(45deg) translate(1px, 1px); }
.fullmenu__close span:last-child  { transform: rotate(-45deg) translate(1px, -1px); }
.fullmenu__nav {
  position: relative; z-index: 2;
  margin: auto; padding: 80px 48px;
  display: flex; flex-direction: column; gap: 8px;
}
.fullmenu__link {
  display: flex; align-items: baseline; gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.fullmenu.is-open .fullmenu__link {
  opacity: 1; transform: none;
  transition-delay: calc(0.2s + var(--i) * 0.07s);
}
.fullmenu__num {
  font-family: var(--font-sans); font-size: 0.75rem;
  color: var(--gold); letter-spacing: 0.1em;
}
.fullmenu__title {
  font-family: var(--font-serif); font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300; color: var(--cream);
  transition: color 0.25s, letter-spacing 0.25s;
}
.fullmenu__link:hover .fullmenu__title { color: var(--gold-light); letter-spacing: 0.04em; }
.fullmenu__foot {
  position: relative; z-index: 2;
  display: flex; gap: 32px;
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0; transition: opacity 0.3s 0.5s;
}
.fullmenu.is-open .fullmenu__foot { opacity: 1; }
.fullmenu__foot a {
  font-size: 0.8125rem; color: rgba(245,237,216,0.6);
  transition: color 0.25s;
}
.fullmenu__foot a:hover { color: var(--cream); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 13px 28px; border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-light); }

.btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--outline {
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--border-gold);
}
.btn--outline:hover { background: var(--gold); color: #fff; }

.btn--large { padding: 16px 36px; font-size: 0.9375rem; }

/* ---------- REVEAL ANIMATION ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- SECTION COMMON ---------- */
.section-num {
  display: block;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400; line-height: 1.1;
  color: var(--text);
}
.section-title em {
  font-style: italic; color: var(--crimson);
}
.section-lead {
  font-size: 1.0625rem; line-height: 1.65;
  color: var(--text-muted); max-width: 560px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
  padding: 0 80px 48px;
}
.section-head--center {
  flex-direction: column; align-items: center; text-align: center;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 80px 80px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(200,132,28,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero__left { max-width: 560px; }
.hero__tag {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 6px 14px; border-radius: 1px;
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 400; line-height: 1.05;
  margin-bottom: 28px;
  overflow: hidden;
}
.hero__title-row {
  display: block;
  opacity: 0; transform: translateY(100%);
  animation: revealUp 0.9s var(--ease-out) forwards;
}
.hero__title-row:nth-child(1) { animation-delay: 0.1s; }
.hero__title-row:nth-child(2) { animation-delay: 0.25s; }
.hero__title-row:nth-child(3) { animation-delay: 0.4s; }
.hero__title-row--ital { font-style: italic; color: var(--crimson); }
@keyframes revealUp {
  to { opacity: 1; transform: none; }
}
.hero__lead {
  font-size: 1.0625rem; line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 440px;
  opacity: 0; animation: fadeIn 0.7s var(--ease-out) 0.6s forwards;
}
.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 52px;
  opacity: 0; animation: fadeIn 0.7s var(--ease-out) 0.75s forwards;
}
.hero__stats {
  display: flex; gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  opacity: 0; animation: fadeIn 0.7s var(--ease-out) 0.9s forwards;
}
.hero__stat { display: flex; flex-direction: column; gap: 2px; }
.hero__stat strong {
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400;
  color: var(--gold);
}
.hero__stat span {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Hero right / painting */
.hero__right {
  display: flex; justify-content: center;
  opacity: 0; animation: slideIn 1s var(--ease-out) 0.3s forwards;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}
.hero__painting {
  position: relative; will-change: transform;
  transition: transform 0.6s var(--ease-out);
}
.hero__frame {
  position: relative;
  border: 10px solid #e8ddc8;
  box-shadow:
    8px 8px 0 0 rgba(200,132,28,0.15),
    0 40px 80px rgba(17,12,3,0.25),
    inset 0 0 0 2px rgba(200,132,28,0.2);
  max-width: 480px;
}
.hero__frame img {
  display: block; width: 100%; aspect-ratio: 1;
  object-fit: cover;
}
.hero__painting figcaption {
  font-size: 0.75rem; color: var(--text-muted); text-align: center;
  margin-top: 14px; letter-spacing: 0.04em;
  font-style: italic;
}

.hero__scroll-hint {
  position: absolute; bottom: 32px; left: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 0.7s var(--ease-out) 1.4s forwards;
}
.hero__scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero__scroll-hint span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.7); opacity: 0.5; }
}

/* ---------- TICKER ---------- */
.ticker {
  background: var(--dark-2);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ticker__track {
  display: flex; gap: 0; white-space: nowrap;
  animation: tickerMove 30s linear infinite;
}
.ticker__track span {
  font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,237,216,0.6);
  padding: 0 24px;
}
.ticker__track .sep { color: var(--gold); padding: 0 8px; }
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- GALLERY SECTION ---------- */
.gallery-section {
  padding: 100px 0 80px;
  background: var(--cream-light);
}
.gallery-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.filter {
  font-size: 0.8125rem; letter-spacing: 0.06em;
  padding: 7px 16px; border-radius: 1px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.25s;
}
.filter:hover, .filter.active {
  background: var(--dark); color: var(--cream); border-color: var(--dark);
}
.filter.active {
  background: var(--gold); border-color: var(--gold); color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 4px;
  padding: 0 4px;
}
.gitem {
  overflow: hidden; cursor: pointer;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.gitem.is-hidden { display: none; }
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }
.gitem__link { display: block; width: 100%; height: 100%; }
.gitem__fig {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
}
.gitem__fig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.gitem:hover .gitem__fig img { transform: scale(1.06); }
.gitem__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,12,3,0.85) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 0; transition: opacity 0.3s;
}
.gitem:hover .gitem__overlay { opacity: 1; }
.gitem__name {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400;
  color: var(--cream); line-height: 1.2;
}
.gitem__size {
  font-size: 0.75rem; color: rgba(245,237,216,0.65); margin-top: 4px;
  letter-spacing: 0.04em;
}

.gallery-more {
  text-align: center; padding: 56px 80px 0;
}

/* ---------- FEATURED ---------- */
.featured {
  background: var(--dark);
  padding: 100px 80px;
}
.featured__inner {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.featured__fig {
  overflow: hidden; border-radius: 2px;
  will-change: transform;
}
.featured__fig img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.4s var(--ease-out);
}
.featured__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300; font-style: italic;
  line-height: 1.35;
  color: var(--cream);
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}
.featured__meta {
  color: rgba(245,237,216,0.6);
  font-size: 0.9rem; line-height: 1.7;
  margin-bottom: 36px;
}
.featured__meta p + p { margin-top: 10px; }
.featured__text .section-num { margin-bottom: 24px; }

/* ---------- CATEGORIES ---------- */
.categories {
  padding: 100px 0 80px;
  background: var(--cream);
}
.categories .section-head { padding-bottom: 56px; }
.categories__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 2px;
}
.catcard {
  display: flex; flex-direction: column;
  overflow: hidden; cursor: pointer;
  background: var(--cream-light);
  transition: transform 0.3s var(--ease-out);
}
.catcard:hover { z-index: 2; }
.catcard__img {
  height: 260px; overflow: hidden;
}
.catcard__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.catcard:hover .catcard__img img { transform: scale(1.06); }
.catcard__body {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
  border: 1px solid var(--border);
  border-top: none;
  transition: background 0.3s, border-color 0.3s;
}
.catcard:hover .catcard__body { background: var(--gold-pale); border-color: var(--border-gold); }
.catcard__num {
  font-size: 0.75rem; color: var(--gold); letter-spacing: 0.12em;
}
.catcard__body h3 {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500;
}
.catcard__body p {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; flex: 1;
}
.catcard__arrow {
  align-self: flex-end;
  font-size: 1.1rem; color: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.catcard:hover .catcard__arrow { transform: translateX(4px); }

.catcard--dark {
  background: var(--dark-2);
}
.catcard--dark .catcard__body { border-color: rgba(255,255,255,0.08); background: transparent; }
.catcard--dark:hover .catcard__body { background: rgba(200,132,28,0.1); }
.catcard__body--centered {
  justify-content: center; align-items: flex-start; min-height: 260px;
}
.catcard__plus {
  font-size: 2.5rem; color: var(--gold); line-height: 1;
  margin-bottom: 8px;
}
.catcard--dark .catcard__body h3 { color: var(--cream); }
.catcard--dark .catcard__body p { color: rgba(245,237,216,0.55); }
.catcard--dark .catcard__arrow { color: var(--gold); }

/* ---------- ABOUT ---------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 700px;
  background: var(--cream-light);
}
.about__media {
  position: relative; overflow: hidden;
  will-change: transform;
}
.about__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.4s var(--ease-out);
}
.about__media-cap {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  font-size: 0.75rem; color: rgba(245,237,216,0.8);
  font-style: italic; letter-spacing: 0.04em;
  background: rgba(17,12,3,0.5); backdrop-filter: blur(4px);
  padding: 8px 12px; border-radius: 1px;
}
.about__content {
  padding: 80px 72px;
  display: flex; flex-direction: column; gap: 24px;
  justify-content: center;
}
.about__bio p {
  font-size: 1rem; line-height: 1.7; color: var(--text-muted);
}
.about__bio p + p { margin-top: 14px; }
.about__awards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.about__awards div { display: flex; flex-direction: column; gap: 2px; }
.about__awards dt {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold); font-weight: 500;
}
.about__awards dd { font-size: 0.875rem; color: var(--text); }

/* ---------- HOW TO BUY ---------- */
.how {
  padding: 100px 80px;
  background: var(--dark);
}
.how .section-head { padding: 0 0 64px; }
.how .section-title { color: var(--cream); }
.how .section-num { color: var(--gold-pale); opacity: 0.7; }
.how .section-lead { color: rgba(245,237,216,0.55); }
.how__steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.how__step {
  padding: 40px 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 20px;
  transition: background 0.3s;
}
.how__step:hover { background: rgba(200,132,28,0.08); }
.how__num {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 300;
  color: var(--gold); line-height: 1;
  opacity: 0.4;
}
.how__step:hover .how__num { opacity: 0.8; }
.how__body h3 {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500;
  color: var(--cream); margin-bottom: 10px;
}
.how__body p {
  font-size: 0.875rem; line-height: 1.65;
  color: rgba(245,237,216,0.5);
}
.how__step:hover .how__body p { color: rgba(245,237,216,0.7); }

/* ---------- CONTACT ---------- */
.contact {
  position: relative; overflow: hidden;
  background: var(--cream);
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact__decor {
  position: absolute; right: -60px; top: -60px;
  width: 420px; opacity: 0.07;
  pointer-events: none;
  transform: rotate(12deg);
}
.contact__decor img { width: 100%; }
.contact__inner {
  grid-column: 1 / -1;
  max-width: 900px;
  position: relative; z-index: 1;
}
.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.05;
  display: flex; flex-direction: column;
  gap: 0;
  margin: 16px 0 24px;
}
.contact__title em {
  font-style: italic; color: var(--crimson);
}
.contact__lead {
  font-size: 1.0625rem; line-height: 1.65;
  color: var(--text-muted); max-width: 520px;
  margin-bottom: 48px;
}
.contact__form {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 680px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
}
.form-field label span { font-style: italic; text-transform: none; letter-spacing: 0; }
.form-field input,
.form-field textarea {
  background: var(--cream-light); border: 1.5px solid var(--border);
  color: var(--text); font: inherit; font-size: 1rem;
  padding: 12px 16px; border-radius: 1px;
  outline: none; resize: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,132,28,0.1);
}
.form-submit {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 8px;
}
.btn-sent { display: none; }
.contact__form.is-sent .btn-default { display: none; }
.contact__form.is-sent .btn-sent { display: inline; }
.contact__form.is-sent .btn--gold { background: #3a7a3a; }
.form-note {
  font-size: 0.8125rem; color: var(--text-muted);
}
.contact__alt {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.contact__link-group {
  display: flex; flex-direction: column; gap: 6px;
}
.contact__link-group span {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
}
.contact__link-group a {
  font-size: 1rem; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.25s, color 0.25s;
  padding-bottom: 1px;
}
.contact__link-group a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- FORM STATES ---------- */
.form-success {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 32px 36px;
  background: rgba(200,132,28,0.08);
  border: 1.5px solid var(--border-gold);
  border-radius: 2px;
  max-width: 680px;
  margin-bottom: 32px;
}
.form-success__icon { font-size: 1.5rem; color: var(--gold); }
.form-success strong { font-size: 1.1rem; font-family: var(--font-serif); color: var(--text); }
.form-success p { font-size: 0.9rem; color: var(--text-muted); }

.form-error {
  padding: 14px 20px;
  background: rgba(139,31,48,0.08);
  border: 1px solid rgba(139,31,48,0.25);
  color: var(--crimson);
  font-size: 0.875rem;
  border-radius: 2px;
  max-width: 680px;
  margin-bottom: 16px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-2);
  padding: 64px 80px 32px;
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer__logo {
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400;
  color: var(--gold); display: block; margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.footer__brand p {
  font-size: 0.875rem; line-height: 1.65;
  color: rgba(245,237,216,0.45);
}
.footer__col {
  display: flex; flex-direction: column; gap: 10px;
}
.footer__label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 4px;
}
.footer__col a, .footer__col span {
  font-size: 0.875rem; color: rgba(245,237,216,0.5);
  transition: color 0.25s;
}
.footer__col a:hover { color: var(--cream); }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: rgba(245,237,216,0.3);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .hero { padding: 100px 48px 80px; gap: 40px; }
  .section-head { padding: 0 48px 48px; }
  .gallery-section { padding: 80px 0; }
  .featured { padding: 80px 48px; }
  .categories { padding: 80px 0; }
  .about__content { padding: 60px 48px; }
  .how { padding: 80px 48px; }
  .contact { padding: 80px 48px; }
  .footer { padding: 48px 48px 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gitem--wide { grid-column: span 1; }
  .how__steps { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { height: 400px; }
  .featured__inner { grid-template-columns: 1fr; gap: 48px; }
  .categories__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 90px 24px 60px; gap: 40px; }
  .hero__right { order: -1; }
  .hero__frame { max-width: 100%; }
  .hero__scroll-hint { left: 24px; }
  .section-head { padding: 0 24px 36px; flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; padding: 0; }
  .gitem--tall { grid-row: span 1; }
  .how__steps { grid-template-columns: 1fr; }
  .categories__grid { grid-template-columns: 1fr; }
  .featured { padding: 60px 24px; }
  .about__content { padding: 40px 24px; }
  .how { padding: 60px 24px; }
  .contact { padding: 60px 24px; }
  .footer { padding: 40px 24px 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .nav__logo-full { display: none; }
}
@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 16px; }
  .hero__actions { flex-direction: column; }
  .gallery-more { padding: 36px 24px 0; }
}

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