/* ============================================================
   Pamyatniki — premium minimal catalog
   ============================================================ */

:root {
  --paper:      oklch(0.965 0.006 80);
  --paper-2:    oklch(0.945 0.007 80);
  --surface:    #ffffff;
  --ink:        oklch(0.18 0.004 270);
  --ink-2:      oklch(0.32 0.004 270);
  --ink-muted:  oklch(0.50 0.005 270);
  --ink-soft:   oklch(0.66 0.004 270);
  --line:       oklch(0.88 0.006 80);
  --line-2:     oklch(0.82 0.006 80);
  --stone:      oklch(0.80 0.005 80);
  --stone-2:    oklch(0.72 0.005 80);
  --stone-3:    oklch(0.55 0.005 270);
  --stone-4:    oklch(0.32 0.004 270);
  --accent:     oklch(0.42 0.030 60);
  --accent-2:   oklch(0.52 0.035 60);

  --shadow-1:   0 1px 0 oklch(0.9 0.006 80);
  --shadow-2:   0 24px 60px -28px oklch(0.2 0.01 270 / 0.18);

  --container:  1320px;

  --ease:       cubic-bezier(.2, .6, .2, 1);

  --t-fast:     .35s;
  --t-med:      .75s;
  --t-slow:     1.2s;
  --t-x:        1.8s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

/* ---- Typography utilities ---- */

.serif {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.hairline {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ============================================================
   Top utility bar
   ============================================================ */

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-muted);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 32px;
}
.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar__item--strong { color: var(--ink); font-weight: 500; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ============================================================
   Header
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 92px;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.logo__mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.logo__sub {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
}

.nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  white-space: nowrap;
}
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.header__phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  padding: 12px 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 110px 0 130px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;
}
.hero__copy { max-width: 640px; }
.hero__eyebrow { margin-bottom: 36px; display: inline-flex; align-items: center; gap: 14px; }
.hero__eyebrow .line { width: 32px; height: 1px; background: var(--ink-muted); }

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 36px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
}
.hero__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 0 44px;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 520px;
}
.hero__meta .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.hero__meta .lbl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__visual {
  position: relative;
  height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero__plate {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.hero__plate--tall { grid-row: span 2; align-self: stretch; }
.hero__plate--short { align-self: end; height: 260px; }
.hero__plate--label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   Section heading
   ============================================================ */

.section { padding: 130px 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--tight { padding: 90px 0; }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}
.section__head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 24px 0 0;
  color: inherit;
}
.section__head h2 em {
  font-style: italic;
  color: var(--ink-muted);
}
.section--ink .section__head h2 em { color: oklch(0.7 0.005 80); }
.section__head p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
  max-width: 460px;
}
.section--ink .section__head p { color: oklch(0.75 0.006 80); }

/* ============================================================
   Catalog
   ============================================================ */

.catalog {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 110px;
}
.filters__group { margin-bottom: 38px; }
.filters__title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 18px;
}
.filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.filters__btn {
  background: transparent;
  border: 0;
  padding: 8px 0;
  text-align: left;
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.filters__btn:hover { color: var(--ink); }
.filters__btn .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
}
.filters__btn[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 500;
}
.filters__btn[aria-pressed="true"]::before {
  content: "—";
  color: var(--accent);
  margin-right: 8px;
}

.filters__range {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.filters__range input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}
.filters__range input:focus { outline: none; border-color: var(--ink); }

.filters__reset {
  margin-top: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12px;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.filters__reset:hover { color: var(--ink); }

/* --- Grid --- */
.catalog__main {}

.catalog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-muted);
}
.catalog__bar .count strong {
  color: var(--ink);
  font-weight: 500;
}
.sort {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.sort select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  font: inherit;
  color: var(--ink);
  padding: 4px 22px 4px 6px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.sort select:focus { outline: none; }

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

.card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-4px); }
.card__media {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.card__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform var(--t-x) var(--ease);
  will-change: transform;
}
.card:hover .card__media svg { transform: scale(1.045); }
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, oklch(0.25 0.005 270 / 0.08));
  pointer-events: none;
}
.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  z-index: 2;
}
.card__code {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  z-index: 2;
}

