/* =========================================================
   Aura — Beauty & Care · EDITORIAL LUXE
   Тепла палітра: вівсяний папір · графіт · палена сієна · золото.
   Асиметрія, гігантські номери, marquee, hover-peek, соц-конверсія.
   ========================================================= */

:root {
  /* --- Палітра (перевизначається з Customizer) --- */
  --paper:      #f4eee3;   /* вівсяний папір (фон) */
  --paper-2:    #ebe1d1;   /* глибший папір */
  --card:       #fbf8f1;   /* картка/поверхня */
  --ink:        #1b1714;   /* графіт (текст) */
  --ink-2:      #6c6259;   /* приглушений */
  --line:       #ddd1bd;   /* лінії */
  --accent:     #c1623c;   /* палена сієна (акцент) */
  --accent-deep:#9f4a29;   /* насичена сієна (hover) */
  --gold:       #b18b52;   /* золото/латунь */
  --white:      #ffffff;

  /* --- Типографіка --- */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-ui:      'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Простір / радіуси --- */
  --container: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 11vw, 160px);
  --r: 4px;                 /* майже прямі кути — редакційність */
  --r-lg: 8px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 80px -30px rgba(27,23,20,.35);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Тонка зерниста текстура для «паперу» */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(3rem, 11vw, 9rem); }
h2 { font-size: clamp(2.4rem, 7vw, 5.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
em, .italic { font-style: italic; }
h1 .em, h2 .em, h3 .em { font-style: italic; color: var(--accent); }

::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* =========================================================
   Layout
   ========================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }
.section { padding-block: var(--section-y); position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

/* Мітка-очко / eyebrow */
.tag {
  font-family: var(--font-ui); font-weight: 500; font-size: .74rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: .8em;
}
.tag::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.tag--plain::before { display: none; }

/* Гігантський номер секції */
.index-head { display: flex; align-items: flex-start; gap: clamp(1rem, 3vw, 3rem); margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.index-head__num {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 6rem); line-height: .8; color: var(--accent);
  -webkit-text-stroke: 1px var(--accent); color: transparent; opacity: .9;
  flex: none;
}
.index-head__body { flex: 1; }
.index-head .tag { margin-bottom: 1rem; }
.index-head h2 { max-width: 15ch; }
.index-head__aside { max-width: 34ch; color: var(--ink-2); align-self: flex-end; padding-bottom: .4rem; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink-2); line-height: 1.5; }

/* =========================================================
   Marquee (бігучий рядок)
   ========================================================= */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); background: var(--paper); }
.marquee--ink { background: var(--ink); color: var(--paper); border-color: rgba(255,255,255,.14); }
.marquee--accent { background: var(--accent); color: var(--paper); border: 0; }
.marquee__track { display: inline-flex; align-items: center; gap: 2.5rem; padding-block: .9rem; animation: marquee 32s linear infinite; }
.marquee--fast .marquee__track { animation-duration: 20s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  display: inline-flex; align-items: center; gap: 2.5rem;
}
.marquee__item::after { content: "✦"; font-size: .7em; font-style: normal; color: var(--accent); }
.marquee--accent .marquee__item::after, .marquee--ink .marquee__item::after { color: currentColor; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Buttons / links
   ========================================================= */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: 1.05em 2em; font-family: var(--font-ui); font-weight: 500; font-size: .9rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--fg);
  background: var(--bg); border: 1px solid var(--ink); border-radius: 999px;
  overflow: hidden; transition: color .4s var(--ease), border-color .4s var(--ease);
  isolation: isolate; will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { color: var(--paper); border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }
.btn--outline { --bg: transparent; --fg: var(--ink); }
.btn--accent { --bg: var(--accent); --fg: var(--paper); border-color: var(--accent); }
.btn--accent::before { background: var(--ink); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); border-color: var(--paper); }
.btn--paper::before { background: var(--accent); }
.btn--paper:hover { color: var(--paper); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.2em 2.4em; font-size: .95rem; }

/* Підкреслення, що малюється */
.ulink { position: relative; display: inline-block; font-weight: 500; }
.ulink::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.ulink:hover::after { transform: scaleX(1); transform-origin: left; }

