/* ============================================================================
   ФИЛИПОВ & БЕЛЕВА — Адвокатска кантора
   Premium dark editorial design · v2
   ============================================================================ */

:root {
  --bg: #0b0d10;
  --bg-2: #0f1318;
  --bg-3: #141a21;
  --panel: #171d26;
  --ivory: #f4efe6;
  --ivory-dim: #cfc9bd;
  --muted: #8b8fa0;
  --muted-2: #6b7180;
  --gold: #c5a465;
  --gold-bright: #dcc08a;
  --gold-deep: #a8874a;
  --hairline: rgba(244, 239, 230, .08);
  --hairline-2: rgba(244, 239, 230, .14);

  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;

  --w: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-2: cubic-bezier(.65, .05, 0, 1);
}

/* ------------------------------- Base ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: #0b0d10; }

.wrap { width: min(100% - var(--gutter) * 2, var(--w)); margin-inline: auto; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }

/* Section label — small caps over hairline */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold);
}
.label::before,
.label::after { content: ""; width: 44px; height: 1px; background: var(--gold); opacity: .8; }

.h-xl { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.06; }
.h-lg { font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.1; }
.h-md { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; }
.italic { font-style: italic; color: var(--gold-bright); }

section { position: relative; }
.section-pad { padding: clamp(90px, 11vw, 170px) 0; }

/* ----------------------------- Preloader -------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transition: transform 1s var(--ease-2), visibility 1s;
}
.preloader.done { transform: translateY(-100%); visibility: hidden; }
.preloader img { width: 88px; opacity: 0; animation: pre-fade 1.1s var(--ease) .1s forwards; }
.preloader .pre-name {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.9rem); letter-spacing: .34em;
  text-transform: uppercase; color: var(--ivory);
  opacity: 0; animation: pre-fade 1.1s var(--ease) .35s forwards;
}
.preloader .pre-name .amp { color: var(--gold); font-style: italic; }
.preloader .pre-bar { width: min(320px, 60vw); height: 1px; background: var(--hairline-2); overflow: hidden; }
.preloader .pre-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s linear; }
@keyframes pre-fade { to { opacity: 1; } }

/* --------------------------- Scroll progress ----------------------------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); z-index: 300; }

/* ---------------------------- Custom cursor ------------------------------ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; background: var(--gold-bright); transform: translate(-50%, -50%); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(197, 164, 101, .55);
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s, background .3s;
  display: grid; place-items: center;
}
.cursor-ring .cursor-txt { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #0b0d10; opacity: 0; font-weight: 700; }
body.cursor-hover .cursor-ring { width: 64px; height: 64px; border-color: var(--gold); background: rgba(197,164,101,.12); }
body.cursor-view .cursor-ring { width: 84px; height: 84px; background: var(--gold); border-color: var(--gold); }
body.cursor-view .cursor-ring .cursor-txt { opacity: 1; }
body.cursor-view .cursor-dot { opacity: 0; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ------------------------------- Header ---------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: transform .55s var(--ease), background .45s, border-color .45s, padding .45s;
  border-bottom: 1px solid transparent;
  padding: 26px 0;
}
.header.glass {
  background: rgba(11, 13, 16, .72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--hairline);
  padding: 14px 0;
}
.header.hidden { transform: translateY(-110%); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header .brand { display: flex; align-items: center; gap: 14px; }
.header .brand img { height: 44px; width: auto; }
.header .brand .brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.header .brand .brand-name { font-family: var(--serif); font-size: 1.06rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); white-space: nowrap; }
.header .brand .brand-name .amp { color: var(--gold); font-style: italic; }
.header .brand .brand-sub { font-size: .6rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.menu { display: flex; align-items: center; gap: 34px; }
.menu > a {
  position: relative; font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ivory-dim); padding: 6px 0; transition: color .3s;
}
.menu > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.menu > a:hover, .menu > a.active { color: var(--ivory); }
.menu > a:hover::after, .menu > a.active::after { transform: scaleX(1); transform-origin: left; }

.header-right { display: flex; align-items: center; gap: 20px; }

/* language */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; color: var(--ivory-dim);
  padding: 8px 2px; transition: color .3s;
}
.lang-btn:hover { color: var(--gold); }
.lang-btn svg { width: 12px; height: 12px; transition: transform .3s; }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-drop {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 168px;
  background: var(--panel); border: 1px solid var(--hairline-2);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: .3s var(--ease);
}
.lang.open .lang-drop { opacity: 1; visibility: visible; transform: none; }
.lang-drop a { display: block; padding: 10px 14px; font-size: .82rem; letter-spacing: .06em; color: var(--ivory-dim); transition: .25s; }
.lang-drop a:hover { background: rgba(197,164,101,.1); color: var(--gold-bright); padding-left: 18px; }
.lang-drop a.on { color: var(--gold); }

/* header cta */
.btn-line {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ivory); padding: 13px 26px; border: 1px solid var(--hairline-2);
  overflow: hidden; transition: color .45s var(--ease), border-color .45s;
}
.btn-line::before {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform: translateY(101%); transition: transform .5s var(--ease);
  z-index: 0;
}
.btn-line span, .btn-line svg { position: relative; z-index: 1; }
.btn-line svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.btn-line:hover { color: #0b0d10; border-color: var(--gold); }
.btn-line:hover::before { transform: translateY(0); }
.btn-line:hover svg { transform: translateX(5px); }
.btn-gold-solid {
  background: var(--gold); color: #0b0d10; border-color: var(--gold);
}
.btn-gold-solid::before { background: var(--ivory); }
.btn-gold-solid:hover { border-color: var(--ivory); }

/* burger */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 260; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ivory); transition: .4s var(--ease); }
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 22px; }
.burger i:nth-child(3) { top: 28px; }
.burger.x i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.x i:nth-child(2) { opacity: 0; }
.burger.x i:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile nav */
.m-nav {
  position: fixed; inset: 0; z-index: 250; background: rgba(11,13,16,.98);
  display: flex; flex-direction: column; justify-content: center; padding: 0 8vw;
  clip-path: circle(0 at calc(100% - 48px) 44px); transition: clip-path .8s var(--ease-2);
  visibility: hidden;
}
.m-nav.open { clip-path: circle(150% at calc(100% - 48px) 44px); visibility: visible; }
.m-nav a.m-link {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 3.2rem); color: var(--ivory);
  padding: 10px 0; border-bottom: 1px solid var(--hairline); display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(30px); transition: .6s var(--ease);
}
.m-nav.open a.m-link { opacity: 1; transform: none; }
.m-nav a.m-link .idx { font-family: var(--sans); font-size: .8rem; color: var(--gold); letter-spacing: .2em; }
.m-nav a.m-link:hover { color: var(--gold-bright); }
.m-nav .m-langs { display: flex; gap: 22px; margin-top: 38px; opacity: 0; transition: opacity .6s .3s; }
.m-nav.open .m-langs { opacity: 1; }
.m-nav .m-langs a { font-size: .85rem; letter-spacing: .2em; color: var(--muted); }
.m-nav .m-langs a.on { color: var(--gold); }

