/* ==========================================================================
   HY.DI — Юлия Харашкевич, дизайнер интерьера
   Design system: dark premium
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0c0c0b;
  --bg-alt: #131211;
  --bg-card: #171614;
  --bg-card-hover: #1c1b18;
  --line: rgba(245, 242, 235, 0.1);
  --line-strong: rgba(245, 242, 235, 0.2);
  --ink: #f4f1ea;
  --ink-soft: #cbc6ba;
  --ink-mute: #8c877c;
  --accent: #c8a45c;
  --accent-soft: #cbb994;
  --accent-dim: rgba(200, 164, 92, 0.14);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

  --container: 1720px;
  --gutter: clamp(20px, 5vw, 96px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #100f0d; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.005em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section {
  padding: clamp(64px, 10vw, 140px) 0;
  position: relative;
}
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 680px;
  margin-bottom: clamp(36px, 6vw, 72px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 17px; max-width: 560px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #14120d; }
.btn-primary:hover { background: var(--accent-soft); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(200,164,92,0.4); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-2px); }
.btn-sm { padding: 12px 22px; font-size: 11px; }

.text-link {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  padding-bottom: 4px;
  display: inline-block;
}
.text-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0.35); transform-origin: left;
  transition: transform 0.5s var(--ease);
  opacity: 0.5;
}
.text-link:hover::after { transform: scaleX(1); opacity: 1; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 12, 11, 0.86);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  border-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.06em;
}
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }
.header-phone:hover { color: var(--accent-soft); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  align-items: center; justify-content: center;
  color: var(--ink);
}

/* ---------- footer ---------- */
.site-footer {
  background: #090908;
  padding: 72px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--ink-mute); font-size: 14px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
  color: var(--ink-soft);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--ink-soft); font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-mute);
}
.footer-bottom p { margin: 0; max-width: 640px; line-height: 1.7; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #080807;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 2.2s ease, transform 8s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,7,0.35) 0%, rgba(8,8,7,0.35) 40%, rgba(8,8,7,0.92) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(56px, 8vw, 96px);
}
.hero-eyebrow {
  color: var(--accent-soft);
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(48px, 9vw, 118px);
  color: var(--ink);
  letter-spacing: 0.01em;
}
.hero h1 em { color: var(--accent-soft); font-style: italic; }
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-mute); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: ''; display: block; width: 1px; height: 60px; background: var(--line-strong);
  animation: scrollline 2.4s ease-in-out infinite;
}
@keyframes scrollline { 0%,100%{ transform: scaleY(0.4); opacity: .4;} 50%{ transform: scaleY(1); opacity: 1;} }

/* ---------- stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 40px var(--gutter);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 46px); color: var(--accent-soft); }
.stat .label { font-size: 13px; color: var(--ink-mute); margin-top: 8px; line-height: 1.5; }

/* ---------- about teaser / general two-col ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.split .media { position: relative; }
.split .media img { width: 100%; height: auto; border-radius: 2px; }
.split .media .frame {
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--line-strong);
  z-index: -1;
}
.split .media.media-sm { max-width: 75%; margin: 0 auto; }
.split .media.media-hover { overflow: hidden; border-radius: 2px; }
.split .media.media-hover img { transition: transform 1.1s var(--ease); }
.split .media.media-hover:hover img { transform: scale(1.06); }
.prose p { color: var(--ink-soft); font-size: 16px; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- facts grid ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fact-card {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  transition: background .4s var(--ease);
}
.fact-card:hover { background: var(--bg-card-hover); }
.fact-card .idx { font-family: var(--serif); font-size: 14px; color: var(--accent); margin-bottom: 16px; display: block; transition: color .4s var(--ease), transform .4s var(--ease); }
.fact-card:hover .idx { color: var(--accent-soft); transform: translateX(4px); }
.fact-card h3 { font-size: 21px; margin-bottom: 12px; }
.fact-card p { color: var(--ink-mute); font-size: 14.5px; margin: 0; }

/* ---------- portfolio grid ---------- */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  transition: all 0.3s;
  border-radius: 2px;
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink-soft); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #14120d; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-grid.wide { grid-template-columns: repeat(2, 1fr); }
.project-card { display: block; position: relative; }
.project-card .thumb {
  position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-card);
}
.project-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s;
  filter: saturate(0.92);
}
.project-card:hover .thumb img { transform: scale(1.08); filter: saturate(1.05); }
.project-card .thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,7,0) 40%, rgba(8,8,7,0.85) 100%);
  opacity: 0.75; transition: opacity .4s;
}
.project-card:hover .thumb::after { opacity: 0.92; }
.project-card .tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid rgba(245,242,235,0.35);
  color: var(--ink); backdrop-filter: blur(6px);
  background: rgba(12,12,11,0.35);
}
.project-card .info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 24px;
}
.project-card .info .loc { font-size: 12px; color: var(--accent-soft); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.project-card .info h3 { font-size: 24px; color: var(--ink); }
.project-card .info p { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: all .4s var(--ease); }
.project-card:hover .info p { max-height: 80px; opacity: 1; margin-top: 10px; }

/* ---------- testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.testi-card { background: var(--bg); padding: clamp(28px, 3vw, 38px); display: flex; flex-direction: column; }
.testi-card .quote-mark { font-family: var(--serif); font-size: 48px; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.testi-card p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.testi-card .name { margin-top: 20px; font-family: var(--serif); font-size: 18px; color: var(--ink); }

/* ---------- process / timeline ---------- */
.timeline { position: relative; }
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item .step-num { font-family: var(--serif); font-size: 42px; color: var(--accent); }
.timeline-item h3 { font-size: 23px; margin-bottom: 10px; }
.timeline-item .badge {
  display: inline-block; margin-left: 12px; vertical-align: middle;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft);
  border: 1px solid var(--accent-dim); padding: 4px 10px; border-radius: 2px;
}
.timeline-item p { color: var(--ink-soft); font-size: 15px; max-width: 700px; }

