:root {
  --bg: #F4F1EC;
  --bg-soft: #EBE6DE;
  --ink: #141414;
  --muted: #6B6560;
  --line: rgba(20, 20, 20, 0.1);
  --white: #FFFCFA;
  --accent: #8B7355;
  --shell: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Outfit, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: 500 14px/1 Outfit, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(20, 20, 20, 0.22);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(20, 20, 20, 0.04); }

.placeholder-note {
  display: inline;
  padding: 2px 8px;
  border-radius: 6px;
  background: #F3E2A4;
  color: #5C4A12;
  font-weight: 500;
  font-size: 0.95em;
}
p.placeholder-note,
.strip-note {
  display: block;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 12px 16px;
  line-height: 1.45;
}

.text-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid rgba(20,20,20,0.25);
  padding-bottom: 2px;
}
.text-link:hover { border-color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 236, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--ink);
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 450;
  color: var(--muted);
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.nav a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-actions .btn {
  padding: 12px 16px;
  font-size: 13px;
  min-height: 44px;
  white-space: nowrap;
}
.header-actions .btn-ghost {
  padding: 12px 14px;
}
.phone {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin-inline: auto;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: calc(100vh - 72px);
  width: 100%;
  margin: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 8% 72px max(32px, calc((100vw - var(--shell)) / 2));
}

.hero h1 {
  font-size: clamp(64px, 9vw, 112px);
  margin-bottom: 28px;
}

.hero-lead {
  max-width: 420px;
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
.hero-note a {
  color: var(--ink);
  border-bottom: 1px solid rgba(20,20,20,0.25);
}

.hero-portrait {
  position: relative;
  background: #1c1a18;
  overflow: hidden;
  min-height: 560px;
  align-self: stretch;
  margin-left: -1px;
  box-shadow: -2px 0 0 #1c1a18;
}
.hero-portrait img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 10%;
  filter: none;
  animation: rise 1.2s ease both;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  max-width: calc(100% - 56px);
  display: grid;
  gap: 4px;
  color: rgba(255,252,250,0.92);
  background: rgba(20,20,20,0.55);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 16px;
  box-sizing: border-box;
}
.hero-caption span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E7D1A2;
}
.hero-caption strong {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Strip */
.strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
}
.strip-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.strip-grid strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 6px;
}
.strip-grid span {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section { padding: 112px 0; }
.section-muted { background: var(--bg-soft); }

.section-intro {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-intro h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 18px;
}
.section-intro p:last-child {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}
.steps article {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.steps span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 28px;
}
.steps h3 {
  font-size: 28px;
  margin-bottom: 12px;
}
.steps p {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
}

/* Two directions, row by row */
.cmp-head,
.cmp-row {
  display: grid;
  grid-template-columns: 132px 1fr 1fr;
  column-gap: 0;
  align-items: start;
}
.cmp-head {
  position: sticky;
  top: 72px;
  z-index: 3;
  background: var(--bg);
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--ink);
}
.cmp-head h3 {
  font-size: clamp(28px, 3vw, 40px);
  padding: 0 28px;
}
.cmp-head h3:last-child,
.cmp-row > p:last-child {
  border-left: 1px solid var(--line);
}
.cmp-row {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.cmp-row > p:not(.cmp-label) {
  padding: 0 28px;
  color: var(--muted);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
}
.cmp-label {
  padding-top: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.cmp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 28px;
}

/* About */
.about-copy {
  max-width: 720px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.about-visual {
  overflow: hidden;
  border-radius: 28px;
  min-height: 520px;
}
.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.about-copy h2 {
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 18px;
}
.about-copy > p {
  color: var(--muted);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 640px;
}
.about-copy > p.meet-note a {
  color: var(--ink);
  border-bottom: 1px solid rgba(20,20,20,0.25);
}
.about-copy .meet-label {
  margin-top: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.meet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 16px;
}
.meet-links a {
  font-size: 15px;
  border-bottom: 1px solid rgba(20,20,20,0.25);
}
.meet-note {
  color: var(--muted);
  font-weight: 300;
  font-size: 15px;
  max-width: 460px;
}

/* Values — editorial rows, not cards */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.values article {
  background: transparent;
  border-radius: 0;
  padding: 0;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  min-height: 0;
}
.values h3 {
  font-size: 30px;
  margin-bottom: 14px;
}
.values p {
  color: var(--muted);
  font-weight: 300;
}

/* Objects */
.obj-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.objects .section-intro { margin-bottom: 36px; }
.obj-table th {
  text-align: left;
  vertical-align: middle;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
}
.obj-table td {
  vertical-align: top;
  padding: 28px 20px 28px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.obj-table td:first-child {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.obj-table th:nth-child(1),
.obj-table td:nth-child(1) { width: 24%; }
.obj-table th:nth-child(2),
.obj-table td:nth-child(2) { width: 36%; }
.obj-table th:nth-child(3),
.obj-table td:nth-child(3) { width: 24%; }
.obj-table th:last-child,
.obj-table td:last-child {
  padding-right: 0;
  width: 16%;
  color: var(--muted);
}
.obj-note {
  margin-top: 28px;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
}
.obj-more {
  margin-top: 22px;
}

/* Formats — image + text, без «карточной» коробки */
.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.formats-one {
  grid-template-columns: minmax(0, 420px);
}
.formats article {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.formats img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}
.formats div { padding: 18px 2px 0; }
.formats h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.formats p {
  color: var(--muted);
  font-weight: 300;
}

/* Media */
.media {
  background: var(--ink);
  color: rgba(255,252,250,0.72);
}
.media .eyebrow { color: #C4A882; }
.media h2 { color: var(--white); font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
}
.media-grid > .reveal > p {
  max-width: 460px;
  font-weight: 300;
  margin-bottom: 28px;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.socials a {
  min-width: 112px;
  text-align: center;
  padding: 14px 18px;
  border: 1px solid rgba(255,252,250,0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.socials a:hover {
  border-color: #C4A882;
  color: #C4A882;
}
.media-panel {
  border: 1px solid rgba(255,252,250,0.12);
  border-radius: 28px;
  padding: 36px 32px;
  background: rgba(255,252,250,0.03);
}
.media-panel > p {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C4A882;
  margin-bottom: 24px;
}
.media-panel li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,252,250,0.08);
  font-weight: 300;
}
.media-panel li:last-child { border-bottom: 0; }

/* FAQ */
.faq-shell { max-width: 760px; }
.faq-group { margin-top: 2rem; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  padding: 18px 40px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: Outfit, sans-serif;
  font-size: 22px;
  color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  color: var(--muted);
  font-weight: 300;
  padding-bottom: 18px;
  max-width: 560px;
}

/* Contact */
.contact-panel {
  background: var(--white);
  border-radius: 32px;
  padding: 56px;
  max-width: 820px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 16px;
}
.contact-lead {
  color: var(--muted);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 28px;
}
.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.contact-actions .btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
}
.contact-disclaimer {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 560px;
}

/* Footer */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.footer-grid strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}
.footer-grid p,
.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 300;
}
.footer-grid a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* Privacy page */
.privacy-page {
  padding: 72px 0 112px;
}
.privacy-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}
.privacy-page .lede {
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 560px;
}
.privacy-page h2 {
  font-size: 28px;
  margin: 32px 0 12px;
}
.privacy-page p,
.privacy-page li {
  color: var(--muted);
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 12px;
}
.privacy-page ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    justify-content: flex-start;
  }
  .burger { display: flex; }
}