/* -------------------------------- Hero ----------------------------------- */
.hero { min-height: 100svh; display: flex; align-items: stretch; overflow: hidden; position: relative; }
.hero::before { /* vignette + tone */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 18% 30%, rgba(197, 164, 101, .07), transparent 65%),
    radial-gradient(900px 700px at 85% 80%, rgba(38, 52, 68, .5), transparent 70%);
}
.hero-grid-lines { position: absolute; inset: 0; display: flex; justify-content: space-evenly; pointer-events: none; }
.hero-grid-lines i { width: 1px; background: var(--hairline); opacity: .5; }
.hero-mark {
  position: absolute; right: -6vw; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 46vw; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(244,239,230,.045); user-select: none; pointer-events: none;
}
.hero-in {
  position: relative; z-index: 2; width: min(100% - var(--gutter) * 2, var(--w)); margin-inline: auto;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(20px, 3vw, 48px); align-items: end; padding-top: 74px;
}
.hero-copy { padding-bottom: clamp(16px, 2.5vh, 40px); align-self: center; }
.hero-copy .label { margin-bottom: 30px; }
.hero-title { font-size: clamp(2.4rem, 4.7vw, 4.5rem); line-height: 1.06; color: var(--ivory); }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: block; transform: translateY(115%); transition: transform 1.1s var(--ease-2); }
.hero-title.go .line span { transform: none; }
.hero-title .line:nth-child(2) span { transition-delay: .1s; }
.hero-title .line:nth-child(3) span { transition-delay: .2s; }
.hero-sub {
  max-width: 480px; color: var(--muted); font-size: 1.02rem; font-weight: 300; line-height: 1.75;
  margin-top: 24px; opacity: 0; transform: translateY(24px); transition: 1s var(--ease) .55s;
}
.hero-sub.go { opacity: 1; transform: none; }
.hero-sub strong { color: var(--ivory-dim); font-weight: 500; }
.hero-ctas { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; opacity: 0; transform: translateY(24px); transition: 1s var(--ease) .7s; }
.hero-ctas.go { opacity: 1; transform: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); transition: color .3s;
}
.link-arrow .circ {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hairline-2);
  display: grid; place-items: center; transition: .45s var(--ease);
}
.link-arrow .circ svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--gold-bright); }
.link-arrow:hover .circ { background: var(--gold); border-color: var(--gold); color: #0b0d10; transform: scale(1.06); }
.link-arrow:hover .circ svg { transform: translateX(3px); }

.hero-stats { display: flex; gap: clamp(28px, 4vw, 60px); margin-top: clamp(22px, 3.5vh, 46px); opacity: 0; transform: translateY(24px); transition: 1s var(--ease) .85s; }
.hero-stats.go { opacity: 1; transform: none; }
.hero-stats .hs { border-left: 1px solid var(--hairline-2); padding-left: 20px; }
.hero-stats .hs b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--gold-bright); line-height: 1.1; }
.hero-stats .hs span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.hero-visual { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 60vh; }
.hero-visual .arch {
  position: absolute; bottom: 0; left: 44%; transform: translateX(-50%);
  width: min(78%, 470px); aspect-ratio: 1 / 1.5;
  border: 1px solid rgba(197, 164, 101, .38);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(197,164,101,.12), rgba(197,164,101,.03) 52%, transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, #000 46%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 46%, transparent 75%);
}
.hero-visual .duo {
  position: relative; z-index: 2; width: auto; max-width: 100%; max-height: 86svh;
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .65)) saturate(.92) contrast(1.02);
  transform: none;
  mask-image: linear-gradient(180deg, #000 86%, transparent 99%);
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 99%);
}
.hero-visual .duo-wrap { position: relative; z-index: 2; opacity: 0; transform: translateY(40px) scale(.97); transition: 1.4s var(--ease-2) .5s; will-change: transform; }
.hero-visual .duo-wrap.go { opacity: 1; transform: none; }
.hero-visual .est {
  position: absolute; z-index: 3; left: 0; bottom: 18%;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(15, 19, 24, .72); backdrop-filter: blur(12px);
  border: 1px solid var(--hairline-2); border-left: 2px solid var(--gold);
  padding: 18px 22px;
}
.hero-visual .est .a { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-bright); font-style: italic; }
.hero-visual .est .b { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint i { width: 1px; height: 52px; background: linear-gradient(180deg, var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--ivory); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { top: -50%; } 100% { top: 110%; } }

/* Short (landscape) viewports — laptops: keep the whole hero on one screen */
@media (min-width: 1020px) and (max-height: 820px) {
  .hero-in { padding-top: 60px; }
  .hero-title { font-size: clamp(2rem, 3.5vw, 3.15rem); }
  .hero-sub { margin-top: 16px; line-height: 1.65; }
  .hero-ctas { margin-top: 24px; }
  .hero-stats { margin-top: 16px; }
  .hero-stats .hs b { font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
}
@media (min-width: 1020px) and (max-height: 670px) {
  .hero-in { padding-top: 50px; }
  .hero-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
  .hero-sub { margin-top: 12px; line-height: 1.55; }
  .hero-ctas { margin-top: 18px; }
  .hero-stats { margin-top: 12px; }
  .hero-stats .hs b { font-size: clamp(1.5rem, 2.2vw, 2rem); }
}

/* ------------------------------ Marquee ---------------------------------- */
.marquee { border-block: 1px solid var(--hairline); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: mq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .mq-item {
  display: inline-flex; align-items: center; gap: 28px; padding: 0 28px; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.4rem); color: var(--ivory-dim); font-style: italic;
}
.marquee-track .mq-item::after { content: "✦"; font-size: .7em; color: var(--gold); font-style: normal; }
@keyframes mq { to { transform: translateX(-50%); } }

/* --------------------------- Specializations strip ----------------------- */
.spec-strip { border-block: 1px solid var(--hairline); background: var(--bg-2); padding: clamp(22px, 3vw, 34px) var(--gutter); }
.spec-strip .in { width: min(100%, 1150px); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 0; }
.spec-strip a {
  position: relative; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding: 4px clamp(16px, 2vw, 30px); transition: color .3s;
}
.spec-strip a + a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .7;
}
.spec-strip a:hover { color: var(--gold-bright); }

/* ---------------------------- Philosophy --------------------------------- */
.philosophy { background: var(--bg); text-align: center; }
.philosophy .label { margin-bottom: 40px; }
.philosophy blockquote {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.35; color: var(--ivory);
  max-width: 1000px; margin-inline: auto;
}
.philosophy blockquote .w { display: inline-block; opacity: .12; transition: opacity .6s var(--ease); }
.philosophy blockquote .w.lit { opacity: 1; }
.philosophy blockquote .gold { color: var(--gold-bright); font-style: italic; }
.philosophy .ph-sign { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.philosophy .ph-sign img { height: 54px; opacity: .9; }
.philosophy .ph-sign span { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ------------------------- Practice areas -------------------------------- */
.practice { background: var(--bg-2); border-block: 1px solid var(--hairline); }
.practice-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.practice-head p { max-width: 440px; color: var(--muted); font-weight: 300; }
.p-list { border-top: 1px solid var(--hairline-2); }
.p-row {
  position: relative; display: grid; grid-template-columns: 90px 1fr auto auto; align-items: center; gap: clamp(16px, 3vw, 44px);
  padding: clamp(22px, 3vw, 34px) 8px; border-bottom: 1px solid var(--hairline-2);
  transition: background .4s, padding .4s var(--ease);
  cursor: pointer;
}
.p-row:hover { background: rgba(197, 164, 101, .045); }
.p-row .no { font-size: .8rem; letter-spacing: .2em; color: var(--muted-2); font-weight: 600; transition: color .3s; }
.p-row:hover .no { color: var(--gold); }
.p-row .t { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2.2rem); color: var(--ivory-dim); transition: color .3s, transform .45s var(--ease); }
.p-row:hover .t { color: var(--ivory); }
.p-row .d { max-width: 330px; font-size: .85rem; color: var(--muted-2); font-weight: 300; line-height: 1.6; text-align: right; }
.p-row .go-ic {
  width: 52px; height: 52px; border: 1px solid var(--hairline-2); border-radius: 50%;
  display: grid; place-items: center; transition: .45s var(--ease); flex: none;
}
.p-row .go-ic svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .45s var(--ease); }
.p-row:hover .go-ic { background: var(--gold); border-color: var(--gold); color: #0b0d10; }
.p-row:hover .go-ic svg { transform: rotate(0); }

/* floating preview image */
.p-preview {
  position: fixed; z-index: 90; width: 300px; aspect-ratio: 4 / 3; pointer-events: none;
  overflow: hidden; opacity: 0; transform: scale(.86) rotate(-2deg);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,.55); border: 1px solid var(--hairline-2);
}
.p-preview.on { opacity: 1; transform: scale(1) rotate(0); }
.p-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.p-preview img.show { opacity: 1; }

/* ------------------------------- Stats ----------------------------------- */
.stats { background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid .st { padding: clamp(30px, 4vw, 56px) clamp(18px, 3vw, 44px); border-left: 1px solid var(--hairline); }
.stats-grid .st:first-child { border-left: 0; }
.stats-grid .st b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.4rem); color: var(--ivory); line-height: 1; }
.stats-grid .st b .plus { color: var(--gold); }
.stats-grid .st span { display: block; margin-top: 14px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* -------------------------------- Team ----------------------------------- */
.team { background: var(--bg-2); border-block: 1px solid var(--hairline); }
.team-head { text-align: center; margin-bottom: clamp(44px, 6vw, 80px); }
.team-head .label { justify-content: center; margin-bottom: 22px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); max-width: 1080px; margin-inline: auto; }
.t-card { position: relative; }
.t-card .t-img {
  position: relative; overflow: hidden; aspect-ratio: 3 / 3.6; background: var(--panel);
}
.t-card .t-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,13,16,.88));
}
.t-card .t-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(.65) contrast(1.02);
  transform: scale(1.02);
  transition: filter .8s var(--ease), transform 1.1s var(--ease);
}
.t-card:hover .t-img img { filter: grayscale(0); transform: scale(1.07); }
.t-card .t-frame { position: absolute; inset: 18px; border: 1px solid rgba(197,164,101,.0); transition: .6s var(--ease); pointer-events: none; z-index: 2; }
.t-card:hover .t-frame { border-color: rgba(197,164,101,.45); inset: 12px; }
.t-card .t-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(20px, 3vw, 34px); }
.t-card .t-meta .nm { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ivory); }
.t-card .t-meta .rl { font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.t-card .t-meta .bio { color: var(--ivory-dim); font-weight: 300; font-size: .92rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s .1s, margin .5s; }
.t-card:hover .t-meta .bio { max-height: 200px; opacity: 1; margin-top: 14px; }

/* ------------------------------ Process ---------------------------------- */
.process { background: var(--bg); }
.process-head { margin-bottom: clamp(44px, 6vw, 80px); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { position: relative; border: 1px solid var(--hairline); padding: clamp(28px, 3.4vw, 46px); background: var(--bg-2); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.step:hover { border-color: rgba(197,164,101,.4); transform: translateY(-8px); }
.step .big-no {
  position: absolute; right: 14px; top: 2px; font-family: var(--serif); font-size: 6.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(244,239,230,.1); transition: .5s;
}
.step:hover .big-no { -webkit-text-stroke-color: rgba(197,164,101,.4); }
.step h3 { font-size: 1.45rem; margin: 46px 0 14px; color: var(--ivory); }
.step p { color: var(--muted); font-weight: 300; font-size: .95rem; }
.step .s-ic { width: 54px; height: 54px; border: 1px solid var(--hairline-2); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.step .s-ic svg { width: 22px; height: 22px; }

/* --------------------------- Testimonials -------------------------------- */
.tsl { background: var(--bg-2); border-block: 1px solid var(--hairline); overflow: hidden; }
.tsl-in { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.tsl-left .label { margin-bottom: 24px; }
.tsl-left p { color: var(--muted); font-weight: 300; max-width: 340px; margin-top: 18px; }
.tsl-nav { display: flex; gap: 14px; margin-top: 38px; }
.tsl-nav button {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--hairline-2);
  display: grid; place-items: center; transition: .4s var(--ease); color: var(--ivory);
}
.tsl-nav button svg { width: 18px; height: 18px; }
.tsl-nav button:hover { background: var(--gold); border-color: var(--gold); color: #0b0d10; }
.tsl-stage { position: relative; min-height: 320px; }
.tsl-quote-mark { font-family: var(--serif); font-size: 7rem; line-height: .5; color: rgba(197,164,101,.35); display: block; margin-bottom: 34px; }
.tsl-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); transition: .7s var(--ease); pointer-events: none; }
.tsl-slide.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.tsl-slide .q { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.5; color: var(--ivory); font-style: italic; }
.tsl-slide .who { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.tsl-slide .who .avc {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(197,164,101,.5);
  display: grid; place-items: center; font-family: var(--serif); color: var(--gold-bright); font-size: 1.3rem;
}
.tsl-slide .who .nm { font-weight: 600; font-size: .95rem; letter-spacing: .04em; }
.tsl-slide .who .st { font-size: .74rem; color: var(--gold); letter-spacing: .28em; }
.tsl-dots { display: flex; gap: 10px; margin-top: 40px; }
.tsl-dots i { width: 32px; height: 2px; background: var(--hairline-2); cursor: pointer; transition: .35s; position: relative; overflow: hidden; }
.tsl-dots i.on { background: var(--gold); width: 52px; }

/* -------------------------------- Blog ----------------------------------- */
.blog { background: var(--bg); }
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(40px, 5vw, 70px); flex-wrap: wrap; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.b-card { group: b; position: relative; }
.b-card .b-img { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.b-card .b-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.b-card:hover .b-img img { transform: scale(1.07); filter: saturate(1); }
.b-card .b-img .cat {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  background: rgba(11,13,16,.8); backdrop-filter: blur(8px); border: 1px solid var(--hairline-2);
  color: var(--gold-bright); font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 8px 14px;
}
.b-card .b-body { padding: 24px 4px 0; }
.b-card .b-date { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.b-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.25; margin: 12px 0 14px; color: var(--ivory); transition: color .3s; }
.b-card:hover h3 { color: var(--gold-bright); }
.b-card p { color: var(--muted); font-weight: 300; font-size: .92rem; }
.b-card .b-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-dim); }
.b-card .b-more i { width: 34px; height: 1px; background: var(--gold); transition: width .4s var(--ease); }
.b-card:hover .b-more i { width: 54px; }
.b-card:hover .b-more { color: var(--gold-bright); }
.b-card a.overlay { position: absolute; inset: 0; z-index: 3; }

/* ------------------------------ Clients ---------------------------------- */
.clients { background: var(--bg-2); border-block: 1px solid var(--hairline); padding: 60px 0; overflow: hidden; }
.clients .c-note { text-align: center; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 40px; }
.c-track { display: flex; width: max-content; animation: mq 44s linear infinite; align-items: center; }
.clients:hover .c-track { animation-play-state: paused; }
.c-track .c-logo {
  flex: none; width: clamp(150px, 13vw, 190px); height: 86px;
  margin: 0 clamp(14px, 1.8vw, 32px);
  display: flex; align-items: center; justify-content: center;
}
.c-track img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1); opacity: .72; transition: opacity .4s;
}
.c-track .c-logo:hover img { opacity: 1; }

/* ----------------------------- CTA band ---------------------------------- */
.cta { background: var(--bg); text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197,164,101,.08), transparent 60%);
  pointer-events: none;
}
.cta .label { justify-content: center; margin-bottom: 30px; }
.cta h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.1; max-width: 900px; margin-inline: auto; }
.cta p { color: var(--muted); max-width: 520px; margin: 26px auto 0; font-weight: 300; }
.cta .cta-actions { margin-top: 48px; display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.cta .tel-line { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; color: var(--muted); font-size: .9rem; }
.cta .tel-line a { color: var(--gold-bright); font-family: var(--serif); font-size: 1.3rem; font-style: italic; transition: color .3s; }
.cta .tel-line a:hover { color: var(--ivory); }

/* ------------------------------ Contact ---------------------------------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--hairline); }
.contact-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); }
.contact-info .label { margin-bottom: 26px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--muted); font-weight: 300; max-width: 420px; }
.ci-list { margin-top: 44px; display: grid; gap: 4px; }
.ci-list li { display: flex; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.ci-list .ci-ic { width: 50px; height: 50px; flex: none; border: 1px solid var(--hairline-2); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.ci-list .ci-ic svg { width: 19px; height: 19px; }
.ci-list .k { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); }
.ci-list .v { font-size: 1.06rem; color: var(--ivory); font-weight: 500; transition: color .3s; }
.ci-list a:hover .v { color: var(--gold-bright); }
.socials { display: flex; gap: 12px; margin-top: 36px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hairline-2); display: grid; place-items: center; transition: .4s var(--ease); }
.socials a svg { width: 17px; height: 17px; fill: var(--ivory-dim); transition: .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-4px); }
.socials a:hover svg { fill: #0b0d10; }

.form { padding: clamp(28px, 4vw, 54px); background: var(--bg-3); border: 1px solid var(--hairline); }
.form h3 { font-size: 1.7rem; margin-bottom: 8px; }
.form .f-sub { color: var(--muted); font-size: .9rem; font-weight: 300; margin-bottom: 34px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.f-field { position: relative; margin-bottom: 30px; }
.f-field.full { grid-column: 1 / -1; }
.f-field input, .f-field textarea, .f-field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hairline-2);
  padding: 12px 2px; color: var(--ivory); font: inherit; font-size: .96rem;
  transition: border-color .35s;
  appearance: none; border-radius: 0;
}
.f-field select { cursor: pointer; }
.f-field select option { background: var(--bg-3); color: var(--ivory); }
.f-field textarea { min-height: 96px; resize: vertical; }
.f-field label {
  position: absolute; left: 2px; top: 12px; font-size: .92rem; color: var(--muted-2);
  pointer-events: none; transition: .3s var(--ease);
}
.f-field input:focus, .f-field textarea:focus, .f-field select:focus { outline: none; border-bottom-color: var(--gold); }
.f-field input:focus ~ label, .f-field input.has ~ label,
.f-field textarea:focus ~ label, .f-field textarea.has ~ label,
.f-field select:focus ~ label, .f-field select.has ~ label {
  top: -12px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.f-field .bar { position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .5s var(--ease); }
.f-field input:focus ~ .bar, .f-field textarea:focus ~ .bar, .f-field select:focus ~ .bar { width: 100%; }
.form .btn-line { width: 100%; justify-content: center; margin-top: 8px; padding: 17px; }
.form .f-note { margin-top: 18px; font-size: .74rem; color: var(--muted-2); text-align: center; font-weight: 300; }
.form .f-ok { display: none; text-align: center; padding: 40px 0; }
.form .f-ok.show { display: block; }
.form .f-ok .serif { font-size: 1.6rem; color: var(--gold-bright); }
.form .f-ok p { color: var(--muted); margin-top: 10px; }

/* ------------------------------- Footer ---------------------------------- */
.footer { background: #080a0d; border-top: 1px solid var(--hairline); padding-top: clamp(60px, 8vw, 100px); }
.f-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(30px, 4vw, 60px); padding-bottom: clamp(44px, 6vw, 70px); }
.f-brand > img { height: 62px; margin-bottom: 24px; }
.f-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.f-logo img { height: 54px; width: auto; }
.f-logo-txt { display: flex; flex-direction: column; line-height: 1.2; }
.f-logo-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); white-space: nowrap; }
.f-logo-name .amp { color: var(--gold); font-style: italic; }
.f-logo-sub { font-size: .62rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); }
.f-brand p { color: var(--muted); font-size: .9rem; font-weight: 300; max-width: 300px; }
.footer h5 { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; font-weight: 600; }
.footer ul li { margin-bottom: 13px; }
.footer ul a { color: var(--muted); font-size: .92rem; font-weight: 300; transition: .3s; position: relative; }
.footer ul a::before { content: "→"; position: absolute; left: -20px; opacity: 0; transition: .3s; color: var(--gold); }
.footer ul a:hover { color: var(--ivory); padding-left: 22px; }
.footer ul a:hover::before { opacity: 1; left: 0; }
.f-bottom { border-top: 1px solid var(--hairline); padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-bottom span, .f-bottom a { font-size: .78rem; color: var(--muted-2); font-weight: 300; }
.f-bottom a:hover { color: var(--gold-bright); }
.f-bottom .f-links { display: flex; gap: 26px; }

/* ------------------------------ To top ----------------------------------- */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 150;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--hairline-2); background: rgba(15,19,24,.8); backdrop-filter: blur(8px);
  display: grid; place-items: center; color: var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #0b0d10; border-color: var(--gold); }