.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle-card { background: var(--bg); padding: clamp(28px,3vw,40px); }
.principle-card .mark { width: 44px; height: 44px; border: 1px solid var(--accent-dim); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent); font-family: var(--serif); font-size: 18px; }
.principle-card h3 { font-size: 19px; margin-bottom: 10px; }
.principle-card p { color: var(--ink-mute); font-size: 14.5px; margin: 0; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  border: 1px solid var(--line); padding: 32px 26px; background: var(--bg-card);
  display: flex; flex-direction: column; transition: border-color .4s, transform .4s var(--ease);
}
.price-card:hover { border-color: var(--accent-dim); transform: translateY(-6px); }
.price-card h3 { font-size: 21px; margin-bottom: 4px; }
.price-card .duration { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase; }
.price-card .price { font-family: var(--serif); font-size: 30px; color: var(--accent-soft); margin: 18px 0; }
.price-card .price span { font-size: 13px; color: var(--ink-mute); font-family: var(--sans); }
.price-card p.desc { color: var(--ink-soft); font-size: 13.5px; flex: 1; margin: 0 0 24px; }
.price-card .perk { font-size: 12.5px; color: var(--accent-soft); margin-bottom: 20px; }

.addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.addon-card {
  border: 1px solid var(--line); padding: 30px; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
  transition: border-color .4s;
}
.addon-card:hover { border-color: var(--accent-dim); }
.addon-card h3 { font-size: 20px; margin-bottom: 8px; }
.addon-card .meta { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.addon-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.addon-card .price { font-family: var(--serif); font-size: 24px; color: var(--accent-soft); white-space: nowrap; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px; font-family: var(--serif); font-size: clamp(18px, 2vw, 22px);
}
.faq-q .plus { font-size: 24px; color: var(--accent); transition: transform .4s var(--ease); flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; color: var(--ink-soft); font-size: 15px; max-width: 760px; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { border: 1px solid var(--line); padding: 30px; transition: border-color .4s, transform .4s var(--ease); display: flex; flex-direction: column; min-height: 220px; }
.blog-card:hover { border-color: var(--accent-dim); transform: translateY(-6px); }
.blog-card h3 { font-size: 20px; margin-bottom: 12px; }
.blog-card p { color: var(--ink-mute); font-size: 13.5px; flex: 1; margin: 0 0 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(0.85) brightness(0.55); }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,7,0.55), rgba(8,8,7,0.9)); z-index: 1; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(32px, 5vw, 56px); max-width: 720px; margin: 0 auto 26px; }
.cta-band p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- page header (interior pages) ---------- */
.page-head {
  padding: clamp(150px, 20vw, 210px) 0 clamp(50px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-head.compact {
  padding: clamp(100px, 13vw, 130px) 0 24px;
  border-bottom: none;
}
.page-head h1 { font-size: clamp(38px, 6vw, 68px); margin-top: 14px; }
.section-notop { padding-top: 0 !important; }
.breadcrumb { font-size: 12px; color: var(--ink-mute); letter-spacing: .05em; margin-top: 20px; }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--accent-soft); }