.card__body {
  padding-top: 20px;
}
.card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
  color: var(--ink);
}
.card__meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.card__meta span { display: inline-flex; }
.card__meta .sep { color: var(--line-2); }
.card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.card__price .currency { color: var(--ink-muted); font-size: 16px; margin-left: 2px; }
.card__more {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast) var(--ease), gap var(--t-med) var(--ease);
}
.card__more::after {
  content: "→";
  transition: transform var(--t-med) var(--ease);
}
.card:hover .card__more {
  color: var(--ink);
}
.card:hover .card__more::after { transform: translateX(4px); }

.catalog__loadmore {
  margin-top: 80px;
  text-align: center;
}
.catalog__loadmore button {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 16px 42px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.catalog__loadmore button:hover { background: var(--ink); color: var(--paper); }
.catalog__empty {
  padding: 80px 0;
  text-align: center;
  color: var(--ink-muted);
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-style: italic;
}

/* ============================================================
   Process (steps)
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--paper);
  padding: 44px 36px 52px;
  position: relative;
}
.step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 36px;
}
.step__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  color: var(--ink);
}
.step__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}

/* ============================================================
   Materials
   ============================================================ */

.materials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.material {
  display: flex;
  flex-direction: column;
}
.material__swatch {
  aspect-ratio: 1 / 1;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.material__swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 25%, oklch(1 0 0 / 0.10), transparent 55%),
              radial-gradient(ellipse at 70% 80%, oklch(0 0 0 / 0.12), transparent 60%);
  mix-blend-mode: overlay;
}
.material__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 6px;
}
.material__origin {
  font-size: 12px;
  color: oklch(0.75 0.006 80);
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}
.material__props {
  font-size: 12px;
  color: oklch(0.7 0.006 80);
  line-height: 1.7;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid oklch(0.32 0.005 270);
}
.material__props span { display: block; }

/* ============================================================
   Services
   ============================================================ */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service {
  background: var(--paper);
  padding: 50px 40px;
}
.service__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 28px;
}
.service__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.service__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 26px;
}
.service__price {
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.service__price strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-right: 6px;
}

/* ============================================================
   Quote / commitment
   ============================================================ */

.quote {
  padding: 130px 0;
  text-align: center;
}
.quote blockquote {
  margin: 0 auto;
  max-width: 880px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.quote .attr {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============================================================
   Contact / request
   ============================================================ */

.request {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.request__info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.request__info p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 0 40px;
  max-width: 440px;
}
.request__contacts {
  display: grid;
  gap: 28px;
}
.req-line {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.req-line .lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.req-line .val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 48px;
  display: grid;
  gap: 22px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--t-med) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 88px; }
.form__submit {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 18px 24px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.form__submit:hover { background: transparent; color: var(--ink); }
.form__note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--ink);
  color: oklch(0.72 0.006 80);
  padding: 90px 0 50px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid oklch(0.28 0.005 270);
}
.footer .logo__mark { border-color: oklch(0.7 0.006 80); color: oklch(0.92 0.006 80); }
.footer .logo__name { color: oklch(0.92 0.006 80); }
.footer .logo__sub { color: oklch(0.6 0.006 80); }
.footer__about {
  font-size: 14px;
  line-height: 1.7;
  color: oklch(0.7 0.006 80);
  margin: 30px 0 0;
  max-width: 380px;
}
.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(0.92 0.006 80);
  margin: 0 0 22px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: oklch(0.72 0.006 80); font-size: 14px; transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 12px;
  color: oklch(0.55 0.005 270);
}

/* ============================================================
   Modal — product detail
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.modal[aria-hidden="false"] { display: block; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.15 0.004 270 / 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.modal[aria-hidden="false"] .modal__backdrop { opacity: 1; }
.modal__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(900px, 92vw);
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateX(60px);
  opacity: 0;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-med) var(--ease);
  overflow: auto;
}
.modal[aria-hidden="false"] .modal__panel { transform: translateX(0); opacity: 1; }
.modal__media {
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  position: relative;
  min-height: 100vh;
}
.modal__media svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--paper);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.modal__close:hover { background: var(--ink); color: var(--paper); }
.modal__body {
  padding: 70px 56px;
}
.modal__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.modal__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.modal__lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 0 36px;
}
.modal__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.spec:nth-child(odd) { padding-right: 18px; }
.spec:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.spec .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.spec .v { font-family: 'Cormorant Garamond', serif; font-size: 19px; color: var(--ink); }

.modal__price {
  margin-top: 36px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.modal__price .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.modal__price .num .currency { color: var(--ink-muted); font-size: 26px; margin-left: 4px; }
.modal__price .term { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }

.modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.modal__actions .btn-ghost { flex: 1; text-align: center; }
.modal__actions .btn-solid {
  flex: 1;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 12px 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.modal__actions .btn-solid:hover { background: transparent; color: var(--ink); }

/* ============================================================
   Reveal animations — unhurried, presentational
   Default state is visible. JS adds .reveal-ready only when the
   page is actually showing; otherwise content stays put.
   ============================================================ */