.to-top svg { width: 18px; height: 18px; }

/* ==================== Practice list — deal-in on scroll ================== */
/* Each practice-area row is hidden behind the one above it and slides down
   into its slot as you scroll — like dealing cards into a list. */
.p-list { overflow: hidden; }
.js-deal .p-row {
  background: var(--bg-2);
  opacity: 0; transform: translateY(-102%);
  transition: transform .7s var(--ease), opacity .45s var(--ease);
  will-change: transform;
}
.js-deal .p-row.dealt { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-deal .p-row { opacity: 1 !important; transform: none !important; transition: none; }
}

/* --------------------------- Reveal engine ------------------------------- */
[data-anim] { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-anim].in { opacity: 1; transform: none; }
[data-anim="clip"] { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-2), opacity .6s; }
[data-anim="clip"].in { clip-path: inset(0 0 0 0); }
[data-anim="left"] { transform: translateX(-44px); }
[data-anim="right"] { transform: translateX(44px); }
[data-d="1"] { transition-delay: .1s; }
[data-d="2"] { transition-delay: .2s; }
[data-d="3"] { transition-delay: .3s; }
[data-d="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* ----------------------------- Page hero --------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(150px, 20vh, 220px) 0 clamp(56px, 8vw, 96px);
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 12% 10%, rgba(197, 164, 101, .08), transparent 65%),
    radial-gradient(700px 500px at 90% 90%, rgba(38, 52, 68, .45), transparent 70%);
}
.page-hero .ph-mark {
  position: absolute; right: -4vw; bottom: -22vw; pointer-events: none; user-select: none;
  font-family: var(--serif); font-size: 34vw; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(244,239,230,.05);
}
.page-hero .wrap { position: relative; z-index: 2; }
.crumbs { display: flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 30px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); transition: color .3s; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs .sep { color: var(--gold); }
.crumbs .here { color: var(--ivory-dim); }
.page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.07; color: var(--ivory); max-width: 1000px; }
.page-hero .ph-sub { max-width: 620px; color: var(--muted); font-weight: 300; font-size: 1.04rem; line-height: 1.85; margin-top: 26px; }
.page-hero .ph-go { opacity: 0; transform: translateY(30px); transition: 1s var(--ease) .15s; }
.page-hero .ph-go + .ph-go { transition-delay: .3s; }
.page-hero .ph-go.go { opacity: 1; transform: none; }
.page-hero .ph-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* --------------------------- Sferi grid cards ----------------------------- */
.sferi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.sf-card {
  position: relative; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end;
  border: 1px solid var(--hairline); background: var(--panel);
}
.sf-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: grayscale(.5) contrast(1.02); transition: 1s var(--ease); }
.sf-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,16,.15) 30%, rgba(11,13,16,.93) 82%); }
.sf-card:hover img { transform: scale(1.06); opacity: .68; filter: grayscale(0); }
.sf-card .sf-body { position: relative; z-index: 2; padding: clamp(22px, 2.6vw, 34px); width: 100%; }
.sf-card .sf-no { font-size: .74rem; letter-spacing: .26em; color: var(--gold); font-weight: 600; }
.sf-card h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); color: var(--ivory); margin: 10px 0 8px; line-height: 1.25; }
.sf-card p { color: var(--muted); font-weight: 300; font-size: .88rem; max-height: 0; opacity: 0; overflow: hidden; transition: .6s var(--ease); }
.sf-card:hover p { max-height: 120px; opacity: 1; margin-bottom: 14px; }
.sf-card .sf-go { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); }
.sf-card .sf-go i { width: 30px; height: 1px; background: var(--gold); transition: width .4s var(--ease); }
.sf-card:hover .sf-go i { width: 48px; }
.sf-card a.overlay { position: absolute; inset: 0; z-index: 3; }
.sf-card .sf-frame { position: absolute; inset: 14px; border: 1px solid rgba(197,164,101,0); transition: .5s var(--ease); z-index: 2; pointer-events: none; }
.sf-card:hover .sf-frame { border-color: rgba(197,164,101,.35); inset: 10px; }

