/* ==========================================================================================================
   Rotātava (rotatava.lv), manicure studio in Ziepniekkalns. Site stylesheet for the rt-* sections.
   Look: the salon's own mix of ivory walls, black, gold frames, emerald velvet and the ruby gem of the logo,
   kept bright (ivory and white surfaces; black only for the salon gallery band and the footer).
   Type: Oranienbaum (headings, same as the old site and close to the logo) + Pontano Sans (text).
   ========================================================================================================== */

:root {
  --rt-ink: #17130f;
  --rt-ink-2: #3a332c;
  --rt-muted: #6b6258;
  --rt-bg: #fbf8f3;
  --rt-sand: #f4eee4;
  --rt-white: #ffffff;
  --rt-line: #e7dece;
  --rt-line-2: #d9ccb6;
  --rt-emerald: #0f4c3e;
  --rt-emerald-2: #0a382e;
  --rt-emerald-soft: #e5efe9;
  --rt-gold: #c4a05a;
  --rt-gold-2: #b08a40;
  --rt-gold-ink: #7e5c1e;
  --rt-gold-soft: #f1e6cd;
  --rt-ruby: #a3212f;
  --rt-night: #11100e;
  --rt-night-2: #1c1a17;
  --rt-night-line: rgba(255, 255, 255, .12);
  --rt-on-night: #f4efe6;
  --rt-on-night-2: rgba(244, 239, 230, .72);
  --rt-serif: "Oranienbaum", "Times New Roman", Georgia, serif;
  --rt-sans: "Pontano Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --rt-wrap: 1200px;
  --rt-gutter: clamp(16px, 4vw, 40px);
  --rt-sec: clamp(52px, 7vw, 96px);
  --rt-r: 18px;
  --rt-r-sm: 12px;
  --rt-r-lg: 28px;
  --rt-arch: 4px 56px 4px 4px;      /* the old site's photo shape: one big rounded corner, top right */
  --rt-arch-sm: 4px 36px 4px 4px;
  --rt-shadow: 0 1px 2px rgba(23, 19, 15, .05), 0 14px 34px -16px rgba(23, 19, 15, .22);
  --rt-shadow-lg: 0 2px 6px rgba(23, 19, 15, .06), 0 28px 60px -24px rgba(23, 19, 15, .32);
  --rt-header-h: 76px;
  --rt-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
.sl-section[class*="sl-section--rt-"] { padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body.rt-body {
  margin: 0;
  background: var(--rt-bg);
  color: var(--rt-ink);
  font-family: var(--rt-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.rt-body *, .rt-body *::before, .rt-body *::after { box-sizing: border-box; }
.rt-body img { max-width: 100%; height: auto; display: block; }
.rt-body a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.rt-body a:hover { text-decoration-color: currentColor; }
.rt-body :focus-visible { outline: 2px solid var(--rt-gold-2); outline-offset: 3px; border-radius: 4px; }
.rt-body ::selection { background: var(--rt-gold-soft); color: var(--rt-ink); }
.rt-body h1, .rt-body h2, .rt-body h3, .rt-body h4 { font-family: var(--rt-serif); font-weight: 400; color: inherit; margin: 0; letter-spacing: 0; }
.rt-body p { margin: 0 0 1em; }
.rt-body p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
.rt-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--rt-ink); color: #fff !important; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.rt-skip:focus { top: 12px; }
.rt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rt-wrap { width: 100%; max-width: calc(var(--rt-wrap) + 2 * var(--rt-gutter)); margin: 0 auto; padding-inline: var(--rt-gutter); }
.rt-wrap--narrow { max-width: calc(820px + 2 * var(--rt-gutter)); }
.rt-sec { padding-block: var(--rt-sec); }
.rt-sec--tight { padding-block: calc(var(--rt-sec) * .62); }
.rt-sec--sand { background: var(--rt-sand); }
.rt-sec--white { background: var(--rt-white); }
.rt-sec--night { background: var(--rt-night); color: var(--rt-on-night); }

/* ---------- type ---------- */
/* Latvian marks (ā ē ī ū above, ļ ņ ķ ģ below) need room: headings never go below line-height 1.15. */
.rt-h1 { font-size: clamp(2.5rem, 1.55rem + 3.9vw, 4.6rem); line-height: 1.15; }
.rt-h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.2rem); line-height: 1.16; }
.rt-h3 { font-size: clamp(1.45rem, 1.25rem + .7vw, 1.85rem); line-height: 1.2; }
.rt-lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--rt-ink-2); }
.rt-sec--night .rt-lead { color: var(--rt-on-night-2); }
.rt-muted { color: var(--rt-muted); }
.rt-head { max-width: 720px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.rt-head--center { margin-inline: auto; text-align: center; }
.rt-head .rt-lead { margin-top: 16px; }
.rt-head__row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.rt-head__row > div { max-width: 720px; }

/* the logo's ornament, drawn small: chevrons and a ruby gem */
.rt-orn { display: block; width: 132px; height: 18px; color: var(--rt-ink); margin: 18px 0 0; }
.rt-head--center .rt-orn { margin-inline: auto; }
.rt-sec--night .rt-orn, .rt-orn--light { color: var(--rt-gold); }
.rt-orn .rt-orn__gem { fill: var(--rt-ruby); }

/* ---------- buttons ---------- */
.rt-body .rt-btn {
  --b-bg: var(--rt-emerald); --b-fg: #fff; --b-bd: var(--rt-emerald);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 28px;
  border-radius: 999px; border: 1.5px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font: 600 1rem/1.2 var(--rt-sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .25s var(--rt-ease), color .25s var(--rt-ease), border-color .25s var(--rt-ease), transform .25s var(--rt-ease), box-shadow .25s var(--rt-ease);
}
.rt-body .rt-btn:hover { --b-bg: var(--rt-emerald-2); --b-bd: var(--rt-emerald-2); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(15, 76, 62, .7); }
.rt-body .rt-btn:active { transform: translateY(0); }
.rt-body .rt-btn svg { width: 18px; height: 18px; flex: none; }
.rt-body .rt-btn--gold { --b-bg: var(--rt-gold); --b-fg: var(--rt-ink); --b-bd: var(--rt-gold); }
.rt-body .rt-btn--gold:hover { --b-bg: #d4b06a; --b-bd: #d4b06a; box-shadow: 0 10px 24px -12px rgba(196, 160, 90, .9); }
.rt-body .rt-btn--ghost { --b-bg: transparent; --b-fg: var(--rt-ink); --b-bd: var(--rt-line-2); }
.rt-body .rt-btn--ghost:hover { --b-bg: var(--rt-ink); --b-fg: #fff; --b-bd: var(--rt-ink); box-shadow: none; }
.rt-body .rt-btn--light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .55); }
.rt-body .rt-btn--light:hover { --b-bg: #fff; --b-fg: var(--rt-ink); --b-bd: #fff; box-shadow: none; }
.rt-body .rt-btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.rt-body .rt-btn--lg { min-height: 60px; padding: 17px 38px; font-size: 1.12rem; gap: 12px; }
.rt-body .rt-btn--lg svg { width: 21px; height: 21px; }
.rt-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rt-head--center + .rt-actions, .rt-actions--center { justify-content: center; }
.rt-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--rt-emerald) !important; text-decoration: none !important; }
.rt-link svg { width: 18px; height: 18px; transition: transform .25s var(--rt-ease); }
.rt-link:hover svg { transform: translateX(4px); }
.rt-sec--night .rt-link { color: var(--rt-gold) !important; }

/* ---------- header ---------- */
.sl-section--rt-header { position: sticky; top: 0; z-index: 60; }
.rt-header { background: rgba(251, 248, 243, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.rt-header.is-scrolled { border-bottom-color: var(--rt-line); box-shadow: 0 8px 30px -22px rgba(23, 19, 15, .5); background: rgba(251, 248, 243, .96); }
.rt-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--rt-header-h); }
.rt-header__brand { flex: none; display: block; line-height: 0; }
.rt-header__brand img { height: 48px; width: auto; }
.rt-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.rt-body .rt-nav a { position: relative; text-decoration: none; color: var(--rt-ink); font-size: .98rem; font-weight: 500; padding: 8px 0; white-space: nowrap; }
.rt-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--rt-gold-2); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--rt-ease); }
.rt-nav a:hover::after, .rt-nav a.is-active::after { transform: scaleX(1); }
.rt-header__actions { display: flex; align-items: center; gap: 14px; }
.rt-body .rt-header__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; color: var(--rt-ink); }
.rt-header__tel svg { width: 18px; height: 18px; color: var(--rt-emerald); }
.rt-burger { display: none; position: relative; width: 46px; height: 46px; border: 1.5px solid var(--rt-line-2); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; color: var(--rt-ink); }
.rt-burger span, .rt-burger span::before, .rt-burger span::after { position: absolute; left: 50%; width: 18px; height: 1.6px; margin-left: -9px; background: currentColor; border-radius: 2px; transition: transform .3s var(--rt-ease), opacity .2s; content: ""; }
.rt-burger span { top: 50%; margin-top: -.8px; }
.rt-burger span::before { top: -6px; }
.rt-burger span::after { top: 6px; }
.rt-burger[aria-expanded="true"] span { background: transparent; }
.rt-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.rt-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.rt-drawer { position: fixed; inset: var(--rt-header-h) 0 0 0; z-index: 59; background: var(--rt-bg); overflow-y: auto; overscroll-behavior: contain; padding: 18px var(--rt-gutter) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 26px; opacity: 0; transform: translateY(-8px); transition: opacity .28s var(--rt-ease), transform .28s var(--rt-ease); }
.rt-drawer.is-open { opacity: 1; transform: none; }
.rt-drawer__nav { display: flex; flex-direction: column; border-top: 1px solid var(--rt-line); }
.rt-body .rt-drawer__nav a { display: flex; justify-content: space-between; align-items: center; font-family: var(--rt-serif); font-size: 1.75rem; line-height: 1.2; padding: 14px 2px; border-bottom: 1px solid var(--rt-line); text-decoration: none; color: var(--rt-ink); }
.rt-drawer__nav a svg { width: 20px; height: 20px; color: var(--rt-gold-2); }
.rt-drawer__nav a.is-active { color: var(--rt-emerald); }
.rt-drawer__meta { display: grid; gap: 10px; color: var(--rt-ink-2); }
.rt-body .rt-drawer__meta a { text-decoration: none; font-weight: 600; }
.rt-drawer .rt-btn { width: 100%; }
body.rt-lock { overflow: hidden; }