/* Кругла кнопка-стрілка */
.circle-btn {
  width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--ink);
  display: grid; place-items: center; background: transparent; flex: none;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.circle-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); transform: rotate(45deg); }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-block: 1.3rem; transition: padding .4s var(--ease);
}
.site-header.is-scrolled .header__inner { padding-block: .8rem; }
.site-header.is-scrolled { background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.brand img { max-height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a { font-family: var(--font-ui); font-weight: 500; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.nav__menu a span { position: relative; }
.nav__menu a span::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__menu a:hover span::after, .nav__menu .current-menu-item > a span::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 13px; width: 20px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   Social rail (фіксований — конверсія)
   ========================================================= */
.social-rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 55; display: grid; gap: .7rem; }
.social-rail::after { content: ""; display: block; width: 1px; height: 60px; background: var(--line); margin: .4rem auto 0; }
.social-rail a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.social-rail a:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); transform: translateX(-4px); }
@media (max-width: 1100px) { .social-rail { display: none; } }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding-top: clamp(120px, 16vw, 190px); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; position: relative; }
.hero__title { position: relative; z-index: 3; }
.hero__title h1 { font-weight: 300; }
.hero__title h1 .em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero__title .outline { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }

.hero__meta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.hero__intro { max-width: 40ch; }
.hero__intro .lead { margin-bottom: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Медіа-блок: прозора рамка, що накладається й трохи повернута */
.hero__media {
  position: relative; margin-top: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1rem, 2vw, 1.8rem); align-items: end;
}
.hero__frame {
  position: relative; aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(255,255,255,.28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  overflow: hidden; display: grid; place-items: center;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame--tall { aspect-ratio: 3/4; transform: translateY(-8%) rotate(2deg); }
.hero__frame-ph { text-align: center; color: var(--ink-2); padding: 1.5rem; display: grid; gap: .5rem; place-items: center; }
.hero__frame-ph svg { color: var(--accent); }

.hero__ticker { margin-top: clamp(2.5rem, 5vw, 4rem); }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero__stat { padding: 1.5rem 0; border-right: 1px solid var(--line); }
.hero__stat:last-child { border-right: 0; }
.hero__stat b { font-family: var(--font-display); font-style: italic; font-size: clamp(2.2rem, 4vw, 3.4rem); display: block; line-height: 1; }
.hero__stat span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hero__badge { position: absolute; z-index: 4; top: clamp(110px, 15vw, 175px); right: var(--gutter); font-family: var(--font-ui); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); writing-mode: vertical-rl; }

/* =========================================================
   Services — редакційний список з hover-peek
   ========================================================= */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem); padding: clamp(1.4rem, 3vw, 2.6rem) 0;
  width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  -webkit-appearance: none; appearance: none; overflow: hidden;
  transition: padding-left .5s var(--ease), color .4s var(--ease);
}
.svc-row:hover { padding-left: clamp(.5rem, 2vw, 2rem); }
.svc-row::before { content: ""; position: absolute; left: -100%; top: 0; width: 100%; height: 100%; background: var(--accent); opacity: .06; transition: left .5s var(--ease); z-index: -1; }
.svc-row:hover::before { left: 0; }
.svc-row__num { font-family: var(--font-ui); font-size: .8rem; color: var(--ink-2); letter-spacing: .1em; }
.svc-row__name { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1; transition: transform .4s var(--ease); }
.svc-row:hover .svc-row__name { color: var(--accent); }
.svc-row__name em { font-style: italic; }
.svc-row__desc { max-width: 30ch; color: var(--ink-2); font-size: .92rem; }
.svc-row__price { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); white-space: nowrap; }
.svc-row__go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.svc-row:hover .svc-row__go { background: var(--accent); border-color: var(--accent); color: var(--paper); transform: rotate(-45deg); }
@media (max-width: 780px) {
  .svc-row { grid-template-columns: auto 1fr auto; }
  .svc-row__desc { display: none; }
}

/* Плаваюче прев'ю, що слідує за курсором */
.peek { position: fixed; top: 0; left: 0; width: 260px; height: 320px; z-index: 40; pointer-events: none; opacity: 0; border-radius: var(--r); overflow: hidden; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s var(--ease), transform .35s var(--ease); box-shadow: var(--shadow); }
.peek.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .peek { display: none; } }