/* ------------------------ Practice area subpage --------------------------- */
.area-wrap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.area-side { position: sticky; top: 110px; }
.area-side h4 { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.area-side nav { border-top: 1px solid var(--hairline-2); }
.area-side nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 4px; border-bottom: 1px solid var(--hairline);
  font-size: .86rem; color: var(--muted); font-weight: 400; transition: .3s;
}
.area-side nav a::after { content: "→"; opacity: 0; transition: .3s; color: var(--gold); }
.area-side nav a:hover, .area-side nav a.on { color: var(--ivory); padding-left: 10px; }
.area-side nav a:hover::after, .area-side nav a.on::after { opacity: 1; }
.area-side nav a.on { color: var(--gold-bright); }
.area-side .side-cta { margin-top: 30px; padding: 26px; background: var(--bg-3); border: 1px solid var(--hairline); }
.area-side .side-cta .t { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); line-height: 1.35; }
.area-side .side-cta p { font-size: .84rem; color: var(--muted); font-weight: 300; margin: 10px 0 18px; }
.area-side .side-cta .btn-line { width: 100%; justify-content: center; padding: 13px; }

.prose { max-width: 760px; }
.prose > p { color: var(--ivory-dim); font-weight: 300; margin-bottom: 22px; line-height: 1.9; }
.prose > p:first-of-type { font-size: 1.14rem; color: var(--ivory); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ivory); margin: 46px 0 18px; }
.prose h3 { font-size: 1.2rem; color: var(--gold-bright); margin: 34px 0 14px; }
.prose ul { margin: 0 0 26px; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; color: var(--ivory-dim); font-weight: 300; line-height: 1.75; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.prose .lead-quote {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.6; color: var(--ivory);
  border-left: 2px solid var(--gold); padding: 6px 0 6px 26px; margin: 36px 0;
}
.area-img { position: relative; overflow: hidden; margin: 40px 0; aspect-ratio: 16/8; }
.area-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.area-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--hairline-2); }

