    :root {
      color-scheme: light;
      --paper: #f5f2ec;
      --surface: #fffcf7;
      --ink: #222b2f;
      --muted: #555d5f;
      --line: #ddd8ce;
      --coral: #a7352d;
      --coral-light: #f8eae3;
      --telegram: #26a5e4;
      --vk: #0077ff;
      --max: linear-gradient(113deg, #1252c9, #673acd);
      --instagram: linear-gradient(112deg, #aa4816, #b1305f 49%, #7532a7);
    }
    *, *::before, *::after { box-sizing: border-box; }
    [hidden] { display: none !important; }
    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font: 400 1rem/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    }
    a { color: inherit; text-underline-offset: .18em; }
    button, textarea { font: inherit; }
    button { cursor: pointer; }
    :focus-visible { outline: 3px solid #135a87; outline-offset: 4px; }
    .shell { width: min(100% - 36px, 1040px); margin-inline: auto; }
    .masthead {
      padding-block: 24px 16px;
      display: flex;
      align-items: center;
    }
    .wordmark {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      gap: 10px;
      font-size: .875rem;
      font-weight: 750;
      letter-spacing: .035em;
      text-decoration: none;
    }
    .wordmark::before {
      content: "";
      width: .625rem;
      height: .625rem;
      border-radius: 50%;
      background: var(--coral);
      flex: 0 0 auto;
    }
    .hero {
      display: grid;
      grid-template-columns: minmax(0, .89fr) minmax(0, 1.22fr);
      grid-template-areas: "photo name" "photo lead" "photo contact";
      grid-template-rows: auto auto 1fr;
      column-gap: clamp(25px, 4.5vw, 62px);
      padding: 24px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 24px;
    }
    .portrait {
      grid-area: photo;
      margin: 0;
      min-height: 26rem;
      overflow: hidden;
      position: relative;
      background: #e5e5e5;
      border-radius: 16px;
    }
    .portrait img {
      position: absolute;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 52% 16%;
    }
    .identity { grid-area: name; align-self: end; padding-top: 22px; }
    h1, h2, p { margin: 0; }
    .profession {
      color: var(--muted);
      font-size: .87rem;
      font-weight: 650;
      line-height: 1.45;
    }
    h1, h2 {
      font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
      font-weight: 400;
    }
    h1 {
      font-size: clamp(3rem, 6.3vw, 5.15rem);
      line-height: .99;
      letter-spacing: -.057em;
      margin: 10px 0 0;
    }
    .intro {
      grid-area: lead;
      align-self: start;
      margin-block: 18px 24px;
      max-width: 34ch;
      font-size: clamp(1.04rem, 1.85vw, 1.24rem);
      line-height: 1.5;
    }
    .contact { grid-area: contact; align-self: start; max-width: 27rem; min-width: 0; }
    .contact-actions, .topics, .social-links {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .button {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .5em;
      min-height: 47px;
      padding: .64rem .7rem;
      border: 1px solid transparent;
      border-radius: 9px;
      font-size: .91rem;
      font-weight: 720;
      line-height: 1.25;
      text-align: center;
      text-decoration: none;
      overflow-wrap: anywhere;
    }
    .button:active { filter: brightness(.93); }
    @media (hover: hover) { .button:hover { filter: brightness(.94); } }
    .button-save {
      grid-column: 1 / -1;
      gap: .62rem;
      min-height: 55px;
      background: var(--coral);
      color: white;
      font-size: 1rem;
    }
    .contact-glyph {
      display: inline-flex;
      width: 1rem;
      height: .9rem;
      position: relative;
      flex: 0 0 1rem;
      align-items: center;
      justify-content: center;
      border: 1.5px solid currentColor;
      border-radius: 3px;
    }
    .contact-glyph::before {
      content: "";
      width: 4px;
      height: 4px;
      margin-left: -5px;
      margin-top: -4px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 4px currentColor;
    }
    .contact-glyph::after {
      content: "";
      width: 4px;
      height: 1px;
      position: absolute;
      right: 2px;
      background: currentColor;
    }
    .button-telegram { background: var(--telegram); color: #092536; }
    .button-max { background: var(--max); color: white; }
    .button-vk { background: var(--vk); color: #020710; }
    .button-instagram { background: var(--instagram); color: white; }
    .phone-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0 9px;
      border-bottom: 1px solid var(--line);
      margin-top: 4px;
    }
    .phone-link {
      display: inline-flex;
      flex-wrap: wrap;
      align-items: center;
      min-height: 49px;
      gap: 0 .5em;
      font-size: .88rem;
      font-weight: 740;
      text-decoration: none;
    }
    .phone-link:hover span { text-decoration: underline; }
    .phone-link small { font-size: .83rem; font-weight: 550; color: var(--muted); }
    .number { white-space: nowrap; }
    .button-copy {
      padding: .25rem .1rem;
      min-height: 44px;
      border: 0;
      background: transparent;
      color: var(--muted);
      font-size: .8rem;
      text-decoration: underline;
      text-underline-offset: .16em;
    }
    .contact-status { margin-top: 8px; color: var(--muted); font-size: .82rem; }
    .contact-status:empty { margin: 0; }
    .below {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      gap: clamp(24px, 5vw, 68px);
      margin-block: 35px 26px;
    }
    h2 {
      font-size: clamp(1.78rem, 3vw, 2.35rem);
      line-height: 1.13;
      letter-spacing: -.032em;
      margin-bottom: 12px;
    }
    .topic {
      justify-content: space-between;
      padding-inline: .8rem;
      border: 1px solid var(--line);
      background: var(--surface);
      text-align: left;
    }
    .topic span { color: var(--coral); }
    .topic[aria-expanded="true"] {
      background: var(--coral-light);
      border-color: #b15346;
    }
    .draft {
      margin-top: 10px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--surface);
    }
    .draft label { display: block; margin-bottom: 5px; font-weight: 680; font-size: .87rem; }
    .draft textarea {
      display: block;
      width: 100%;
      min-height: 6em;
      padding: 9px;
      resize: vertical;
      border: 1px solid #aba69e;
      border-radius: 6px;
      background: white;
      color: var(--ink);
    }
    .draft .button { margin-top: 8px; }
    .draft-note { margin-top: 6px; font-size: .8rem; color: var(--muted); }
    .intro-price { max-width: 45ch; color: var(--muted); font-size: .94rem; }
    .intro-price strong { color: var(--ink); font-weight: 710; }
    .trust-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 5px; }
    .trust-links a {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      font-size: .91rem;
      font-weight: 700;
    }
    .more { padding-block: 18px 23px; border-top: 1px solid var(--line); }
    .more summary { width: fit-content; cursor: pointer; min-height: 44px; padding-block: 9px; font-weight: 700; }
    .knowledge-link {
      display: block;
      padding: 12px 16px;
      border: 1px solid var(--line);
      border-left: 3px solid var(--coral);
      border-radius: 9px;
      background: var(--surface);
      text-decoration: none;
    }
    .knowledge-link strong { display: block; color: var(--coral); font-size: 1rem; }
    .knowledge-link span { display: block; margin-top: 3px; color: var(--muted); font-size: .91rem; }
    .knowledge-link:hover strong { text-decoration: underline; }
    .social-links { align-content: start; margin-top: 6px; }
    .social-links .button { min-height: 44px; font-size: .85rem; }
    .footer {
      padding-block: 22px 16px;
      color: var(--muted);
      border-top: 1px solid var(--line);
      font-size: .87rem;
    }
    .footer h2 { color: var(--ink); }
    .footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
    .footer-grid h3 { color: var(--ink); font-size: .94rem; margin: 0 0 5px; }
    .footer-grid ul { list-style: none; margin: 0; padding: 0; }
    .footer-grid a { display: inline-flex; align-items: center; min-height: 44px; }
    .footer-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 4px 18px;
      padding-top: 12px;
      margin-top: 16px;
      border-top: 1px solid var(--line);
    }
    .footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }
    @media (max-width: 690px) {
      .shell { width: min(100% - 26px, 520px); }
      .masthead { padding-block: 5px 4px; }
      .hero {
        grid-template-columns: clamp(78px, 23vw, 117px) minmax(0, 1fr);
        grid-template-areas: "photo name" "lead lead" "contact contact";
        grid-template-rows: auto auto auto;
        align-items: center;
        column-gap: clamp(11px, 4vw, 19px);
        padding: clamp(13px, 4.2vw, 21px);
        border-radius: 18px;
      }
      .portrait { min-height: 0; aspect-ratio: .86; border-radius: 10px; }
      .portrait img { width: 172%; height: auto; max-width: none; inset: -7% auto auto -36%; }
      .identity { align-self: center; padding: 0; }
      .profession { font-size: .8rem; }
      h1 { font-size: clamp(2rem, 8.2vw, 3.55rem); margin-top: 5px; }
      .intro { margin-block: 13px 15px; font-size: 1rem; max-width: 40ch; }
      .contact { max-width: none; }
      .below { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-block: 22px 14px; }
      .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .social-links { margin-top: 0; }
      .more { padding-block: 9px 12px; }
      .footer { padding-block: 16px; }
    }
    @media (max-width: 360px) {
      .portrait { aspect-ratio: 1; }
      .footer-grid { grid-template-columns: minmax(0, 1fr); }
      .intro { font-size: .95rem; line-height: 1.42; }
      .phone-link { gap: 0 .38em; font-size: .79rem; }
      .phone-link small, .button-copy { font-size: .75rem; }
      .button { font-size: .81rem; }
      .button-save { font-size: .97rem; }
      .topic { padding-inline: .59rem; }
    }
    .evidence { margin-block: 24px; padding: 20px 0 0; border-top: 1px solid var(--line); }
    .evidence-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
    .evidence-header p { color: var(--muted); font-size: .93rem; max-width: 56ch; }
    .evidence-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--coral); font-weight: 700; }
    .media-card {
      padding: 0; border: 1px solid var(--line); border-radius: 11px;
      background: var(--surface); color: var(--ink); text-align: left; overflow: hidden;
    }
    .media-thumb { display: block; height: 148px; background: #f3f0e9; overflow: hidden; }
    .media-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
    .review-gallery .media-thumb img { height: auto; min-height: 100%; object-fit: cover; object-position: top; }
    .media-label { display: block; min-height: 44px; padding: 10px 12px; font-size: .89rem; font-weight: 710; line-height: 1.35; }
    .media-card:hover .media-label { color: var(--coral); text-decoration: underline; }
    .credentials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding: 0; margin: 0; list-style: none; }
    .credentials li { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 14px 5px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
    .credentials span { font-size: .9rem; color: var(--muted); }
    .credentials a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
    .credential-links { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 2px; }
    .credential-note { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
    .credentials .credential-note a { display: inline; min-height: 0; font-size: inherit; }
    .evidence-dialog { box-sizing: border-box; width: min(96vw, 780px); max-height: 90vh; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
    .evidence-dialog::backdrop { background: #1b2429bd; }
    .evidence-dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
    .evidence-dialog-bar h2 { margin: 0; font: 700 .95rem/1.35 system-ui, sans-serif; }
    .evidence-dialog-bar button { padding: 0 8px; min-height: 44px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 7px; }
    body:has(.evidence-dialog[open]) { overflow: hidden; }
    @media (max-width: 620px) {
        .credentials { grid-template-columns: minmax(0, 1fr); }
      .media-thumb { height: 120px; }
    }
    .evidence-carousel { min-width: 0; }
    .carousel-title { margin: 16px 0 4px; font-size: 1rem; }
    .carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
    .carousel-controls output { font: 600 .85rem/1.2 system-ui, sans-serif; color: var(--muted); }
    .carousel-buttons { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
    .carousel-button {
      display: inline-grid; place-items: center;
      width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--line);
      border-radius: 8px; background: var(--surface); color: var(--ink);
      font: 700 1.25rem/1 system-ui, sans-serif; cursor: pointer;
    }
    .carousel-button:hover { border-color: var(--coral); color: var(--coral); }
    .carousel-button[aria-disabled="true"] { opacity: .48; cursor: default; }
    .carousel-button[aria-disabled="true"]:hover { border-color: var(--line); color: var(--ink); }
    .evidence-gallery {
      display: flex; gap: 10px; overflow-x: auto;
      scroll-snap-type: x mandatory; scrollbar-width: thin;
      padding: 4px 0 9px; overscroll-behavior-inline: contain;
    }
    .evidence-gallery .media-card {
      flex: 0 0 calc((100% - 54px) / 3);
      min-width: 0; align-self: stretch; scroll-snap-align: start;
      display: flex; flex-direction: column;
    }
    .evidence-gallery .media-card:focus-visible { outline-offset: -3px; }
    .evidence-gallery .media-thumb { width: 100%; flex: 0 0 auto; }
    .evidence-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
    .evidence-dialog .carousel-controls { margin: 0; padding: 6px 12px; border-bottom: 1px solid var(--line); }
    .evidence-dialog-view { min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; }
    .evidence-dialog-view img { display: block; width: 100%; height: auto; }
    @media (max-width: 820px) {
      .evidence-gallery .media-card { flex-basis: calc((100% - 42px) / 2); }
    }
    @media (max-width: 530px) {
      .evidence-gallery .media-card { flex-basis: 84%; }
      .evidence-gallery .media-card { scroll-snap-align: center; }
      .evidence-gallery .media-card:first-child { scroll-snap-align: start; }
      .evidence-gallery .media-card:last-child { scroll-snap-align: end; }
    }