/* ---------- hero (home) ----------
   Not full-screen (Dace 07.10 about the old banner on her tablet: "pārplatu"): at most ~2/3 of the screen height, the
   headline and gaps also scale with the screen HEIGHT, so a landscape tablet still shows the next section. */
.rt-hero { position: relative; isolation: isolate; color: #fff; background: var(--rt-night); min-height: min(66vh, 620px); display: flex; align-items: flex-end; overflow: hidden; }
.rt-hero__media { position: absolute; inset: 0; z-index: -2; }
.rt-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.rt-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10, 9, 8, .82) 0%, rgba(10, 9, 8, .55) 42%, rgba(10, 9, 8, .08) 78%),
  linear-gradient(0deg, rgba(10, 9, 8, .7) 0%, rgba(10, 9, 8, 0) 45%); pointer-events: none; }
.rt-hero__inner { padding-block: clamp(48px, 9vh, 120px) clamp(28px, 5vh, 64px); }
.rt-hero__copy { max-width: 640px; }
.rt-hero .rt-h1 { color: #fff; text-wrap: balance; font-size: clamp(2.3rem, min(1.4rem + 3.6vw, .5rem + 7.5vh), 4.4rem); }
.rt-hero__lead { margin-top: 14px; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 520px; }
.rt-hero .rt-actions { margin-top: clamp(18px, 3.5vh, 32px); }
/* the three facts stay on ONE line (they need ~680px, wider than the 640px text column, so the row may run past it) */
.rt-hero__facts { list-style: none; display: flex; flex-wrap: nowrap; width: max-content; max-width: none; gap: 10px 28px; margin: clamp(18px, 4vh, 40px) 0 0; padding: clamp(12px, 2.4vh, 22px) 0 0; border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .86); font-size: .97rem; }
.rt-hero__facts li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.rt-hero__facts svg { width: 18px; height: 18px; color: var(--rt-gold); flex: none; }
.rt-body .rt-hero__facts a { text-decoration: none; color: inherit; }

