:root{--paper:#f7f5ef;--ink:#1b2925;--muted:#6b756f;--line:#dcded8;--green:#173d32;--copper:#a86d50;--soft:#e9efeb;font-family:Manrope,Arial,sans-serif;color:var(--ink)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper)}a{text-decoration:none;color:inherit}.site-container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(247,245,239,.9);backdrop-filter:blur(15px);border-bottom:1px solid rgba(220,222,216,.8)}.header-inner{height:86px;display:flex;align-items:center;justify-content:space-between;gap:30px}.doctor-brand{display:flex;align-items:center;gap:12px}.doctor-brand>span{width:46px;height:46px;border:1px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-weight:800}.doctor-brand b{display:flex;flex-direction:column;font-size:14px}.doctor-brand small{font-weight:500;color:var(--muted);margin-top:3px}.site-header nav{display:flex;gap:22px;font-size:13px}.site-menu{display:none;border:0;background:transparent;font-size:24px}.doctor-hero{padding:80px 0 70px}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:80px;align-items:center}.eyebrow,.section-title>span{text-transform:uppercase;letter-spacing:.13em;font-size:11px;color:var(--copper);font-weight:800}.hero-copy h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(52px,7vw,86px);line-height:1.02;letter-spacing:-.05em;margin:20px 0 24px}.hero-copy>p{font-size:18px;line-height:1.7;color:var(--muted);max-width:650px}.site-button{display:inline-flex;padding:15px 22px;border-radius:99px;background:var(--green);color:#fff;font-weight:700;margin-top:16px}.facts{display:flex;gap:38px;margin-top:45px}.facts div{display:flex;flex-direction:column}.facts b{font-family:Georgia,serif;font-size:28px;font-weight:400}.facts span{font-size:11px;color:var(--muted);margin-top:5px}.hero-photo{background:#cad8d1;border-radius:220px 220px 26px 26px;padding:18px 18px 0;position:relative}.hero-photo>img,.about-photo>img{width:100%;height:560px;object-fit:cover;border-radius:205px 205px 20px 20px;display:block}.photo-placeholder{height:560px;display:grid;place-items:center;font-size:100px;font-family:Georgia,serif;color:#fff}.doctor-caption{background:#fff;padding:20px;border-radius:18px;display:flex;justify-content:space-between;gap:16px;transform:translateY(22px);box-shadow:0 18px 40px rgba(20,40,33,.12)}.doctor-caption span{color:var(--muted);font-size:12px}.site-section{padding:110px 0}.site-section.soft{background:var(--soft)}.site-section.dark{background:#13241f;color:#fff}.section-title{margin-bottom:42px}.section-title h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(38px,5vw,58px);line-height:1.1;margin:12px 0}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-grid article,.location-grid article{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px}.service-grid i{font-style:normal;color:var(--copper);font-weight:800;font-size:12px}.service-grid h3,.book-grid h3,.media-grid h3,.timeline h3,.location-grid h3{font-family:Georgia,serif;font-size:25px;font-weight:400}.service-grid p,.book-grid p,.timeline p,.location-grid p,.rich-text{color:var(--muted);line-height:1.7}.service-grid small{display:block;margin-top:25px;color:var(--muted)}.about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:center}.about-photo{position:relative}.about-photo>img{border-radius:220px 220px 24px 24px;background:#cad8d1}.about-photo blockquote{position:absolute;right:-30px;bottom:22px;max-width:300px;background:#fff;padding:24px;border-radius:18px;font-family:Georgia,serif;line-height:1.5;box-shadow:0 18px 40px rgba(20,40,33,.12)}.about-row{display:grid;grid-template-columns:130px 1fr;gap:24px;padding:22px 0;border-top:1px solid var(--line);font-size:13px}.about-row span{color:var(--muted);line-height:1.6}.book-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.book-grid article{display:grid;grid-template-columns:180px 1fr;gap:25px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;align-items:center}.book-cover{aspect-ratio:.72;background:var(--green);color:#fff;padding:24px;display:flex;align-items:center;border-radius:5px 16px 16px 5px;box-shadow:10px 15px 25px rgba(0,0,0,.15)}.book-cover img{width:100%;height:100%;object-fit:cover}.book-grid small{color:var(--muted)}.book-grid a,.media-grid a,.location-grid a{font-weight:750;color:var(--copper)}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.media-grid article{border:1px solid rgba(255,255,255,.15);border-radius:22px;padding:18px}.media-visual{min-height:240px;border-radius:15px;background:radial-gradient(circle at 30% 20%,#6f9b87,transparent 35%),#203c33;padding:18px}.media-visual span{font-size:11px;text-transform:uppercase;letter-spacing:.1em}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.review-grid article{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;display:flex;flex-direction:column}.review-grid article>div{color:var(--copper)}.review-grid p{font-family:Georgia,serif;font-size:20px;line-height:1.55;flex:1}.review-grid small{color:var(--muted);margin-top:5px}.history-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:70px}.timeline{display:grid;grid-template-columns:110px 1fr;gap:22px;padding:28px 0;border-top:1px solid var(--line)}.timeline>b{color:var(--copper)}.timeline h3{margin:0 0 8px}.timeline p{margin:0}.location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.location-grid article>div{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:18px 0;font-size:12px}.location-grid article>a{display:block;margin-top:12px}footer{background:#101c18;color:#fff;padding:55px 0}footer>.site-container{display:flex;justify-content:space-between;align-items:center}footer .doctor-brand small{color:#9eaaa5}footer .doctor-brand>span{border-color:#fff}footer .site-container>div:last-child{display:flex;gap:20px}
@media(max-width:960px){.site-header nav{display:none;position:absolute;top:86px;left:20px;right:20px;background:var(--paper);border:1px solid var(--line);padding:20px;border-radius:18px;flex-direction:column}.site-header nav.is-open{display:flex}.site-menu{display:block}.hero-grid,.about-grid,.history-grid{grid-template-columns:1fr}.service-grid,.media-grid,.review-grid,.location-grid{grid-template-columns:1fr 1fr}.hero-photo{max-width:620px}.book-grid{grid-template-columns:1fr}.about-photo blockquote{right:20px}.section-title{margin-bottom:30px}}
@media(max-width:640px){.site-container{width:min(100% - 28px,1180px)}.doctor-brand b{display:none}.doctor-hero{padding:55px 0}.hero-grid{gap:45px}.hero-copy h1{font-size:52px}.facts{gap:18px;justify-content:space-between}.facts b{font-size:22px}.hero-photo>img,.about-photo>img,.photo-placeholder{height:420px}.site-section{padding:78px 0}.service-grid,.media-grid,.review-grid,.location-grid{grid-template-columns:1fr}.book-grid article{grid-template-columns:1fr}.book-cover{width:170px}.about-photo blockquote{position:relative;right:auto;bottom:auto;margin:-45px 14px 0}.about-row,.timeline{grid-template-columns:1fr;gap:8px}footer>.site-container,footer .site-container>div:last-child{align-items:flex-start;flex-direction:column;gap:14px}}
.preview-bar{position:sticky;top:0;z-index:1000;display:flex;justify-content:center;align-items:center;gap:18px;padding:10px 20px;background:#17211e;color:#fff;font:600 13px Arial,sans-serif}.preview-bar a{padding:7px 12px;border-radius:8px;background:#fff;color:#17211e;text-decoration:none}@media(max-width:600px){.preview-bar{justify-content:space-between}}
.media-visual{position:relative;overflow:hidden}.media-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.media-visual span{position:relative;z-index:1}

/* Personeo 1.7 — темы и композиции */
.site-main{display:flex;flex-direction:column}.theme-sage{--accent:#1f6957;--accent-dark:#174b40;--soft:#edf5f1;--ink:#17312a}.theme-blue{--accent:#2563a8;--accent-dark:#184978;--soft:#edf4fb;--ink:#172b3e}.theme-sand{--accent:#9a6936;--accent-dark:#6f4926;--soft:#f7f1e8;--ink:#352a20}.theme-graphite{--accent:#343b42;--accent-dark:#171b1f;--soft:#eef0f2;--ink:#191d21}.theme-blue .site-button,.theme-sand .site-button,.theme-graphite .site-button,.theme-blue .doctor-brand>span,.theme-sand .doctor-brand>span,.theme-graphite .doctor-brand>span{background:var(--accent)}.theme-blue .eyebrow,.theme-sand .eyebrow,.theme-graphite .eyebrow,.theme-blue .section-title>span,.theme-sand .section-title>span,.theme-graphite .section-title>span{color:var(--accent)}.theme-blue .soft,.theme-sand .soft,.theme-graphite .soft{background:var(--soft)}.font-classic h1,.font-classic h2,.font-classic h3,.font-classic .doctor-brand b{font-family:Georgia,'Times New Roman',serif}.hero-centered .hero-grid{grid-template-columns:1fr;text-align:center;max-width:900px}.hero-centered .hero-copy{margin:auto}.hero-centered .hero-photo{max-width:560px;margin:32px auto 0}.hero-centered .facts,.hero-centered .hero-messengers{justify-content:center}.hero-portrait .hero-grid{grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr)}.hero-portrait .hero-photo{order:-1}.hero-portrait .hero-photo img{min-height:650px;object-fit:cover}.hero-messengers{display:flex;gap:10px;margin-top:16px}.hero-messengers a{display:inline-flex;padding:10px 15px;border:1px solid color-mix(in srgb,var(--accent) 28%,transparent);border-radius:999px;color:var(--accent);text-decoration:none;font-weight:700;background:#fff}@media(max-width:800px){.hero-portrait .hero-grid{grid-template-columns:1fr}.hero-portrait .hero-photo{order:0}.hero-portrait .hero-photo img{min-height:0}.hero-messengers{flex-wrap:wrap}}

/* Personeo 2.3 */
.theme-violet{--accent:#624c82;--accent2:#493667;--soft:#f0ebf6;--ink:#211a2a}.theme-terracotta{--accent:#a3543d;--accent2:#793c2c;--soft:#f8eae4;--ink:#301c17}.social-links{flex-wrap:wrap}.footer-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.footer-socials a,.legal-footer a{font-size:13px}.legal-footer{padding-top:20px!important;border-top:1px solid rgba(127,140,134,.22);display:flex!important;justify-content:flex-start!important;gap:18px;flex-wrap:wrap}.cookie-banner{position:fixed;z-index:1000;left:24px;right:24px;bottom:24px;max-width:980px;margin:auto;padding:20px 22px;border:1px solid rgba(40,65,57,.18);border-radius:22px;background:#fff;box-shadow:0 22px 70px rgba(20,43,36,.22);display:flex;justify-content:space-between;gap:25px;align-items:center}.cookie-banner[hidden]{display:none}.cookie-banner p{margin:6px 0;font-size:14px;line-height:1.5;color:#66716d}.cookie-banner a{font-size:13px;text-decoration:underline}.cookie-actions{display:flex;gap:9px;flex-shrink:0}.cookie-actions button{border:1px solid #d8e0dc;border-radius:999px;padding:11px 16px;background:#fff;cursor:pointer}.cookie-actions .site-button{border:0}.legal-public{min-height:100vh;background:var(--soft,#f5f7f5);color:var(--ink,#16231f)}.legal-document{max-width:850px;margin:0 auto;padding:70px 24px 110px}.legal-document>a{display:inline-block;margin-bottom:35px}.legal-document h1{font-size:clamp(38px,6vw,64px);letter-spacing:-.045em}.legal-document h2{margin-top:35px;font-size:22px}.legal-document p{font-size:16px;line-height:1.75}.legal-updated{color:#6c7772}.legal-note{margin-top:40px;padding:18px;border-radius:15px;background:rgba(255,255,255,.65);font-size:13px;line-height:1.55}@media(max-width:680px){.cookie-banner{left:12px;right:12px;bottom:12px;display:block}.cookie-actions{margin-top:14px}.cookie-actions button{flex:1}.legal-footer{display:grid!important}}

.theme-violet .site-button,.theme-terracotta .site-button,.theme-violet .doctor-brand>span,.theme-terracotta .doctor-brand>span{background:var(--accent)}.theme-violet .eyebrow,.theme-terracotta .eyebrow,.theme-violet .section-title>span,.theme-terracotta .section-title>span{color:var(--accent)}.theme-violet .soft,.theme-terracotta .soft{background:var(--soft)}

/* Personeo 2.4 */
.article-shell{width:min(980px,calc(100% - 32px));margin:0 auto;padding:48px 0 90px}.article-shell>a{font-weight:750;color:var(--copper)}.article-shell header{padding:60px 0 35px}.article-shell h1{font-family:Georgia,serif;font-size:clamp(48px,8vw,82px);font-weight:400}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.article-grid article{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px}.article-grid img{width:100%;aspect-ratio:1.55;object-fit:cover;border-radius:15px}.article-grid h2,.article-grid h3{font-family:Georgia,serif;font-weight:400;font-size:26px}.article-grid p,.article-page p{color:var(--muted);line-height:1.7}.article-grid a{font-weight:800;color:var(--copper)}.article-page{max-width:780px;margin:45px auto}.article-page>img{width:100%;max-height:520px;object-fit:cover;border-radius:26px}.article-page h1{margin-bottom:18px}.article-lead{font-size:21px}.article-content{font-size:18px;line-height:1.85;white-space:normal}.lead-section{background:var(--soft)}.lead-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.lead-layout h2{font-family:Georgia,serif;font-size:clamp(40px,6vw,64px);font-weight:400}.lead-layout>div>p{color:var(--muted);line-height:1.7}.public-lead-form{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;display:grid;gap:16px}.public-lead-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.public-lead-form input,.public-lead-form textarea{width:100%;padding:14px;border:1px solid var(--line);border-radius:13px;font:inherit;background:#fff}.lead-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.consent-check{grid-template-columns:auto 1fr!important;align-items:flex-start}.consent-check input{width:auto;margin-top:3px}.consent-check span{font-weight:500;line-height:1.5}.form-warning{padding:12px 14px;border-radius:12px;background:#fff4e8;color:#7b4d24;font-size:13px}.hp-field{position:absolute!important;left:-9999px!important}.articles-teaser{background:var(--paper)}@media(max-width:850px){.article-grid{grid-template-columns:1fr 1fr}.lead-layout{grid-template-columns:1fr}}@media(max-width:560px){.article-grid,.lead-two{grid-template-columns:1fr}.public-lead-form{padding:20px}}
/* Personeo 2.7.0 */
.report-footer{padding-top:16px;padding-bottom:24px}.report-link{border:0;background:none;color:inherit;opacity:.58;text-decoration:underline;cursor:pointer}.report-dialog{width:min(560px,calc(100% - 28px));border:0;border-radius:24px;padding:0;box-shadow:0 30px 90px rgba(0,0,0,.28)}.report-dialog::backdrop{background:rgba(13,22,18,.56)}.report-dialog form{display:grid;gap:14px;padding:28px;position:relative}.report-dialog label{display:grid;gap:7px}.report-dialog input,.report-dialog select,.report-dialog textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid rgba(20,40,32,.18);border-radius:12px;font:inherit}.report-close{position:absolute;right:16px;top:12px;border:0;background:none;font-size:28px;cursor:pointer}.site-error-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f2eb}.site-error-page>div{max-width:620px;text-align:center}.site-error-page h1{font-size:clamp(38px,7vw,76px);margin:14px 0}.site-error-page a{display:inline-block;margin-top:16px;padding:13px 20px;border-radius:999px;background:#1d4f3e;color:#fff;text-decoration:none}
/* Personeo 2.9 public templates */
.template-minimal .site-section{padding-top:72px;padding-bottom:72px}.template-minimal .doctor-hero{min-height:74vh}.template-portfolio .media-grid,.template-portfolio .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-premium .site-main{background:#f4f1ea}.template-premium .doctor-hero{min-height:90vh}.template-bold h1,.template-bold h2{letter-spacing:-.05em}.template-bold .site-button{transform:rotate(-1deg)}.cards-square article,.cards-square .service-card,.cards-square .book-cover{border-radius:0!important}.cards-soft article{border-radius:12px!important}.cards-pill article{border-radius:34px!important}.doctor-hero[style*="background-image"]{background-size:cover;background-position:center;color:#fff}.doctor-hero[style*="background-image"] .hero-copy p,.doctor-hero[style*="background-image"] .facts span{color:rgba(255,255,255,.82)}.custom-builder-section{padding:88px 0}.custom-builder-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:54px}.custom-builder-image img{width:100%;max-height:620px;object-fit:cover;border-radius:28px}.custom-bg-soft{background:#f1f5f2}.custom-bg-dark{background:#1e2926;color:#fff}.custom-bg-dark p{color:rgba(255,255,255,.75)}.custom-bg-accent{background:var(--accent,#245f53);color:#fff}.custom-type-quote .custom-builder-grid{display:block;max-width:900px;text-align:center}.custom-type-quote h2{font-size:clamp(34px,5vw,68px)}.sticky-contact-bar{position:fixed;z-index:80;right:22px;bottom:22px;display:flex;gap:8px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);padding:8px;border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.18)}.sticky-contact-bar a{padding:12px 17px;border-radius:12px;text-decoration:none;background:#1d6b58;color:#fff;font-weight:700}.sticky-contact-bar a+ a{background:#eef4f1;color:#184f43}@media(max-width:720px){.custom-builder-grid{grid-template-columns:1fr;gap:28px}.sticky-contact-bar{left:12px;right:12px;bottom:12px;justify-content:center}.sticky-contact-bar a{flex:1;text-align:center}.template-portfolio .media-grid,.template-portfolio .article-grid{grid-template-columns:1fr}}

/* Personeo 2.10 article content */
.article-content h2,.article-content h3,.article-content h4{margin:1.5em 0 .55em}.article-content p{line-height:1.75}.article-content blockquote{margin:1.5em 0;padding:18px 22px;border-left:4px solid currentColor;background:rgba(127,127,127,.08)}.article-content pre{overflow:auto;padding:18px;border-radius:14px;background:#151817;color:#f7f7f7}.article-table-wrap{overflow:auto}.article-content table{width:100%;border-collapse:collapse}.article-content td{border:1px solid rgba(127,127,127,.25);padding:10px}.article-checklist{list-style:none;padding-left:0}

/* Personeo 2.11.8 — cookie consent button contrast */
.cookie-actions .site-button,
.cookie-actions button.site-button {
  margin-top: 0;
  border: 1px solid var(--accent, var(--green, #173d32));
  background: var(--accent, var(--green, #173d32));
  color: #fff;
  box-shadow: 0 8px 22px rgba(20, 43, 36, .16);
}
.cookie-actions .site-button:hover,
.cookie-actions button.site-button:hover {
  background: var(--accent-dark, var(--accent2, var(--green, #173d32)));
  border-color: var(--accent-dark, var(--accent2, var(--green, #173d32)));
  color: #fff;
}
.cookie-actions .site-button:focus-visible,
.cookie-actions button.site-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent, var(--green, #173d32)) 35%, transparent);
  outline-offset: 3px;
}

/* Personeo client-site motion system 2.18.2 */
.motion-ready [data-motion] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
.motion-ready [data-motion="soft"] { transform: translate3d(0, 12px, 0); }
.motion-ready [data-motion="left"] { transform: translate3d(-18px, 0, 0); }
.motion-ready [data-motion="right"] { transform: translate3d(18px, 0, 0); }
.motion-ready [data-motion].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
.site-button,
.site-section article,
.service-card,
.review-card,
.book-card,
.media-card,
.location-card,
.custom-card,
.article-grid article,
.hero-photo img,
.hero-photo .photo-placeholder {
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    box-shadow .28s ease,
    border-color .28s ease;
}
@media (hover:hover) and (pointer:fine) {
  .site-button:hover { transform: translateY(-2px); }
  .service-card:hover,
  .review-card:hover,
  .book-card:hover,
  .media-card:hover,
  .location-card:hover,
  .custom-card:hover,
  .article-grid article:hover { transform: translateY(-4px); }
  .hero-photo:hover img,
  .hero-photo:hover .photo-placeholder { transform: scale(1.012); }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-motion],
  .motion-ready [data-motion].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .site-button,
  .site-section article,
  .service-card,
  .review-card,
  .book-card,
  .media-card,
  .location-card,
  .custom-card,
  .article-grid article,
  .hero-photo img,
  .hero-photo .photo-placeholder { transition: none !important; }
}


/* Personeo premium motion system 2.18.3 */
:root {
  --motion-ease-premium: cubic-bezier(.16, 1, .3, 1);
  --motion-ease-soft: cubic-bezier(.22, 1, .36, 1);
}
html.premium-smooth-scroll { scroll-behavior: auto; }
.premium-motion [data-premium-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--premium-shift, 24px), 0);
  transition: opacity .82s var(--motion-ease-premium), transform .9s var(--motion-ease-premium);
  transition-delay: var(--premium-delay, 0ms);
  will-change: opacity, transform;
}
.premium-motion [data-premium-reveal="label"] { --premium-shift: 12px; transition-duration: .62s; }
.premium-motion [data-premium-reveal="text"] { --premium-shift: 18px; }
.premium-motion [data-premium-reveal="card"] { --premium-shift: 28px; }
.premium-motion [data-premium-reveal].is-premium-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
  will-change: auto;
}
.premium-heading { visibility: hidden; }
.premium-heading.is-split { visibility: visible; }
.premium-heading .premium-word-clip {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: .22em;
  margin-bottom: -.08em;
  padding-bottom: .08em;
}
.premium-heading .premium-word {
  display: inline-block;
  transform: translate3d(0, 112%, 0);
  opacity: 0;
  transition: transform 1.05s var(--motion-ease-premium), opacity .7s ease;
  transition-delay: calc(var(--premium-line, 0) * 110ms + var(--premium-word, 0) * 16ms + 90ms);
}
.premium-heading.is-premium-visible .premium-word { transform: translate3d(0,0,0); opacity: 1; }
.premium-letter-motion .premium-letter {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, .28em, 0);
  transition: opacity .48s ease, transform .58s var(--motion-ease-premium);
  transition-delay: calc(var(--premium-letter, 0) * 18ms);
}
.premium-letter-motion.is-premium-visible .premium-letter { opacity: 1; transform: none; }
.btn,.site-button,.public-menu-toggle {
  transition: transform .45s var(--motion-ease-premium), box-shadow .45s ease, background-color .45s ease, color .45s ease, border-color .45s ease;
  transform: translate3d(var(--magnetic-x,0),var(--magnetic-y,0),0) scale(var(--button-scale,1));
  will-change: transform;
}
.btn,.site-button { position: relative; overflow: hidden; isolation: isolate; }
.btn::after,.site-button::after {
  content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit;
  background:color-mix(in srgb,currentColor 14%,transparent);
  transform:translate3d(0,105%,0);
  transition:transform .55s var(--motion-ease-premium);
}
@media (hover:hover) and (pointer:fine) {
  .btn:hover,.site-button:hover { --button-scale:1.045; }
  .btn:hover::after,.site-button:hover::after { transform:translate3d(0,0,0); }
  .premium-card-hover { transition: transform .55s var(--motion-ease-premium), box-shadow .55s ease, border-color .45s ease; }
  .premium-card-hover:hover { transform:translate3d(0,-7px,0); }
}
@media (max-width:900px) {
  .premium-motion [data-premium-reveal] { --premium-shift: 14px; transition-duration:.62s; }
  .premium-heading .premium-word { transition-duration:.82s; transition-delay:calc(var(--premium-line,0)*75ms + var(--premium-word,0)*10ms + 40ms); }
  .btn,.site-button,.public-menu-toggle { --magnetic-x:0px!important; --magnetic-y:0px!important; }
}
@media (prefers-reduced-motion: reduce) {
  html.premium-smooth-scroll { scroll-behavior:auto!important; }
  .premium-motion [data-premium-reveal],
  .premium-motion [data-premium-reveal].is-premium-visible,
  .premium-heading .premium-word,
  .premium-heading.is-premium-visible .premium-word,
  .premium-letter-motion .premium-letter,
  .premium-letter-motion.is-premium-visible .premium-letter {
    opacity:1!important; transform:none!important; transition:none!important;
  }
  .premium-heading { visibility:visible!important; }
  .btn,.site-button,.public-menu-toggle,.premium-card-hover { transition:none!important; transform:none!important; }
  .btn::after,.site-button::after { display:none!important; }
}