@media (max-width: 980px) {
  .shell { width: calc(100% - 40px); }
  .hero,
  .about-grid,
  .media-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 32px 24px; }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .meet-links { flex-direction: column; }
  .hero-copy {
    padding: 48px 24px 32px;
    order: 2;
  }
  .hero-portrait {
    min-height: 520px;
    height: min(70vh, 640px);
    order: 1;
  }
  .hero-portrait img { object-position: center 8%; }
  .hero-caption {
    left: 20px;
    bottom: 20px;
    max-width: calc(100% - 40px);
  }
  .strip-grid,
  .strip-grid-3,
  .steps,
  .steps-3,
  .values,
  .formats { grid-template-columns: 1fr 1fr; }
  .formats-one { grid-template-columns: 1fr; }
  .cmp-head,
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-label { grid-column: 1 / -1; margin-bottom: 8px; }
  .cmp-head .cmp-label { display: none; }
  .cmp-head h3,
  .cmp-row > p:not(.cmp-label) { padding: 0 16px; }
  .header-actions .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .strip-grid,
  .strip-grid-3,
  .steps,
  .steps-3,
  .values,
  .formats,
  .formats-one,
  .contact-actions,
  .footer-grid { grid-template-columns: 1fr; }
  .obj-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  .obj-table,
  .obj-table tbody,
  .obj-table tr,
  .obj-table td {
    display: block;
    width: 100%;
  }
  .obj-table tr {
    padding: 22px 0 6px;
    border-bottom: 1px solid var(--line);
  }
  .obj-table th:nth-child(1),
  .obj-table td:nth-child(1),
  .obj-table th:nth-child(2),
  .obj-table td:nth-child(2),
  .obj-table th:nth-child(3),
  .obj-table td:nth-child(3),
  .obj-table th:last-child,
  .obj-table td:last-child {
    width: 100%;
    max-width: none;
    border-bottom: 0;
    padding: 0 0 16px;
  }
  .obj-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-family: Outfit, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .hero h1 { font-size: 64px; }
  .phone { font-size: 13px; }
  .hero-caption strong { white-space: normal; }
}