/* =========================================================
   Pricing — офсетні картки
   ========================================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); align-items: start; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.8rem, 3vw, 2.8rem); }
.price-card--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-24px); }
.price-card--feature .price-card__list li { border-color: rgba(255,255,255,.16); }
.price-card__tag { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; display: block; }
.price-card h3 { font-size: 1.9rem; margin-bottom: 1rem; }
.price-card__amt { font-family: var(--font-display); font-style: italic; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; }
.price-card__amt span { font-family: var(--font-ui); font-style: normal; font-size: .9rem; color: var(--ink-2); letter-spacing: .04em; }
.price-card--feature .price-card__amt span { color: rgba(244,238,227,.7); }
.price-card__note { color: var(--ink-2); font-size: .9rem; margin: .6rem 0 1.6rem; }
.price-card--feature .price-card__note { color: rgba(244,238,227,.7); }
.price-card__list { margin-bottom: 2rem; }
.price-card__list li { padding: .8rem 0; border-top: 1px solid var(--line); font-size: .95rem; display: flex; gap: .7rem; }
.price-card__list li::before { content: "→"; color: var(--accent); }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } .price-card--feature { transform: none; } }

/* Прайс-рядки */
.price-lines { border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 4rem); }
.price-line { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.price-line__name { font-family: var(--font-display); font-size: 1.4rem; }
.price-line__dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.price-line__dur { font-size: .82rem; color: var(--ink-2); }
.price-line__val { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; white-space: nowrap; }

/* =========================================================
   Masters — колаж зі зміщенням
   ========================================================= */
.masters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.master { position: relative; }
.master:nth-child(even) { transform: translateY(clamp(20px, 5vw, 60px)); }
.master__photo { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--r); background: var(--paper-2); filter: grayscale(1) contrast(1.02); transition: filter .5s var(--ease); }
.master:hover .master__photo { filter: grayscale(0); }
.master__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.master:hover .master__photo img { transform: scale(1.05); }
.master__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent); }
.master__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.master h3 { font-size: 1.5rem; }
.master__role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: .3rem; }
.master__exp { font-size: .8rem; color: var(--ink-2); margin-top: .2rem; }
.master__social { display: flex; gap: .5rem; }
.master__social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .35s var(--ease), color .35s var(--ease); }
.master__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
@media (max-width: 900px) { .masters-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .masters-grid { grid-template-columns: 1fr; } .master:nth-child(even) { transform: none; } }

/* =========================================================
   SOCIAL — секція конверсії в соцмережі
   ========================================================= */
.social-sec { position: relative; }
.social-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.social-hero h2 .em { font-style: italic; color: var(--accent); }
.social-handle { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--accent); display: inline-block; margin: 1rem 0; }
.social-counts { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; margin-top: 1.5rem; }
.social-count b { font-family: var(--font-display); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.6rem); display: block; line-height: 1; }
.social-count span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.social-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Instagram bento */
.ig-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.5rem, 1vw, .9rem); }
.ig-tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--paper-2); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile__ov { position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); background: rgba(27,23,20,.35); opacity: 0; transition: opacity .35s var(--ease); }
.ig-tile:hover .ig-tile__ov { opacity: 1; }
.ig-tile--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.ig-tile--tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.ig-tile__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent); }
@media (max-width: 900px) { .social-hero { grid-template-columns: 1fr; } .ig-bento { grid-template-columns: repeat(3, 1fr); } .ig-tile--wide, .ig-tile--tall { grid-column: auto; grid-row: auto; aspect-ratio: 1; } }

/* =========================================================
   Reviews — великі pull-quote
   ========================================================= */