.reveal-ready {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1600ms var(--ease),
    transform 1600ms var(--ease),
    clip-path 1800ms var(--ease),
    filter 1600ms var(--ease);
}
.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-ready[data-delay="1"] { transition-delay: 120ms; }
.reveal-ready[data-delay="2"] { transition-delay: 260ms; }
.reveal-ready[data-delay="3"] { transition-delay: 400ms; }
.reveal-ready[data-delay="4"] { transition-delay: 540ms; }
.reveal-ready[data-delay="5"] { transition-delay: 680ms; }

/* Image / panel mask reveal — slow bottom-to-top clip */
.reveal-ready[data-reveal="mask"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
}
.reveal-ready[data-reveal="mask"].is-visible {
  clip-path: inset(0 0 0 0);
}

/* Soft blur-in for atmospheric reveal */
.reveal-ready[data-reveal="soft"] {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
}
.reveal-ready[data-reveal="soft"].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Word-by-word headline reveal — split by JS into .word spans */
.split .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
}
.split .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1400ms var(--ease);
}
.split.is-visible .word > span {
  transform: translateY(0);
}
/* per-word stagger */
.split.is-visible .word:nth-child(1)  > span { transition-delay:  40ms; }
.split.is-visible .word:nth-child(2)  > span { transition-delay: 140ms; }
.split.is-visible .word:nth-child(3)  > span { transition-delay: 240ms; }
.split.is-visible .word:nth-child(4)  > span { transition-delay: 340ms; }
.split.is-visible .word:nth-child(5)  > span { transition-delay: 440ms; }
.split.is-visible .word:nth-child(6)  > span { transition-delay: 540ms; }
.split.is-visible .word:nth-child(7)  > span { transition-delay: 640ms; }
.split.is-visible .word:nth-child(8)  > span { transition-delay: 740ms; }
.split.is-visible .word:nth-child(9)  > span { transition-delay: 840ms; }
.split.is-visible .word:nth-child(10) > span { transition-delay: 940ms; }

/* Drawn hairline under section eyebrows */
.eyebrow {
  position: relative;
}

/* Catalog card stagger — set inline via JS, but a default cascade is nice */
.card.reveal-ready { transition-duration: 1500ms; }

/* Gentle continuous float on hero plates */
@media (prefers-reduced-motion: no-preference) {
  .hero__plate--tall  { animation: float-a 11s ease-in-out infinite; }
  .hero__plate--short:nth-of-type(2) { animation: float-b 13s ease-in-out infinite; }
  .hero__plate--short:nth-of-type(3) { animation: float-c 12s ease-in-out infinite 1.5s; }
}
@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes float-c {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Slow continuous breath on monument SVGs inside cards (very subtle) */
@media (prefers-reduced-motion: no-preference) {
  .card__media svg { animation: breathe 14s ease-in-out infinite; }
  .card:nth-child(2n) .card__media svg { animation-delay: -3s; }
  .card:nth-child(3n) .card__media svg { animation-delay: -6s; }
  .card:nth-child(5n) .card__media svg { animation-delay: -9s; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.012); }
}

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

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1180px) {
  .header__phone { display: none; }
  .nav { gap: 24px; }
}
@media (max-width: 1100px) {
  .container { padding: 0 28px; }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { height: 420px; }
  .header__cta .btn-ghost { display: none; }
  .header__inner { grid-template-columns: auto 1fr; gap: 32px; }
  .nav { justify-content: flex-end; }
  .catalog { grid-template-columns: 200px 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .materials { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .request { grid-template-columns: 1fr; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .topbar__left .topbar__item:not(:first-child) { display: none; }
  .nav { display: none; }
  .header__inner { grid-template-columns: 1fr auto; height: 76px; }
  .header__cta .btn-ghost { display: none; }
  .hero { padding: 70px 0 80px; }
  .hero__meta { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 80px 0; }
  .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .materials { grid-template-columns: 1fr; }
  .form { padding: 28px; }
  .form .row { grid-template-columns: 1fr; }
}
