/* C «Ринг»: графика ар-деко. Poiret One — геометрическая гарнитура 20-х, её узкие формы рифмуются с буквами логотипа; Manrope — нейтральный текст. Монохром, тонкие линии, круг. */
:root { --f-display: 'Poiret One', sans-serif; --f-text: 'Manrope', sans-serif; --w-text: 300; --ls-display: .04em; }
:root[data-theme="dark"] {
  --bg: #0b0b0b; --surface: #121212; --fg: #ececea; --muted: #8b8b88; --accent: #ececea; --on-accent: #0b0b0b;
  --line: rgba(236,236,234,.12); --line-strong: rgba(236,236,234,.3);
  --w-bg: #0b0b0b; --w-fg: #ececea; --map-filter: grayscale(1) invert(.92) contrast(.9);
}
:root[data-theme="light"] {
  --bg: #f2f1ee; --surface: #e8e7e3; --fg: #111; --muted: #6f6f6b; --accent: #111; --on-accent: #f2f1ee;
  --line: rgba(17,17,17,.12); --line-strong: rgba(17,17,17,.3);
  --w-bg: #f2f1ee; --w-fg: #111;
}

/* Приветствие: фигура в круге, логотип поперёк */
.welcome { display: grid; place-items: center; }
.w-photo { position: absolute; left: 50%; top: 50%; width: min(66vh, 82vw); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; overflow: hidden;
  -webkit-mask: radial-gradient(closest-side, #000 72%, transparent); mask: radial-gradient(closest-side, #000 72%, transparent); }
.w-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .9; }
[data-theme="light"] .w-photo img { filter: grayscale(1) contrast(.95) brightness(1.08); }
.w-ring { position: absolute; left: 50%; top: 50%; width: min(70vh, 86vw); aspect-ratio: 1; translate: -50% -50%; border: 1px solid var(--line-strong); border-radius: 50%;
  animation: spin 60s linear infinite; }
.w-ring::before { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@keyframes spin { to { rotate: 360deg; } }
.w-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: clamp(16px, 3vw, 36px); gap: 10px; }
.w-num { font-size: 11px; letter-spacing: .3em; opacity: .7; margin-right: auto; }
.w-logo { position: relative; margin: 0; } .w-logo .logo { width: clamp(260px, 42vw, 600px); filter: drop-shadow(0 2px 20px rgba(0,0,0,.4)); }
[data-theme="light"] .w-logo .logo { filter: drop-shadow(0 2px 18px rgba(255,255,255,.7)); }
.w-enter { position: absolute; left: 50%; top: calc(50% + min(35vh, 43vw)); translate: -50% -50%; width: 88px; height: 88px; border-radius: 50%;
  background: var(--w-bg); border: 1px solid var(--line-strong); font-family: var(--f-display); font-size: 17px; letter-spacing: .12em; transition: background .3s, color .3s; }
.w-enter:hover { background: var(--w-fg); color: var(--w-bg); }
.w-dot { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.d1 { left: 14%; top: 56%; } .d2 { right: 18%; top: 38%; }
.w-bottom { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 16px; padding: clamp(16px, 3vw, 36px); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.w-social { display: flex; gap: 20px; } .w-addr { opacity: .75; }
@media (max-width: 760px) { .w-bottom { flex-direction: column; align-items: center; text-align: center; letter-spacing: .1em; } }

/* Переход: круг сжимается в точку и раскрывает сайт */
body.entering .welcome { clip-path: circle(0 at 50% 50%); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
@supports not (clip-path: circle(0)) { body.entering .welcome { opacity: 0; transition: opacity .8s; } }
.welcome { clip-path: circle(150% at 50% 50%); }
body.entering .site { transition: opacity .2s; }
body.entering .hero-h { animation: track 1.4s .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes track { from { letter-spacing: .3em; opacity: 0; } }

/* Сайт */
.hdr .logo { width: 104px; height: 40px; }
.hero { padding: clamp(50px, 9vw, 120px) 0 40px; text-align: center; }
.hero-in { display: grid; justify-items: center; gap: 48px; }
.hero-text { display: grid; justify-items: center; }
.hero-h { font-family: var(--f-display); font-weight: 400; font-size: clamp(50px, 9vw, 128px); line-height: .95; margin: 0 0 24px; letter-spacing: .02em; }
.hero-p { max-width: 52ch; color: var(--muted); font-size: 17px; margin: 0 0 32px; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-rating { margin-top: 26px; font-size: 13px; color: var(--muted); } .hero-rating b { font-family: var(--f-display); font-size: 26px; color: var(--fg); }
.hero-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(820px, 100%); }
.hm { aspect-ratio: 4/3; overflow: hidden; } .hm img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s; }
@media (hover: hover) { .hm:hover img, .work:hover img { filter: none; } }
.work img { filter: grayscale(1); }
.master-ph { border-radius: 50%; aspect-ratio: 1; color: var(--fg); }
.eyebrow { color: var(--muted); }
.blk-alt { background: var(--surface); }