/* ---------- ticker ---------- */
.rt-ticker { background: var(--rt-white); border-bottom: 1px solid var(--rt-line); overflow: hidden; padding: 20px 0; }
.rt-ticker__track { display: flex; width: max-content; animation: rt-marquee 38s linear infinite; }
.rt-ticker:hover .rt-ticker__track { animation-play-state: paused; }
.rt-ticker__set { display: flex; align-items: center; flex: none; }
.rt-ticker__item { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 40px); padding-right: clamp(22px, 3vw, 40px); font-family: var(--rt-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.2; white-space: nowrap; color: var(--rt-ink); }
.rt-ticker__item::after { content: ""; width: 14px; height: 14px; background: var(--rt-ruby); transform: rotate(45deg) scaleY(.8); flex: none; }
@keyframes rt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rt-ticker__track { animation: none; } }

/* ---------- value cards (icon top right, title top left, text below) ---------- */
.rt-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.rt-vcard { position: relative; background: var(--rt-white); border: 1px solid var(--rt-line); border-radius: var(--rt-r); padding: 30px 28px 30px; box-shadow: var(--rt-shadow); transition: transform .35s var(--rt-ease), box-shadow .35s var(--rt-ease); }
.rt-vcard:hover { transform: translateY(-3px); box-shadow: var(--rt-shadow-lg); }
.rt-vcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.rt-vcard__title { font-size: clamp(1.45rem, 1.3rem + .5vw, 1.75rem); line-height: 1.2; }
.rt-vcard__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--rt-gold-soft); color: var(--rt-gold-ink); }
.rt-vcard__icon svg { width: 24px; height: 24px; }
.rt-vcard__text { color: var(--rt-ink-2); font-size: 1rem; }
.rt-sec__foot { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- services: home cards ---------- */
.rt-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.rt-body .rt-svc { position: relative; display: flex; flex-direction: column; background: var(--rt-white); border: 1px solid var(--rt-line); border-radius: var(--rt-r); overflow: hidden; text-decoration: none; color: var(--rt-ink); box-shadow: var(--rt-shadow); transition: transform .35s var(--rt-ease), box-shadow .35s var(--rt-ease); }
.rt-svc:hover { transform: translateY(-4px); box-shadow: var(--rt-shadow-lg); }
.rt-svc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rt-sand); }
.rt-svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--rt-ease); }
.rt-svc:hover .rt-svc__media img { transform: scale(1.04); }
.rt-svc__price { position: absolute; right: 14px; top: 14px; background: rgba(255, 255, 255, .94); color: var(--rt-ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .92rem; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.rt-svc__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.rt-svc__title { font-family: var(--rt-serif); font-size: 1.55rem; line-height: 1.2; }
.rt-svc__text { color: var(--rt-muted); font-size: .98rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rt-svc__more { margin-top: auto; padding-top: 6px; }

/* ---------- services: all of them as cards (/pakalpojumi), the shape of the old page Dace likes ---------- */
.rt-svc2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.rt-svc2 { display: flex; flex-direction: column; background: var(--rt-white); border: 1px solid var(--rt-line); border-radius: var(--rt-arch); overflow: hidden; box-shadow: var(--rt-shadow); scroll-margin-top: calc(var(--rt-header-h) + 20px); }
.rt-svc2:target { box-shadow: 0 0 0 2px var(--rt-gold), var(--rt-shadow-lg); }
.rt-svc2__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--rt-sand); }
.rt-svc2__media img { width: 100%; height: 100%; object-fit: cover; }
.rt-svc2__body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 2vw, 26px); }
.rt-svc2__title { font-size: clamp(1.45rem, 1.3rem + .5vw, 1.75rem); line-height: 1.2; }
.rt-body .rt-svc2__price { margin: 8px 0 0; display: flex; align-items: baseline; gap: 8px; }
.rt-svc2__price small { font-size: .92rem; color: var(--rt-muted); }
.rt-svc2__price strong { font-family: var(--rt-serif); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--rt-gold-ink); }
.rt-svc2__text { margin-top: 14px; color: var(--rt-ink-2); font-size: .98rem; }
.rt-svc2__text ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.rt-svc2__text ul li { position: relative; padding-left: 20px; color: var(--rt-ink); font-weight: 500; line-height: 1.4; }
.rt-svc2__text ul li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 8px; height: 8px; background: var(--rt-ruby); transform: rotate(45deg) scaleY(.8); }
.rt-svc2__foot { margin-top: auto; padding-top: 20px; }
.rt-svc2__foot .rt-btn { width: 100%; }

