/*
Theme Name: Hotels Moscow
Theme URI: https://hotels.moscow/
Author: Hotels Moscow
Author URI: https://hotels.moscow/
Description: Независимый журнальный гид и стандарт проверки отелей Москвы.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: hotels-moscow
*/

:root {
  --hm-ink: #12243d;
  --hm-ink-2: #1d3551;
  --hm-teal: #087f8c;
  --hm-cyan: #52c7cb;
  --hm-cream: #f4f0e8;
  --hm-paper: #fffdf8;
  --hm-white: #fff;
  --hm-muted: #64717e;
  --hm-line: #dce3e2;
  --hm-warm: #d65d3d;
  --hm-gold: #d4a43b;
  --hm-radius: 1.5rem;
  --hm-shadow: 0 24px 70px rgba(18, 36, 61, .12);
  --hm-wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--hm-ink); background: var(--hm-paper); font-family: Inter, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--hm-teal); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 9999; top: 1rem; left: 1rem; width: auto; height: auto; margin: 0; padding: .8rem 1rem; clip: auto; background: #fff; color: var(--hm-ink); }
.hm-wrap { width: min(calc(100% - 40px), var(--hm-wrap)); margin-inline: auto; }
.hm-kicker { margin: 0 0 .7rem; color: var(--hm-teal); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hm-kicker a { color: inherit; text-decoration: none; }
.hm-kicker a:hover { color: var(--hm-ink); }
.hm-kicker--light { color: var(--hm-cyan); }
.hm-display { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 6.8vw, 6.8rem); font-weight: 400; line-height: .92; letter-spacing: -.055em; }
.hm-section-title { max-width: 820px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 4.4vw, 4.3rem); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.hm-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; color: #405064; }
.hm-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: .7rem; padding: .75rem 1.15rem; border: 1px solid var(--hm-ink); border-radius: 999px; background: var(--hm-ink); color: #fff; font-size: .87rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hm-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,36,61,.18); color: #fff; }
.hm-button--light { border-color: #fff; background: #fff; color: var(--hm-ink); }
.hm-button--light:hover { color: var(--hm-ink); }
.hm-button--ghost { background: transparent; color: var(--hm-ink); }
.hm-button--ghost:hover { background: var(--hm-ink); color: #fff; }

.hm-topline { padding: .58rem 0; background: var(--hm-ink); color: #d9e7ec; font-size: .72rem; letter-spacing: .05em; }
.hm-topline__inner { display: flex; justify-content: space-between; gap: 1rem; }
.hm-topline__status { display: inline-flex; align-items: center; gap: .45rem; }
.hm-topline__status::before { width: 7px; height: 7px; border-radius: 50%; background: var(--hm-cyan); box-shadow: 0 0 0 4px rgba(82,199,203,.14); content: ''; }
.hm-topline a { text-decoration: none; }
.site-header { position: sticky; z-index: 80; top: 0; border-bottom: 1px solid rgba(18,36,61,.09); background: rgba(255,253,248,.94); backdrop-filter: blur(16px); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.hm-brand { display: flex; align-items: center; gap: .8rem; color: var(--hm-ink); text-decoration: none; }
.hm-brand:hover { color: var(--hm-ink); }
.hm-mark { width: 56px; height: 44px; flex: 0 0 56px; object-fit: contain; display: block; }
.hm-brand__name { display: block; font-size: 1.05rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.hm-brand__tag { display: block; margin-top: .28rem; color: var(--hm-muted); font-size: .63rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hm-nav { display: flex; align-items: center; gap: 1.6rem; }
.hm-nav ul { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.hm-nav a { font-size: .86rem; font-weight: 750; text-decoration: none; }
.hm-nav .hm-nav__cta { padding: .65rem .95rem; border-radius: 999px; background: var(--hm-ink); color: #fff; }
.hm-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--hm-line); border-radius: 50%; background: transparent; }
.hm-menu-toggle span, .hm-menu-toggle::before, .hm-menu-toggle::after { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--hm-ink); content: ''; }

.hm-standard-bar { background: var(--hm-cyan); color: var(--hm-ink); }
.hm-standard-bar__inner { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: .9rem; text-align: center; }
.hm-standard-bar__label { padding: .25rem .5rem; border: 1px solid rgba(18,36,61,.28); border-radius: 999px; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hm-standard-bar strong { font-size: .83rem; }
.hm-standard-bar a { font-size: .82rem; font-weight: 850; }

.hm-hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 8rem) 0 5rem; background: var(--hm-ink); color: #fff; }
.hm-hero::before { position: absolute; inset: -20% auto auto 56%; width: 54vw; height: 54vw; border: 1px solid rgba(82,199,203,.22); border-radius: 50%; content: ''; }
.hm-hero::after { position: absolute; right: -9vw; bottom: -28vw; width: 52vw; height: 52vw; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgba(82,199,203,.22), transparent 68%); content: ''; }
.hm-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(350px,.96fr); gap: clamp(2.5rem,6vw,6.5rem); align-items: center; }
.hm-hero .hm-display em { color: var(--hm-cyan); font-style: italic; }
.hm-hero__intro { max-width: 620px; margin: 1.8rem 0 0; color: #c9d4df; font-size: 1.1rem; }
.hm-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hm-hero__link { display: inline-flex; align-items: center; padding: .7rem 0; color: #fff; font-size: .86rem; font-weight: 800; text-decoration: none; }
.hm-feature { position: relative; overflow: hidden; min-height: 540px; border-radius: var(--hm-radius); background: #203752; box-shadow: 0 34px 90px rgba(0,0,0,.28); }
.hm-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.hm-feature:hover img { transform: scale(1.035); }
.hm-feature::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,24,42,.92)); content: ''; }
.hm-feature__fallback { position: absolute; inset: 0; background: linear-gradient(145deg,#176b87,#10243e 70%); }
.hm-feature__content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 2rem; }
.hm-feature__meta { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hm-feature__badge { padding: .35rem .55rem; border-radius: 999px; background: var(--hm-cyan); color: var(--hm-ink); }
.hm-feature h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(2rem,3.2vw,3.3rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.hm-feature a { color: #fff; text-decoration: none; }

.hm-proof { border-bottom: 1px solid var(--hm-line); background: #fff; }
.hm-proof__grid { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); }
.hm-proof__item { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 1.6rem 2rem; border-left: 1px solid var(--hm-line); }
.hm-proof__item:first-child { border-left: 0; padding-left: 0; }
.hm-proof__item strong { font-family: Georgia,serif; font-size: 1.8rem; font-weight: 400; line-height: 1.1; }
.hm-proof__item span { margin-top: .35rem; color: var(--hm-muted); font-size: .78rem; }
.hm-proof__quote { color: var(--hm-teal); font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.hm-latest { padding: clamp(5rem,9vw,9rem) 0; }
.hm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.hm-section-head__copy { max-width: 500px; color: var(--hm-muted); }
.hm-card-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 1.5rem; }
.hm-card { grid-column: span 4; position: relative; }
.hm-card:first-child { grid-column: span 7; grid-row: span 2; }
.hm-card:nth-child(2), .hm-card:nth-child(3) { grid-column: span 5; }
.hm-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: 16/11; border-radius: 1.15rem; background: #d9e5e3; }
.hm-card:first-child .hm-card__image { aspect-ratio: 4/3; }
.hm-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hm-card:hover .hm-card__image img { transform: scale(1.035); }
.hm-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#cbe2df,#f4f0e8); }
.hm-card__tag { position: absolute; top: 1rem; left: 1rem; padding: .35rem .55rem; border-radius: 999px; background: rgba(255,255,255,.94); font-size: .63rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hm-card__body { padding: 1.25rem .2rem 0; }
.hm-card__meta { color: var(--hm-teal); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hm-card__meta a { text-decoration: none; }
.hm-card h3 { margin: .55rem 0 .65rem; font-family: Georgia,serif; font-size: clamp(1.45rem,2.3vw,2.35rem); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.hm-card:nth-child(n+2) h3 { font-size: clamp(1.35rem,1.8vw,1.75rem); }
.hm-card h3 a { text-decoration: none; }
.hm-card__excerpt { margin: 0; color: var(--hm-muted); font-size: .91rem; }

.hm-method { overflow: hidden; padding: clamp(5rem,9vw,8rem) 0; background: var(--hm-cream); }
.hm-method__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem,7vw,8rem); align-items: center; }
.hm-scorecard { position: relative; padding: 1.7rem; border-radius: var(--hm-radius); background: #fff; box-shadow: var(--hm-shadow); transform: rotate(-1.5deg); }
.hm-scorecard::before { position: absolute; top: -14px; right: 40px; width: 80px; height: 30px; background: rgba(212,164,59,.48); content: ''; transform: rotate(5deg); }
.hm-scorecard__head { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 2px solid var(--hm-ink); }
.hm-scorecard__head strong { font-family: Georgia,serif; font-size: 1.4rem; }
.hm-scorecard__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--hm-line); }
.hm-scorecard__dots { display: flex; gap: .32rem; align-items: center; }
.hm-scorecard__dots i { width: 10px; height: 10px; border: 1px solid #9dafb5; border-radius: 50%; }
.hm-scorecard__dots i.on { border-color: var(--hm-teal); background: var(--hm-teal); }
.hm-method__steps { display: grid; gap: 0; margin: 2.2rem 0; counter-reset: steps; }
.hm-method__step { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(18,36,61,.14); counter-increment: steps; }
.hm-method__step::before { color: var(--hm-teal); font-size: .75rem; font-weight: 900; content: '0' counter(steps); }
.hm-method__step strong { display: block; margin-bottom: .2rem; }
.hm-method__step span { color: var(--hm-muted); font-size: .9rem; }

.hm-usecases { padding: clamp(5rem,9vw,8rem) 0; }
.hm-usecases__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 3rem; overflow: hidden; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); background: var(--hm-line); }
.hm-usecase { min-height: 270px; display: flex; flex-direction: column; padding: 1.7rem; background: #fff; }
.hm-usecase__number { color: var(--hm-cyan); font-family: Georgia,serif; font-size: 2.5rem; }
.hm-usecase h3 { margin: auto 0 .5rem; font-family: Georgia,serif; font-size: 1.45rem; font-weight: 400; }
.hm-usecase p { margin: 0; color: var(--hm-muted); font-size: .86rem; }

.hm-join { padding: 0 0 clamp(5rem,9vw,8rem); }
.hm-join__box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; min-height: 420px; border-radius: var(--hm-radius); background: var(--hm-teal); color: #fff; }
.hm-join__content { position: relative; z-index: 2; padding: clamp(2rem,5vw,5rem); }
.hm-join__content p { max-width: 620px; color: #d7f0f1; }
.hm-join__stamp { display: grid; place-items: center; min-height: 100%; border-left: 1px solid rgba(255,255,255,.22); }
.hm-join__stamp span { width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-size: .73rem; font-weight: 900; letter-spacing: .11em; text-align: center; text-transform: uppercase; transform: rotate(8deg); }

.site-footer { padding: 4rem 0 2rem; background: var(--hm-ink); color: #d0d9e2; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; padding-bottom: 3rem; }
.site-footer .hm-brand { color: #fff; }
.site-footer .hm-mark { width: 64px; height: 52px; flex-basis: 64px; filter: drop-shadow(0 0 12px rgba(255,255,255,.18)); }
.site-footer .hm-brand__tag, .site-footer p { color: #9fb0bf; }
.site-footer h2 { margin: 0 0 1rem; color: #fff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .45rem 0; }
.site-footer a { text-decoration: none; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: #8194a4; font-size: .75rem; }

.hm-page-hero { padding: clamp(4rem,8vw,7rem) 0 3rem; background: var(--hm-cream); }
.hm-page-hero h1 { max-width: 960px; margin: 0; font-family: Georgia,serif; font-size: clamp(2.7rem,6vw,5.7rem); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.hm-archive { padding: 4rem 0 7rem; }
.hm-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem 1.5rem; }
.hm-pagination { margin-top: 4rem; }
.hm-pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.hm-pagination a, .hm-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--hm-line); border-radius: 50%; text-decoration: none; }
.hm-pagination .current { background: var(--hm-ink); color: #fff; }

.hm-article { padding-bottom: 7rem; }
.hm-article__head { padding: clamp(4rem,8vw,7rem) 0 3rem; }
.hm-material-type { width: fit-content; display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; padding: .4rem .65rem .4rem .45rem; border: 1px solid rgba(8,127,140,.22); border-radius: 999px; background: #e9f5f4; color: var(--hm-ink); font-size: .7rem; line-height: 1; }
.hm-material-type span { padding: .27rem .42rem; border-radius: 999px; background: var(--hm-teal); color: #fff; font-size: .61rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hm-material-type strong { font-weight: 850; }
.hm-rating-trigger { width: fit-content; display: flex; align-items: center; gap: .8rem; margin: 0 0 1.5rem; padding: .55rem .65rem .55rem .85rem; border: 1px solid var(--hm-line); border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(18,36,61,.06); }
.hm-rating-trigger__label { color: var(--hm-muted); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.hm-rating-trigger > strong { font-family: Georgia,serif; font-size: 1.55rem; line-height: 1; }
.hm-rating-trigger > strong small { color: var(--hm-muted); font-family: Inter,Arial,sans-serif; font-size: .65rem; }
.hm-rating-trigger button { padding: .55rem .8rem; border: 0; border-radius: 999px; background: var(--hm-ink); color: #fff; cursor: pointer; font-size: .74rem; font-weight: 850; }
.hm-material-disclosure { max-width: 900px; display: grid; grid-template-columns: 34px 1fr; gap: .9rem; align-items: start; margin: 0 0 2rem; padding: 1rem 1.1rem; border: 1px solid rgba(212,164,59,.4); border-radius: 1rem; background: #fff7df; color: var(--hm-ink); }
.hm-material-disclosure__icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--hm-gold); color: var(--hm-ink); font-family: Georgia,serif; font-size: 1rem; font-weight: 700; }
.hm-material-disclosure strong { display: block; margin-bottom: .2rem; font-size: .82rem; }
.hm-material-disclosure p { margin: 0; color: #596574; font-size: .82rem; line-height: 1.55; }
body.hm-modal-open { overflow: hidden; }
.hm-rating-modal[hidden] { display: none; }
.hm-rating-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 2rem; }
.hm-rating-modal__backdrop { position: absolute; inset: 0; background: rgba(7,20,36,.78); backdrop-filter: blur(8px); }
.hm-rating-modal__panel { position: relative; z-index: 1; width: min(920px,100%); max-height: calc(100vh - 4rem); overflow: auto; padding: clamp(1.4rem,4vw,3rem); border-radius: var(--hm-radius); background: var(--hm-paper); box-shadow: 0 35px 100px rgba(0,0,0,.3); }
.hm-rating-modal__close { position: sticky; z-index: 2; top: 0; float: right; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--hm-line); border-radius: 50%; background: #fff; color: var(--hm-ink); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.hm-rating-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-right: 1rem; }
.hm-rating-modal__head h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(2.2rem,5vw,4rem); font-weight: 400; line-height: 1; }
.hm-rating-modal__head p:last-child { max-width: 600px; margin: .7rem 0 0; color: var(--hm-muted); }
.hm-rating-modal__head > strong { min-width: 105px; color: var(--hm-teal); font-family: Georgia,serif; font-size: 3rem; line-height: 1; text-align: right; }
.hm-rating-modal__head > strong span { color: var(--hm-muted); font-family: Inter,Arial,sans-serif; font-size: .75rem; }
.hm-rating-modal__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0; }
.hm-rating-modal__meta span { padding: .4rem .65rem; border-radius: 999px; background: #e9f5f4; font-size: .7rem; font-weight: 800; }
.hm-rating-modal__summary { margin: 1.5rem 0; padding: 1.3rem; border-left: 4px solid var(--hm-cyan); background: var(--hm-cream); }
.hm-rating-modal__summary span { color: var(--hm-teal); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hm-rating-modal__summary p { margin: .4rem 0 0; font-family: Georgia,serif; font-size: 1.15rem; }
.hm-rating-modal__sections { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.hm-rating-modal__context { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-bottom: 1rem; }
.hm-rating-modal__section { padding: 1.15rem; border: 1px solid var(--hm-line); border-radius: 1rem; background: #fff; }
.hm-rating-modal__section--summary { grid-column: 1/-1; border-color: #b7dedd; background: #f1f9f8; }
.hm-rating-modal__section h3 { margin: 0 0 .6rem; font-size: .92rem; }
.hm-rating-modal__fact { padding: .55rem 0; border-top: 1px solid var(--hm-line); }
.hm-rating-modal__fact:first-of-type { border-top: 0; }
.hm-rating-modal__fact span { color: var(--hm-muted); font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.hm-rating-modal__fact p { margin: .2rem 0 0; }
.hm-rating-modal__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .7rem 0; border-top: 1px solid #edf1f1; }
.hm-rating-modal__row > div > span { font-size: .83rem; font-weight: 700; }
.hm-rating-modal__row p { margin: .2rem 0 0; color: var(--hm-muted); font-size: .75rem; line-height: 1.4; }
.hm-rating-modal__row > strong { color: var(--hm-teal); font-family: Georgia,serif; font-size: 1.25rem; }
.hm-rating-modal__foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--hm-line); color: var(--hm-muted); font-size: .73rem; }
.hm-rating-modal__foot a { color: var(--hm-teal); font-weight: 850; text-decoration: none; }
.hm-article__head h1 { max-width: 1050px; margin: 0; font-family: Georgia,serif; font-size: clamp(2.7rem,6vw,5.8rem); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.hm-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; margin-top: 1.6rem; color: var(--hm-muted); font-size: .78rem; }
.hm-article__author-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--hm-ink); font-weight: 700; text-decoration: none; }
.hm-article__author-link:hover { color: var(--hm-teal); }
.hm-article__author-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.hm-prose { width: min(calc(100% - 40px), 760px); margin-inline: auto; font-family: Georgia,serif; font-size: 1.16rem; line-height: 1.78; }
.hm-prose > * { max-width: 100%; }
.hm-prose h2, .hm-prose h3 { margin-top: 2.5em; font-family: Inter,Arial,sans-serif; line-height: 1.2; letter-spacing: -.03em; }
.hm-prose a { color: var(--hm-teal); }
.hm-prose blockquote { margin: 2.5rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 4px solid var(--hm-cyan); color: #30455b; font-size: 1.35rem; }
.hm-prose figure { margin: 2.5rem 0; }
.hm-prose img { border-radius: 1rem; }
.hm-article__nav { width: min(calc(100% - 40px), 1000px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 5rem auto 0; }
.hm-article__nav-card { position: relative; min-height: 132px; display: flex; flex-direction: column; justify-content: center; gap: .55rem; padding: 1.35rem 1.5rem; border: 1px solid var(--hm-line); border-radius: 1.15rem; background: #fff; color: var(--hm-ink); text-decoration: none; box-shadow: 0 16px 40px rgba(16,36,62,.05); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hm-article__nav-card:hover { border-color: rgba(10,135,146,.38); transform: translateY(-2px); box-shadow: 0 22px 48px rgba(16,36,62,.09); }
.hm-article__nav-card span { color: var(--hm-teal); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hm-article__nav-card strong { display: -webkit-box; overflow: hidden; font-family: Inter,Arial,sans-serif; font-size: 1.05rem; line-height: 1.35; font-weight: 750; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.hm-article__nav-card::after { position: absolute; top: 1rem; color: #9dafb5; font-size: 1.4rem; line-height: 1; }
.hm-article__nav-card--prev { padding-left: 3.2rem; }
.hm-article__nav-card--prev::after { left: 1.25rem; content: '←'; }
.hm-article__nav-card--next { grid-column-start: 2; padding-right: 3.2rem; text-align: right; }
.hm-article__nav-card--next::after { right: 1.25rem; content: '→'; }
.hm-article__nav-card:only-child { grid-column: 1 / -1; }
.hm-author-signature { width: min(calc(100% - 40px), 900px); display: grid; grid-template-columns: 112px 1fr; gap: 1.6rem; align-items: center; margin: 4.5rem auto 0; padding: 2rem; border: 1px solid var(--hm-line); border-radius: var(--hm-radius); background: var(--hm-cream); }
.hm-author-signature__avatar img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.hm-author-signature h2 { margin: 0; font-family: Georgia,serif; font-size: 2rem; font-weight: 400; }
.hm-author-signature h2 a { text-decoration: none; }
.hm-author-signature p:not(.hm-kicker) { margin: .5rem 0; color: var(--hm-muted); }
.hm-author-signature__link, .hm-inspector-card__link { color: var(--hm-teal); font-size: .82rem; font-weight: 850; text-decoration: none; }

.hm-inspectors-hero, .hm-author-hero { padding: clamp(4.5rem,9vw,8rem) 0; background: var(--hm-ink); color: #fff; }
.hm-inspectors-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 4rem; align-items: end; }
.hm-inspectors-hero h1, .hm-author-hero h1 { max-width: 950px; margin: 0; font-family: Georgia,serif; font-size: clamp(3rem,6.5vw,6.5rem); font-weight: 400; line-height: .94; letter-spacing: -.055em; }
.hm-inspectors-hero__grid > p { max-width: 500px; margin: 0; color: #c9d4df; font-size: 1.08rem; }
.hm-inspectors { padding: clamp(4rem,8vw,8rem) 0; }
.hm-inspectors__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3rem 1.5rem; }
.hm-inspector-card__portrait { position: relative; display: block; overflow: hidden; aspect-ratio: 4/4.5; border-radius: var(--hm-radius); background: var(--hm-cream); }
.hm-inspector-card__portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hm-inspector-card:hover .hm-inspector-card__portrait img { transform: scale(1.025); }
.hm-inspector-card__count { position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .7rem; border-radius: 999px; background: var(--hm-cyan); color: var(--hm-ink); font-size: .68rem; font-weight: 900; }
.hm-inspector-card__body { padding: 1.3rem .2rem 0; }
.hm-inspector-card h2 { margin: 0 0 .5rem; font-family: Georgia,serif; font-size: 2rem; font-weight: 400; line-height: 1.05; }
.hm-inspector-card h2 a { text-decoration: none; }
.hm-inspector-card__body > p:not(.hm-kicker) { min-height: 4.5em; color: var(--hm-muted); font-size: .91rem; }

.hm-author-hero__grid { display: grid; grid-template-columns: minmax(220px,360px) 1fr; gap: clamp(2.5rem,7vw,7rem); align-items: center; }
.hm-author-hero__portrait { overflow: hidden; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: var(--hm-ink-2); }
.hm-author-hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.hm-author-hero__count { margin: 1.2rem 0 .5rem; color: var(--hm-cyan); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hm-author-hero__bio { max-width: 680px; margin: 0 0 1.5rem; color: #c9d4df; font-size: 1.05rem; }
.hm-author-hero__back { color: #fff; font-size: .84rem; font-weight: 800; text-decoration: none; }
.hm-author-posts { padding-top: clamp(4rem,8vw,7rem); }
.hm-empty { padding: 6rem 0; text-align: center; }

@media (max-width: 980px) {
  .hm-hero__grid, .hm-method__grid { grid-template-columns: 1fr; }
  .hm-feature { min-height: 480px; }
  .hm-proof__grid { grid-template-columns: 1fr 1fr; }
  .hm-proof__item:nth-child(3) { border-left: 0; }
  .hm-card:first-child, .hm-card:nth-child(2), .hm-card:nth-child(3), .hm-card { grid-column: span 6; }
  .hm-usecases__grid { grid-template-columns: 1fr 1fr; }
  .hm-join__box { grid-template-columns: 1fr; }
  .hm-inspectors-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hm-inspectors__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hm-join__stamp { padding: 2rem; border-top: 1px solid rgba(255,255,255,.22); border-left: 0; }
}

@media (max-width: 760px) {
  .hm-wrap { width: min(calc(100% - 28px), var(--hm-wrap)); }
  .hm-topline__inner span:last-child { display: none; }
  .site-header__inner { min-height: 68px; }
  .hm-brand__tag { display: none; }
  .hm-menu-toggle { display: block; }
  .hm-nav { position: fixed; z-index: 79; inset: 68px 0 auto; display: none; padding: 1.5rem; border-bottom: 1px solid var(--hm-line); background: var(--hm-paper); }
  .hm-nav.is-open { display: block; }
  .hm-nav ul { align-items: stretch; flex-direction: column; }
  .hm-nav a { display: block; padding: .5rem; font-size: 1.15rem; }
  .hm-standard-bar__inner { min-height: 64px; justify-content: flex-start; text-align: left; }
  .hm-standard-bar__label { display: none; }
  .hm-hero { padding-top: 3.5rem; }
  .hm-hero__grid { gap: 3rem; }
  .hm-feature { min-height: 430px; }
  .hm-feature__content { padding: 1.4rem; }
  .hm-proof__grid { grid-template-columns: 1fr; }
  .hm-proof__item, .hm-proof__item:first-child, .hm-proof__item:nth-child(3) { min-height: auto; padding: 1.2rem 0; border-top: 1px solid var(--hm-line); border-left: 0; }
  .hm-section-head { align-items: flex-start; flex-direction: column; }
  .hm-card:first-child, .hm-card:nth-child(2), .hm-card:nth-child(3), .hm-card { grid-column: span 12; }
  .hm-usecases__grid, .hm-archive-grid, .site-footer__grid { grid-template-columns: 1fr; }
  .hm-rating-trigger { width: 100%; flex-wrap: wrap; border-radius: 1rem; }
  .hm-rating-trigger button { margin-left: auto; }
  .hm-rating-modal { padding: .6rem; }
  .hm-rating-modal__panel { max-height: calc(100vh - 1.2rem); padding: 1.2rem; }
  .hm-rating-modal__head { display: block; }
  .hm-rating-modal__head > strong { display: block; margin-top: 1rem; text-align: left; }
  .hm-rating-modal__sections, .hm-rating-modal__context { grid-template-columns: 1fr; }
  .hm-rating-modal__foot { flex-direction: column; }
  .hm-inspectors__grid, .hm-author-hero__grid { grid-template-columns: 1fr; }
  .hm-author-hero__portrait { width: min(72vw,300px); }
  .hm-author-signature { grid-template-columns: 72px 1fr; gap: 1rem; padding: 1.3rem; }
  .hm-author-signature__avatar img { width: 72px; height: 72px; }
  .hm-inspector-card__body > p:not(.hm-kicker) { min-height: auto; }
  .hm-usecase { min-height: 220px; }
  .site-footer__bottom, .hm-article__nav { grid-template-columns: 1fr; flex-direction: column; }
  .hm-article__nav-card--next { grid-column-start: auto; padding-right: 1.5rem; padding-left: 3.2rem; text-align: left; }
  .hm-article__nav-card--next::after { right: auto; left: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