/* ------------------------------ Blog page --------------------------------- */
.blog-hero-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.chip {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--hairline-2); color: var(--muted); cursor: pointer;
  transition: .35s var(--ease); background: transparent;
}
.chip:hover { color: var(--ivory); border-color: var(--gold); }
.chip.on { background: var(--gold); border-color: var(--gold); color: #0b0d10; }
.blog-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px) clamp(20px, 2.6vw, 32px); }
.blog-list-grid .b-card.hide { display: none; }
.load-more-wrap { text-align: center; margin-top: clamp(40px, 6vw, 70px); }
.b-card .b-img .ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--bg-3), var(--panel));
}
.b-card .b-img .ph img { width: 74px; height: auto; opacity: .35; filter: none; }

/* --------------------------- Consultation page ---------------------------- */
.kons-grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.kons-info > p { color: var(--muted); font-weight: 300; max-width: 460px; margin-bottom: 8px; }
.kons-feats { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--hairline-2); }
.kons-feats .kf { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--hairline); align-items: flex-start; }
.kons-feats .kf .ic { width: 48px; height: 48px; flex: none; border: 1px solid var(--hairline-2); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.kons-feats .kf .ic svg { width: 19px; height: 19px; }
.kons-feats .kf b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--ivory); margin-bottom: 4px; }
.kons-feats .kf span { font-size: .88rem; color: var(--muted); font-weight: 300; line-height: 1.65; }