/* ---------- salon gallery (dark band) ---------- */
.rt-gal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.rt-gal__head .rt-head { margin-bottom: 0; }
.rt-gal__nav { display: flex; gap: 10px; }
.rt-gal__btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--rt-night-line); background: transparent; color: var(--rt-on-night); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.rt-gal__btn:hover { background: var(--rt-gold); border-color: var(--rt-gold); color: var(--rt-ink); }
.rt-gal__btn svg { width: 20px; height: 20px; }
.rt-gal__btn:disabled { opacity: .35; pointer-events: none; }
.rt-gal__strip { --rt-edge: max(var(--rt-gutter), calc((100% - var(--rt-wrap)) / 2)); display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rt-edge); padding-inline: var(--rt-edge); padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rt-gal__strip::-webkit-scrollbar { display: none; }
.rt-gal__item { flex: none; width: clamp(240px, 27vw, 360px); aspect-ratio: 3 / 4; scroll-snap-align: start; border-radius: var(--rt-r); overflow: hidden; position: relative; background: var(--rt-night-2); cursor: zoom-in; border: 0; padding: 0; }
.rt-gal__item:first-child { border-radius: var(--rt-arch); }
.rt-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--rt-ease), opacity .4s; }
.rt-gal__item:hover img { transform: scale(1.04); }
.rt-gal__hint { margin-top: 18px; color: var(--rt-on-night-2); font-size: .92rem; }