.review-slider { position: relative; }
.review-quote { text-align: center; max-width: 900px; margin: 0 auto; }
.review-quote__mark { font-family: var(--font-display); font-size: 6rem; line-height: .4; color: var(--accent); display: block; }
.review-quote p { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.15; margin: 1.5rem auto; max-width: 18em; }
.review-quote__author { font-family: var(--font-ui); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.review-quote__author span { color: var(--ink-2); }
.review-stars { color: var(--accent); letter-spacing: .3em; margin-bottom: 1rem; }
.review-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 3rem; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-huge { text-align: center; }
.cta-huge h2 { font-size: clamp(2.6rem, 9vw, 7rem); font-weight: 300; }
.cta-huge h2 .em { font-style: italic; color: var(--accent); }
.cta-huge p { color: var(--ink-2); max-width: 46ch; margin: 1.5rem auto 2.5rem; }

/* =========================================================
   Contacts
   ========================================================= */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.contact-block { display: grid; gap: 1.6rem; }
.contact-line { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.contact-line b { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: .3rem; }
.contact-line a, .contact-line p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.contact-line a:hover { color: var(--accent); }
.contact-map { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-height: 300px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.contact-map-ph { min-height: 300px; display: grid; place-items: center; background: var(--paper-2); color: var(--accent); text-align: center; padding: 2rem; }
@media (max-width: 860px) { .contacts-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Forms
   ========================================================= */
.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.field label { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95em 0; font-family: var(--font-ui); font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: .5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--ink-2); margin: .6rem 0 1.4rem; }
.form-consent input { width: auto; accent-color: var(--accent); margin-top: .2rem; }
.form-note { font-size: .9rem; padding: .9em 1.1em; border-radius: var(--r); margin-top: 1rem; display: none; }
.form-note.is-error { display: block; background: #f7e2da; color: var(--accent-deep); }
.form-note.is-success { display: block; background: var(--ink); color: var(--paper); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--accent); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   Modal
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(27,23,20,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s var(--ease); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__dialog { position: relative; z-index: 1; width: min(600px, 94vw); max-height: 92vh; overflow: auto; margin: 4vh auto; background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow); transform: translateY(30px); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 1.1rem; right: 1.1rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease); }
.modal__close:hover { transform: rotate(90deg); background: var(--accent); border-color: var(--accent); color: var(--paper); }
.modal__head { margin-bottom: 1.8rem; }
.modal__head h3 { font-size: clamp(2rem, 5vw, 2.8rem); margin: .4rem 0; }
.modal__head p { color: var(--ink-2); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__about { color: rgba(244,238,227,.7); max-width: 32ch; margin-top: 1rem; }
.footer__col h4 { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,238,227,.5); margin-bottom: 1.2rem; }
.footer__col ul { display: grid; gap: .8rem; }
.footer__col a { color: rgba(244,238,227,.85); }
.footer__col a:hover { color: var(--accent); }
.footer__social-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.footer__social-cta a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.footer__social-cta a:hover { background: var(--accent); border-color: var(--accent); }
.footer__wordmark { font-family: var(--font-display); font-weight: 300; font-size: clamp(4rem, 22vw, 20rem); line-height: .8; letter-spacing: -.03em; padding: clamp(1.5rem, 3vw, 3rem) 0; white-space: nowrap; }
.footer__wordmark .em { font-style: italic; color: var(--accent); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: rgba(244,238,227,.6); flex-wrap: wrap; }
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; gap: 1.8rem; } }

/* Мобільний соц-бар */
.msocial { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; background: var(--ink); color: var(--paper); }
.msocial__inner { display: flex; }
.msocial a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.14); }
.msocial a:last-child { border-right: 0; }
.msocial a.is-accent { background: var(--accent); }
@media (max-width: 700px) { .msocial { display: block; } body { padding-bottom: 52px; } .hero__badge { display: none; } }

/* =========================================================
   Blog / generic
   ========================================================= */
.page-hero { padding-top: clamp(140px, 18vw, 220px); padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-hero h1 { font-weight: 300; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.post-card { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.post-card__media { aspect-ratio: 3/2; overflow: hidden; border-radius: var(--r); margin-bottom: 1.2rem; background: var(--paper-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .5rem; }
.post-card h3 { font-size: 1.6rem; margin-bottom: .6rem; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }

.entry-content { max-width: 720px; margin-inline: auto; font-size: 1.1rem; }
.entry-content > * + * { margin-top: 1.3rem; }
.entry-content h2, .entry-content h3 { margin-top: 2.2rem; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 2px solid var(--accent); padding-left: 1.4rem; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; }
.breadcrumbs { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.breadcrumbs a:hover { color: var(--accent); }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3.5rem; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; font-weight: 500; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =========================================================
   Utils
   ========================================================= */
.spinner { width: 20px; height: 20px; border: 2px solid rgba(244,238,227,.4); border-top-color: var(--paper); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }

/* Split-reveal для великих заголовків */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-visible .reveal-line > span { transform: none; }
.reveal-line:nth-child(2) > span { transition-delay: .08s; }
.reveal-line:nth-child(3) > span { transition-delay: .16s; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .8em 1.2em; z-index: 200; }
.skip-link:focus { left: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
figcaption, .wp-caption-text { font-size: .8rem; color: var(--ink-2); text-align: center; margin-top: .5rem; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* Responsive nav */
@media (max-width: 900px) {
  .nav__menu, .nav > .btn { display: none; }
  .nav-toggle { display: block; }
  .nav__menu { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--paper); z-index: 70; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: 3rem; box-shadow: var(--shadow); transform: translateX(100%); transition: transform .5s var(--ease); display: flex; }
  body.nav-open .nav__menu { transform: none; }
  .nav__menu a { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.01em; text-transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .reveal-line > span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
}