/* ------------------------------ FAQ accordion ------------------------------ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--hairline-2); }
.faq-item { border-bottom: 1px solid var(--hairline-2); }
.faq-item button.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px; text-align: left; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--ivory-dim); transition: color .3s;
}
.faq-item button.faq-q:hover, .faq-item.open button.faq-q { color: var(--ivory); }
.faq-item .faq-x { width: 40px; height: 40px; flex: none; border: 1px solid var(--hairline-2); border-radius: 50%; display: grid; place-items: center; position: relative; transition: .45s var(--ease); }
.faq-item .faq-x::before, .faq-item .faq-x::after { content: ""; position: absolute; background: var(--gold); transition: .45s var(--ease); }
.faq-item .faq-x::before { width: 14px; height: 1px; }
.faq-item .faq-x::after { width: 1px; height: 14px; }
.faq-item.open .faq-x { background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-x::before { background: #0b0d10; }
.faq-item.open .faq-x::after { background: #0b0d10; transform: rotate(90deg); opacity: 0; }
.faq-item .faq-a { max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.faq-item .faq-a p { color: var(--muted); font-weight: 300; padding: 0 4px 28px; max-width: 700px; line-height: 1.85; }

/* ------------------------------ About page -------------------------------- */
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.vision-grid .v-card { border: 1px solid var(--hairline); background: var(--bg-2); padding: clamp(28px, 3.4vw, 46px); position: relative; overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.vision-grid .v-card:hover { border-color: rgba(197,164,101,.4); transform: translateY(-8px); }
.vision-grid .v-card .rim { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.vision-grid .v-card h3 { font-size: 1.4rem; color: var(--ivory); margin: 16px 0 14px; }
.vision-grid .v-card p { color: var(--muted); font-weight: 300; font-size: .94rem; }
.about-duo { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 90px); align-items: center; }
.about-duo .ad-img { position: relative; }
.about-duo .ad-img img { width: 100%; filter: saturate(.92); }
.about-duo .ad-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--hairline-2); }
.about-duo .ad-img .tag {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  background: rgba(15,19,24,.78); backdrop-filter: blur(10px); border: 1px solid var(--hairline-2); border-left: 2px solid var(--gold);
  padding: 14px 20px; font-family: var(--serif); font-style: italic; color: var(--gold-bright);
}
.about-duo .ad-txt p { color: var(--ivory-dim); font-weight: 300; line-height: 1.9; margin-bottom: 20px; }
.about-duo .ad-txt p:first-of-type { font-size: 1.12rem; color: var(--ivory); }