/* lightbox */
.rt-lb { position: fixed; inset: 0; z-index: 300; background: rgba(10, 9, 8, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; opacity: 0; transition: opacity .25s; }
.rt-lb.is-open { opacity: 1; }
.rt-lb__img { grid-column: 2; justify-self: center; max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px -20px #000; }
.rt-lb button { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; justify-self: center; }
.rt-lb button:hover { background: rgba(255, 255, 255, .2); }
.rt-lb button svg { width: 22px; height: 22px; }
.rt-lb__close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; }
.rt-lb__count { position: absolute; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); text-align: center; color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* ---------- team ---------- */
.rt-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.rt-body .rt-tm { display: block; text-decoration: none; color: var(--rt-ink); }
.rt-tm__media { display: block; border-radius: var(--rt-arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--rt-sand); }
.rt-tm__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .9s var(--rt-ease); }
.rt-tm:hover .rt-tm__media img { transform: scale(1.035); }
.rt-tm__name { display: block; margin-top: 18px; font-family: var(--rt-serif); font-size: 1.9rem; line-height: 1.15; }
.rt-tm__role { display: block; margin-top: 4px; color: var(--rt-muted); font-size: .98rem; }

/* specialists page */
.rt-spec-list { display: grid; gap: clamp(22px, 3vw, 36px); }
.rt-spec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(22px, 4vw, 60px); background: var(--rt-white); border: 1px solid var(--rt-line); border-radius: var(--rt-r-lg); padding: clamp(16px, 2vw, 22px); box-shadow: var(--rt-shadow); scroll-margin-top: calc(var(--rt-header-h) + 20px); }
.rt-spec__media { border-radius: var(--rt-arch); overflow: hidden; aspect-ratio: 3 / 4; background: var(--rt-sand); align-self: start; }
.rt-spec__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rt-spec__body { padding: clamp(4px, 1.6vw, 20px) clamp(4px, 1.6vw, 20px) clamp(8px, 1.6vw, 20px) 0; }
.rt-spec__name { font-size: clamp(2rem, 1.6rem + 1.3vw, 2.8rem); line-height: 1.15; }
.rt-spec__role { margin-top: 6px; color: var(--rt-gold-ink); font-weight: 600; }
.rt-spec__bio { margin-top: 20px; color: var(--rt-ink-2); }
.rt-spec__bio strong { color: var(--rt-ink); font-weight: 600; }
.rt-quote { position: relative; margin: 26px 0 0; padding: 22px 24px 22px 76px; background: var(--rt-bg); border-radius: var(--rt-r); font-family: var(--rt-serif); font-size: 1.32rem; line-height: 1.4; color: var(--rt-ink); }
.rt-quote::before { content: "\201C"; position: absolute; left: 20px; top: 6px; font-family: var(--rt-serif); font-size: 4.6rem; line-height: 1; color: var(--rt-gold); }
.rt-spec .rt-actions { margin-top: 26px; }