/* ---------- project detail ---------- */
.project-hero { position: relative; height: 76vh; min-height: 460px; overflow: hidden; }
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,8,7,0.15) 0%, rgba(8,8,7,0.95) 100%); }
.project-hero-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 var(--gutter) 56px; }
.project-title { color: var(--ink); font-size: clamp(44px, 8vw, 108px); margin-top: 14px; line-height: 1.02; }
.project-meta { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 26px; }
.project-meta .m-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); margin-bottom: 4px; }
.project-meta .m-val { font-family: var(--serif); font-size: 19px; color: var(--ink-soft); }

.project-body { padding: clamp(56px, 8vw, 100px) 0; }
.project-lede { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 27px); color: var(--ink-soft); max-width: 820px; margin-bottom: 20px; }
.project-text p { color: var(--ink-soft); font-size: 16px; max-width: 820px; margin: 0 0 20px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
  margin: 48px 0;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.gallery a { display: block; overflow: hidden; position: relative; }
.gallery a::after { content:''; position:absolute; inset:0; background: rgba(200,164,92,0); transition: background .4s; }
.gallery a:hover::after { background: rgba(200,164,92,0.08); }
.gallery a img { transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery .g-2 { grid-column: span 2; }
.gallery .g-3 { grid-column: span 3; }
.gallery .g-4 { grid-column: span 4; }
.gallery .g-6 { grid-column: span 6; }
.gallery .g-tall { grid-row: span 2; }

.project-photos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin: 8px 0 56px;
}
.project-photos a { display: block; overflow: hidden; position: relative; border-radius: 2px; }
.project-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-photos a::after { content:''; position:absolute; inset:0; background: rgba(200,164,92,0); transition: background .4s; }
.project-photos a:hover::after { background: rgba(200,164,92,0.08); }
.project-photos a:hover img { transform: scale(1.05); }
.project-photos .pp-full { grid-column: 1 / -1; aspect-ratio: 16 / 6.56; }
.project-photos .pp-a { grid-column: span 5; aspect-ratio: 5 / 4.2; }
.project-photos .pp-b { grid-column: span 7; aspect-ratio: 7 / 4.2; }

.project-body-grid { display: grid; grid-template-columns: minmax(0, 860px) 360px; gap: 48px; align-items: start; }
.project-body-grid.no-quote { grid-template-columns: 1fr; }

.project-quote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 30px;
  margin: 4px 0 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 1.6vw, 23px);
  color: var(--ink);
}
.project-quote cite { display:block; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-mute); margin-top: 14px; letter-spacing: .04em; }

.project-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--line); margin-top: 40px;
  gap: 20px; flex-wrap: wrap;
}
.project-nav a { font-size: 13px; color: var(--ink-soft); }
.project-nav a:hover { color: var(--accent-soft); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(8,8,7,0.96);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 2px; }
.lightbox-close {
  position: absolute; top: 24px; right: var(--gutter);
  width: 44px; height: 44px; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); background: transparent; font-size: 20px;
}

/* ---------- reveal (disabled: content shows immediately, no scroll-triggered fade-in) ---------- */

/* ---------- mobile CTA bar ---------- */
.mobile-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid, .principles-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .project-photos .pp-a, .project-photos .pp-b { grid-column: span 6; aspect-ratio: 4 / 2.88; }
  .project-body-grid { grid-template-columns: 1fr; gap: 28px; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .project-photos { grid-template-columns: 1fr; gap: 14px; }
  .project-photos .pp-full, .project-photos .pp-a, .project-photos .pp-b { grid-column: 1 / -1; aspect-ratio: 4 / 2.72; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .project-grid.wide, .project-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery .g-3, .gallery .g-4, .gallery .g-6 { grid-column: span 2; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    background: rgba(12,12,11,0.92); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 12px var(--gutter);
    gap: 12px;
  }
  .mobile-cta .btn { flex: 1; justify-content: center; }
  body { padding-bottom: 66px; }
}
@media (max-width: 560px) {
  .footer-bottom { flex-direction: column; }
}

/* ---------- mobile nav drawer ---------- */
.nav-drawer {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 100px var(--gutter) 40px;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a { font-family: var(--serif); font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav-drawer .drawer-close {
  position: absolute; top: 22px; right: var(--gutter);
  width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: none; color: var(--ink); font-size: 20px;
}