.lawyer-block { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 4.6vw, 70px); align-items: start; }
.lawyer-block.flip { grid-template-columns: 1fr 380px; }
.lawyer-block.flip .lw-img { order: 2; }
.lw-img { position: relative; overflow: hidden; aspect-ratio: 3/3.7; }
.lw-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(.4); transition: filter .8s var(--ease), transform 1.1s var(--ease); }
.lawyer-block:hover .lw-img img { filter: grayscale(0); transform: scale(1.04); }
.lw-img::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(197,164,101,.3); pointer-events: none; }
.lw-txt .rl { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lw-txt h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--ivory); margin: 12px 0 20px; }
.lw-txt p { color: var(--ivory-dim); font-weight: 300; line-height: 1.85; margin-bottom: 18px; }
.lw-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lw-facts span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hairline-2); padding: 9px 16px; }

/* ------------------------------ Contact page ------------------------------- */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.hours-note { margin-top: 34px; padding: 24px 26px; border: 1px solid var(--hairline); background: var(--bg-3); }
.hours-note b { font-family: var(--serif); font-weight: 500; color: var(--gold-bright); display: block; margin-bottom: 6px; font-size: 1.05rem; }
.hours-note span { font-size: .88rem; color: var(--muted); font-weight: 300; }

/* ------------------------- Language dropdown fix --------------------------- */
.lang-drop { z-index: 30; }

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 1180px) {
  .menu { gap: 22px; }
  .header .brand .brand-sub { display: none; }
}
@media (max-width: 1020px) {
  .menu, .header .btn-line, .header .lang { display: none; }
  .burger { display: block; }
  .hero-in { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-visual { min-height: 0; margin-top: 10px; }
  .hero-visual .duo { max-width: 420px; }
  .hero-mark { display: none; }
  .tsl-in { grid-template-columns: 1fr; }
  .contact-in { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .st:nth-child(3) { border-left: 0; }
  .stats-grid .st { border-top: 1px solid var(--hairline); }
  .stats-grid .st:nth-child(-n+2) { border-top: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 560px; }
  .p-row { grid-template-columns: 50px 1fr auto; }
  .p-row .d { display: none; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .sferi-grid { grid-template-columns: 1fr 1fr; }
  .area-wrap { grid-template-columns: 1fr; }
  .area-side { position: static; order: 2; }
  .blog-list-grid { grid-template-columns: 1fr 1fr; }
  .kons-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .about-duo { grid-template-columns: 1fr; }
  .lawyer-block, .lawyer-block.flip { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .lawyer-block.flip .lw-img { order: 0; }
  .lw-img { max-width: 420px; }
  .contact-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .sferi-grid { grid-template-columns: 1fr; }
  .blog-list-grid { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .hero-visual .est { position: relative; left: auto; bottom: auto; margin-top: -60px; z-index: 5; width: fit-content; }
  .f-grid { grid-template-columns: 1fr; }
  .p-row .go-ic { width: 42px; height: 42px; }
  .scroll-hint { display: none; }
}

/* ============================ BLOG ARTICLE ============================= */
.article-wrap { max-width: 820px; margin-inline: auto; }
.article-meta { display: flex; gap: 16px; align-items: center; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-top: 26px; flex-wrap: wrap; }
.article-meta .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.article-hero-img { position: relative; overflow: hidden; margin: clamp(30px,5vw,54px) auto 0; max-width: 960px; aspect-ratio: 16 / 8; border: 1px solid var(--hairline); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95); }
.article-body { max-width: 760px; margin: clamp(40px,6vw,66px) auto 0; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { color: var(--ivory-dim); font-weight: 300; line-height: 1.95; margin-bottom: 22px; font-size: 1.05rem; }
.article-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem,2.6vw,2.1rem); color: var(--ivory); margin: 46px 0 16px; line-height: 1.2; }
.article-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--ivory); margin: 38px 0 14px; }
.article-body h4, .article-body h5, .article-body h6 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--gold-bright); margin: 32px 0 12px; letter-spacing: 0; text-transform: none; line-height: 1.35; }
.article-body a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(197,164,101,.4); transition: text-decoration-color .3s; }
.article-body a:hover { text-decoration-color: var(--gold-bright); }
.article-body strong { color: var(--ivory); font-weight: 600; }
.article-body em { color: var(--ivory-dim); }
.article-body ul, .article-body ol { margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.article-body li { position: relative; padding-left: 30px; color: var(--ivory-dim); font-weight: 300; line-height: 1.8; list-style: none; }
.article-body ul li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.article-body ol { counter-reset: li; }
.article-body ol li { counter-increment: li; }
.article-body ol li::before { content: counter(li); position: absolute; left: 2px; top: 1px; font-family: var(--serif); color: var(--gold); font-size: .95rem; }
.article-body blockquote { border-left: 2px solid var(--gold); padding: 6px 0 6px 26px; margin: 30px 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ivory); line-height: 1.6; }
.article-body img { max-width: 100%; height: auto; border: 1px solid var(--hairline); margin: 24px 0; }
.article-body hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }
.article-foot { max-width: 760px; margin: clamp(50px,7vw,80px) auto 0; padding-top: 38px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.article-foot .back { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-dim); transition: color .3s; }
.article-foot .back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.article-foot .back:hover { color: var(--gold-bright); }

/* ---- Blog archive search ---- */
.blog-search { position: relative; max-width: 440px; margin-top: 34px; }
.blog-search input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hairline-2); padding: 14px 40px 14px 2px; color: var(--ivory); font-family: var(--sans); font-size: 1rem; outline: none; transition: border-color .4s; }
.blog-search input::placeholder { color: var(--muted-2); }
.blog-search input:focus { border-bottom-color: var(--gold); }
.blog-search svg { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 1.6; pointer-events: none; }
.blog-count { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 34px; }
.blog-count span { color: var(--gold-bright); }

/* ---- Blog article author box ---- */
.article-author { max-width: 760px; margin: clamp(46px,6vw,66px) auto 0; padding: clamp(26px,3vw,38px); border: 1px solid var(--hairline); background: var(--bg-3); display: flex; gap: clamp(20px,3vw,34px); align-items: flex-start; }
.article-author .aa-photo { flex: none; width: 96px; height: 120px; overflow: hidden; border: 1px solid rgba(197,164,101,.3); position: relative; }
.article-author .aa-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(.35); }
.article-author .aa-label { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.article-author h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--ivory); margin: 9px 0 12px; }
.article-author p { color: var(--muted); font-weight: 300; font-size: .92rem; line-height: 1.75; }
@media (max-width: 560px) { .article-author { flex-direction: column; } .article-author .aa-photo { width: 84px; height: 104px; } }

/* ---- blog card without a featured image: branded placeholder ------------- */
.b-card .b-img-none {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(197,164,101,.13) 0%, rgba(197,164,101,0) 62%),
    linear-gradient(160deg, var(--panel) 0%, var(--bg-3) 55%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--hairline);
}
.b-card .b-img-none::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/img/logo-mark-white.png") no-repeat center / auto 44%;
  opacity: .16;
  transition: opacity .6s var(--ease), transform 1s var(--ease);
}
.b-card:hover .b-img-none::before { opacity: .26; transform: scale(1.06); }
/* ---- cookie consent bar -------------------------------------------------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: linear-gradient(180deg, rgba(15,19,24,.97) 0%, rgba(11,13,16,.99) 100%);
  border-top: 1px solid rgba(197,164,101,.28);
  backdrop-filter: blur(14px);
  box-shadow: 0 -18px 50px rgba(0,0,0,.45);
  transform: translateY(105%);
  transition: transform .55s var(--ease);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar .cb-in {
  max-width: var(--w); margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.cookie-bar .cb-txt {
  flex: 1; margin: 0;
  font-family: var(--sans); font-size: 13.5px; line-height: 1.65;
  color: var(--ivory-dim); letter-spacing: .01em;
}
.cookie-bar .cb-txt a {
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid rgba(197,164,101,.4);
  transition: color .3s, border-color .3s;
}
.cookie-bar .cb-txt a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.cookie-bar .cb-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-bar button {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 2px; cursor: pointer;
  border: 1px solid; transition: all .35s var(--ease); white-space: nowrap;
}
.cookie-bar .cb-no {
  background: transparent; border-color: var(--hairline-2); color: var(--ivory-dim);
}
.cookie-bar .cb-no:hover { border-color: var(--ivory-dim); color: var(--ivory); }
.cookie-bar .cb-ok {
  background: var(--gold); border-color: var(--gold); color: #0b0d10;
}
.cookie-bar .cb-ok:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

@media (max-width: 760px) {
  .cookie-bar .cb-in { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px var(--gutter); }
  .cookie-bar .cb-btns { justify-content: stretch; }
  .cookie-bar button { flex: 1; padding: 13px 12px; }
}

/* ---- lead paragraph on the legal pages ----------------------------------- */
.article-body p.lead {
  font-size: 1.16rem; line-height: 1.8; color: var(--ivory);
  padding-bottom: 26px; margin-bottom: 30px;
  border-bottom: 1px solid var(--hairline);
}
.article-body h4 { margin-top: 26px; }
.article-body button { margin-top: 6px; }

/* ---- blog cards: equal blocks so every row lines up ---------------------- */
.blog-grid .b-card,
.blog-list-grid .b-card { display: flex; flex-direction: column; }
.blog-grid .b-card .b-body,
.blog-list-grid .b-card .b-body { display: flex; flex-direction: column; flex: 1 1 auto; }

/* the title always occupies two lines, the excerpt three - so the cards keep
   the same height and nothing jumps when an article is swapped in */
.blog-grid .b-card h3,
.blog-list-grid .b-card h3 {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; min-height: 2.5em;            /* 2 lines at line-height 1.25 */
}
.blog-grid .b-card p,
.blog-list-grid .b-card p {
  line-height: 1.7;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; min-height: 5.1em;            /* 3 lines at line-height 1.7 */
}
.blog-grid .b-card .b-more,
.blog-list-grid .b-card .b-more { margin-top: auto; padding-top: 18px; }

/* ---- home page: cross-fade from one article to the next ------------------ */
.b-card .b-img .b-next {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.85);
  opacity: 0; transition: opacity .85s var(--ease);
}
.b-card .b-body.b-ghost {
  position: absolute; left: 0; right: 0; z-index: 2;
  pointer-events: none;
  opacity: 0; transition: opacity .85s var(--ease);
}
.b-card .b-body.b-fading { transition: opacity .85s var(--ease); }

/* the date + author line wraps to two lines on narrower cards, so reserve the
   space once and for all - otherwise a card grows when an article rotates in */
.blog-grid .b-card .b-date,
.blog-list-grid .b-card .b-date {
  display: block; line-height: 1.55; min-height: 3.1em;
  letter-spacing: .16em;
}
.blog-grid .b-card h3,
.blog-list-grid .b-card h3 { margin-top: 4px; }
