:root {
        color-scheme: light dark;
        --bg: #fdfcff;
        --bg-2: #f3eefc;
        --surface: #ffffff;
        --surface-2: #f8f4fe;
        --ink: #171321;
        --muted: #6e6484;
        --accent: #7e57c9;
        --accent-strong: #63389f;
        --on-accent: #ffffff;
        --accent-soft: #ede5fb;
        --yellow: #f0b429;
        --yellow-soft: #fdf0d0;
        --gold: #f7e2a2;
        --gold-deep: #8f6a0c;
        --line: #e6dcf6;
        --header-bg: rgba(253, 252, 255, 0.88);
        --hero-shade-0: rgba(253, 252, 255, 0.2);
        --hero-shade-mid: rgba(253, 252, 255, 0.4);
        --hero-shade-1: rgba(253, 252, 255, 0.94);
        --hero-shade-2: rgba(253, 252, 255, 0.84);
        --hero-shade-3: rgba(253, 252, 255, 0.64);
        --ticker-bg: #14101f;
        --ticker-ink: #f2ecff;
        --shadow: 0 18px 40px rgba(62, 38, 110, 0.14);
        --shadow-sm: 0 6px 18px rgba(62, 38, 110, 0.1);
        --radius: 18px;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --bg: #120e1e;
          --bg-2: #181230;
          --surface: #1e1836;
          --surface-2: #261e45;
          --ink: #f4f0ff;
          --muted: #b3a8d4;
          --accent: #bda6f2;
          --accent-strong: #d3c2ff;
          --on-accent: #241640;
          --accent-soft: #2c2350;
          --yellow: #ffd166;
          --yellow-soft: #3a2f14;
          --gold: #f7e2a2;
          --gold-deep: #f0d492;
          --line: #332a55;
          --header-bg: rgba(18, 14, 30, 0.88);
          --hero-shade-0: rgba(18, 14, 30, 0.22);
          --hero-shade-mid: rgba(18, 14, 30, 0.42);
          --hero-shade-1: rgba(18, 14, 30, 0.94);
          --hero-shade-2: rgba(18, 14, 30, 0.86);
          --hero-shade-3: rgba(18, 14, 30, 0.72);
          --ticker-bg: #0a0714;
          --ticker-ink: #efe8ff;
          --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
          --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.35);
        }
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--ink);
        font-family: "Manrope", system-ui, sans-serif;
        font-size: 17px;
        line-height: 1.55;
        -webkit-font-smoothing: antialiased;
      }
      img { max-width: 100%; display: block; }
      a { color: var(--accent-strong); }
      h1, h2, h3, .serif { font-family: "Marcellus", Georgia, serif; }
      section { scroll-margin-top: 96px; }
      .wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }

      /* ---------- ticker ---------- */
      .ticker {
        background: var(--ticker-bg);
        color: var(--ticker-ink);
        overflow: hidden;
        white-space: nowrap;
        font-size: 12.5px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        padding: 8px 0;
      }
      .ticker-track { display: inline-block; animation: tick 30s linear infinite; }
      .ticker span { padding: 0 14px; }
      .hours-ticker { border-radius: 12px; font-size: 13.5px; padding: 11px 0; }
      .hours-note { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
      @keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

      /* ---------- header ---------- */
      header.site {
        position: sticky; top: 0; z-index: 40;
        background: var(--header-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
      }
      .header-in { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
      .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
      .brand-mark {
        width: 42px; height: 42px; border-radius: 50%;
        background: var(--accent); color: var(--on-accent);
        display: grid; place-items: center;
        font-family: "Marcellus", serif; font-weight: 700; font-size: 19px; letter-spacing: 0.02em;
        flex: none;
      }
      .brand-name { font-family: "Marcellus", serif; font-size: 24px; font-weight: 700; line-height: 1; }
      .brand-sub { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
      nav.main { display: flex; gap: 26px; }
      nav.main a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
      nav.main a:hover { color: var(--accent-strong); }
      .header-phone { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
      @media (max-width: 900px) { nav.main, .header-phone { display: none; } }

      .btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        background: var(--accent); color: var(--on-accent);
        border: 1px solid var(--accent); border-radius: 999px;
        padding: 12px 26px; font: 600 15.5px "Manrope", sans-serif;
        cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s;
      }
      .btn:hover { background: var(--accent-strong); }
      .btn:active { transform: scale(0.98); }
      .btn.ghost { background: transparent; color: var(--accent-strong); }
      .btn.ghost:hover { background: var(--accent-soft); }
      .btn.small { padding: 9px 20px; font-size: 14.5px; }
      .btn.block { width: 100%; }

      /* ---------- hero ---------- */
      .hero {
        padding: 54px 0 30px;
        background-image:
          linear-gradient(180deg, var(--hero-shade-0) 0%, var(--hero-shade-mid) 26%, var(--hero-shade-2) 44%, var(--hero-shade-1) 64%, var(--hero-shade-2) 100%),
          url("../images/hero-bg.jpg");
        background-size: cover, cover;
        background-position: center, 50% 30%;
        background-repeat: no-repeat;
        box-shadow: inset 0 -70px 60px -40px var(--bg);
      }
      .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
      .eyebrow { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
      .hero h1 { font-size: clamp(44px, 6vw, 68px); line-height: 1.02; margin: 14px 0 6px; font-weight: 600; }
      .hero .hero-center { text-align: center; }
      .hero h1 em { font-style: italic; color: var(--accent-strong); }
      .hero .lead { font-size: 19px; color: #ffffff; text-shadow: 0 1px 10px rgba(20, 12, 40, 0.35), 0 0 2px rgba(20, 12, 40, 0.25); max-width: 34em; margin: 10px 0 22px; }
      .rating-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
      .stars { color: var(--yellow); letter-spacing: 2px; font-size: 17px; }
      .rating-row b { font-weight: 600; }
      .rating-row span { color: var(--muted); font-size: 15px; }
      .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
      .hero-photo { position: relative; }
      .hero-photo img {
        width: 100%; height: 560px; object-fit: cover;
        border-radius: 280px 280px var(--radius) var(--radius);
        box-shadow: var(--shadow);
      }
      .hero-badge {
        position: absolute; left: -14px; bottom: 34px;
        background: var(--yellow-soft); border: 1px solid var(--gold);
        border-radius: 14px; box-shadow: var(--shadow-sm);
        padding: 12px 18px; max-width: 240px;
      }
      .hero-badge .t { font-family: "Marcellus", serif; font-size: 20px; font-weight: 700; line-height: 1.1; }
      .hero-badge .s { font-size: 13.5px; color: var(--muted); }
      .hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
      .hero-meta .m .k { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
      .hero-meta .m .v { font-weight: 600; margin-top: 2px; }
      @media (max-width: 860px) {
        .hero {
          padding-top: 34px;
          background-position: center, 38% 24%;
          background-image:
            linear-gradient(180deg, var(--hero-shade-0) 0%, var(--hero-shade-mid) 16%, var(--hero-shade-2) 30%, var(--hero-shade-1) 50%, var(--hero-shade-2) 100%),
            url("../images/hero-bg.jpg");
        }
        .hero-grid { grid-template-columns: 1fr; gap: 30px; }
        .hero-photo img { height: 420px; }
        .hero-badge { left: 10px; }
      }

      /* ---------- sections ---------- */
      .section { padding: 64px 0; }
      .section.alt { background: var(--bg-2); }
      .sec-head { max-width: 640px; margin-bottom: 34px; }
      .sec-head h2 { font-size: clamp(32px, 4vw, 44px); margin: 8px 0 8px; line-height: 1.08; font-weight: 600; }
      .sec-head p { color: var(--muted); margin: 0; }

      /* ---------- categories ---------- */
      .cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
      .cat-card {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        overflow: hidden; display: flex; flex-direction: column;
      }
      .cat-card img { height: 210px; width: 100%; object-fit: cover; }
      .cat-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
      .cat-card h3 { margin: 0; font-size: 25px; font-weight: 600; line-height: 1.15; }
      .cat-card p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
      .cat-card .from { font-weight: 700; color: var(--gold-deep); }
      .cat-card a.view { font-weight: 600; text-decoration: none; font-size: 15px; }
      @media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr; } .cat-card img { height: 190px; } }

      /* ---------- services ---------- */
      .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; position: sticky; top: 76px; z-index: 20; background: var(--bg); padding: 10px 0; }
      .section.alt .tabs { background: var(--bg-2); }
      .tab {
        border: 1px solid var(--line); background: var(--surface); color: var(--ink);
        border-radius: 999px; padding: 9px 20px; font: 500 15px "Manrope", sans-serif; cursor: pointer;
      }
      .tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
      .svc-group { margin-bottom: 38px; }
      .svc-group > h3 { font-size: 30px; font-weight: 600; margin: 0 0 4px; }
      .svc-group > .g-sub { color: var(--muted); margin: 0 0 18px; max-width: 46em; }
      .svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
      .svc {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
      }
      .svc .top { display: flex; align-items: baseline; gap: 12px; }
      .svc h4 { margin: 0; font-size: 19.5px; font-weight: 600; font-family: "Manrope", sans-serif; line-height: 1.25; }
      .svc .price { margin-left: auto; font-weight: 700; color: var(--gold-deep); white-space: nowrap; font-size: 17px; }
      .svc p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
      .svc .foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
      .svc .dur { font-size: 13.5px; color: var(--muted); }
      .svc .btn { margin-left: auto; }
      @media (max-width: 860px) { .svc-list { grid-template-columns: 1fr; } }

      /* ---------- reviews ---------- */
      .rev-summary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
      .rev-score { font-family: "Marcellus", serif; font-size: 56px; font-weight: 700; line-height: 1; color: var(--gold-deep); }
      .rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
      .rev {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 20px 22px; display: flex; flex-direction: column; gap: 10px;
      }
      .rev .stars { font-size: 14px; }
      .rev p { margin: 0; font-size: 15.5px; flex: 1; }
      .rev .who { display: flex; align-items: center; gap: 10px; }
      .rev .ava {
        width: 36px; height: 36px; border-radius: 50%; flex: none;
        background: var(--accent-soft); color: var(--accent-strong);
        display: grid; place-items: center; font-weight: 600; font-size: 13px;
      }
      .rev .nm { font-weight: 600; font-size: 14.5px; line-height: 1.2; }
      .rev .dt { font-size: 12.5px; color: var(--muted); }
      .rev .src { margin-left: auto; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
      @media (max-width: 960px) { .rev-grid { grid-template-columns: 1fr 1fr; } }
      @media (max-width: 620px) { .rev-grid { grid-template-columns: 1fr; } }

      /* ---------- gallery (swipeable carousel + lightbox) ---------- */
      .gallery-compact { padding: 22px 0 10px; }
      .gallery-compact .sec-head { margin-bottom: 16px; }
      .gallery-compact .sec-head h2 { font-size: clamp(26px, 3vw, 34px); }
      .gal-carousel { position: relative; }
      .gal-track {
        display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scroll-behavior: smooth;
        padding: 2px 2px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
        cursor: grab;
      }
      .gal-track::-webkit-scrollbar { display: none; }
      .gal-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
      .gal-item {
        flex: 0 0 calc((100% - 30px) / 4); scroll-snap-align: start;
        padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
        background: var(--surface); cursor: pointer; font: inherit;
      }
      .gal-item img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.45s ease; pointer-events: none; }
      .gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.04); }
      .gal-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
      .gal-nav {
        position: absolute; top: calc(50% - 5px); transform: translateY(-50%); z-index: 3;
        width: 42px; height: 42px; border-radius: 50%;
        border: 1px solid var(--line); background: var(--surface); color: var(--ink);
        box-shadow: var(--shadow-sm); font-size: 24px; line-height: 1; cursor: pointer;
        display: grid; place-items: center; transition: opacity 0.2s;
      }
      .gal-nav.prev { left: 8px; }
      .gal-nav.next { right: 8px; }
      .gal-nav[disabled] { opacity: 0.3; pointer-events: none; }
      @media (max-width: 620px) {
        .gallery-compact { padding: 18px 0 6px; }
        .gal-track { gap: 6px; }
        .gal-item { flex-basis: 44%; border-radius: 10px; }
        .gal-nav { width: 36px; height: 36px; font-size: 20px; }
      }
      @media (prefers-reduced-motion: reduce) {
        .gal-track { scroll-behavior: auto; }
        .gal-item img { transition: none; } .gal-item:hover img { transform: none; }
      }

      /* ---------- lightbox ---------- */
      .lightbox {
        position: fixed; inset: 0; z-index: 80; display: none;
        background: rgba(13, 8, 24, 0.94); padding: 18px;
        align-items: center; justify-content: center;
      }
      .lightbox.open { display: flex; }
      .lb-fig { margin: 0; max-width: min(920px, 100%); text-align: center; }
      .lb-fig img {
        max-width: 100%; max-height: 76dvh; width: auto; height: auto;
        border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
        object-fit: contain; background: #000;
      }
      .lb-fig figcaption { color: #efe9ff; font-size: 14.5px; margin-top: 14px; display: flex; gap: 12px; justify-content: center; align-items: baseline; flex-wrap: wrap; }
      .lb-count { opacity: 0.65; font-size: 13px; letter-spacing: 0.08em; white-space: nowrap; }
      .lb-btn {
        position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12);
        color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center;
      }
      .lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
      .lb-close { top: 16px; right: 16px; font-size: 19px; }
      .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); font-size: 28px; }
      .lb-next { right: 14px; top: 50%; transform: translateY(-50%); font-size: 28px; }
      @media (max-width: 620px) {
        .lightbox { padding: 12px; }
        .lb-prev { left: 6px; } .lb-next { right: 6px; }
        .lb-btn { width: 40px; height: 40px; }
      }

      /* ---------- about ---------- */
      .about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: center; }
      .about-grid img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
      .about-grid h2 { font-size: clamp(32px, 4vw, 42px); margin: 8px 0 12px; line-height: 1.1; font-weight: 600; }
      .about-grid p { color: var(--muted); margin: 0 0 14px; }
      .about-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
      .about-points li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
      .about-points li::before { content: "✦"; color: var(--accent); font-size: 13px; }
      @media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid img { height: 300px; } }

      /* ---------- faq ---------- */
      .faq-list { display: grid; gap: 12px; max-width: 820px; }
      details.faq {
        background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px;
      }
      details.faq summary {
        cursor: pointer; font-weight: 600; font-size: 17px; padding: 14px 0; list-style: none;
        display: flex; justify-content: space-between; gap: 14px; align-items: center;
      }
      details.faq summary::-webkit-details-marker { display: none; }
      details.faq summary::after { content: "+"; color: var(--accent-strong); font-size: 22px; font-weight: 400; }
      details.faq[open ] summary::after { content: "–"; }
      details.faq p { margin: 0 0 16px; color: var(--muted); }

      /* ---------- visit ---------- */
      .visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
      .visit-grid > * { min-width: 0; }
      .visit-card, .hours-card {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
      }
      .visit-card h3, .hours-card h3 { margin: 0 0 16px; font-size: 27px; font-weight: 600; }
      .visit-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
      .visit-row:last-of-type { border-bottom: none; }
      .visit-row .k { width: 92px; flex: none; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
      .visit-row a { font-weight: 600; text-decoration: none; }
      .visit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
      @media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

      /* ---------- footer ---------- */
      footer.site { background: var(--ticker-bg); color: var(--ticker-ink); padding: 48px 0 110px; margin-top: 0; }
      .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
      footer.site h4 { font-family: "Marcellus", serif; font-size: 22px; margin: 0 0 12px; color: var(--gold); }
      footer.site p, footer.site a { color: var(--ticker-ink); opacity: 0.85; font-size: 15px; }
      footer.site a { text-decoration: none; }
      footer.site a:hover { opacity: 1; text-decoration: underline; }
      .foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
      .foot-fine { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(247, 233, 223, 0.2); font-size: 13px; opacity: 0.65; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
      @media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

      /* ---------- mobile book bar ---------- */
      .mobile-bar {
        display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
        background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        gap: 10px;
      }
      .mobile-bar .btn { flex: 1; }
      @media (max-width: 720px) { .mobile-bar { display: flex; } body { padding-bottom: 74px; } }
      body.modal-open { overflow: hidden; }
      body.modal-open .mobile-bar { display: none; }

      /* ---------- modal ---------- */
      .backdrop {
        position: fixed; inset: 0; z-index: 60; background: rgba(24, 12, 17, 0.55);
        display: none; align-items: flex-end; justify-content: center; padding: 0;
      }
      .backdrop.open { display: flex; }
      .modal {
        background: var(--surface); color: var(--ink); width: 100%; max-width: 520px;
        max-height: 92dvh; overflow-y: auto; border-radius: 22px 22px 0 0;
        padding: 26px 26px calc(26px + env(safe-area-inset-bottom));
        box-shadow: var(--shadow); animation: rise 0.25s ease;
      }
      @media (min-width: 640px) {
        .backdrop { align-items: center; padding: 20px; }
        .modal { border-radius: 22px; }
      }
      @keyframes rise { from { transform: translateY(16px); opacity: 0.4; } to { transform: none; opacity: 1; } }
      .modal-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
      .modal-head h3 { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.1; }
      .modal-head .x {
        margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 50%;
        border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
        font-size: 18px; cursor: pointer; line-height: 1;
      }
      .modal .sub { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
      .field { margin-bottom: 14px; }
      .field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
      .field input, .field select {
        width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
        background: var(--surface); color: var(--ink); font: 400 16.5px "Manrope", sans-serif;
      }
      .field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
      .field .err { display: none; color: #c0392b; font-size: 13.5px; margin-top: 5px; }
      .field.invalid input { border-color: #c0392b; }
      .field.invalid .err { display: block; }
      .phone-wrap { display: flex; }
      .phone-prefix {
        display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--line); border-right: none;
        border-radius: 12px 0 0 12px; background: var(--surface-2); font-weight: 600; color: var(--muted);
      }
      .phone-wrap input { border-radius: 0 12px 12px 0; }
      .seg { display: flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
      .seg button {
        flex: 1; padding: 11px; background: var(--surface); color: var(--ink); border: none;
        font: 500 15.5px "Manrope", sans-serif; cursor: pointer;
      }
      .seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
      .secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 13.5px; margin-top: 14px; }
      .svc-chip {
        display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
        background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px;
      }
      .svc-chip .n { font-weight: 600; }
      .svc-chip .p { font-weight: 600; color: var(--accent-strong); white-space: nowrap; }

      .thanks { text-align: center; padding: 8px 0 4px; }
      .thanks .check {
        width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
        background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 30px;
      }
      .thanks h3 { font-size: 32px; margin: 0 0 6px; font-weight: 600; }
      .thanks p { color: var(--muted); margin: 0 0 16px; }
      .thanks .lead-info { background: var(--surface-2); border-radius: 12px; padding: 12px 16px; font-size: 15px; margin-bottom: 18px; }
      .redirect-note { font-size: 14px; color: var(--muted); margin: 16px 0 8px; }
      .progress { height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
      .progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; }
      .thanks .again { display: inline-block; margin-top: 14px; font-size: 14.5px; cursor: pointer; background: none; border: none; color: var(--muted); text-decoration: underline; font-family: inherit; }
      [hidden ] { display: none !important; }

      /* ---------- read more expanders ---------- */
      .expander .more { display: none; }
      .expander.open .more { display: block; }
      .readmore-btn {
        background: none; border: none; padding: 4px 0; cursor: pointer;
        color: var(--accent-strong); font: 600 14.5px "Manrope", sans-serif;
        display: inline-flex; align-items: center; gap: 5px;
      }
      .readmore-btn::after { content: "▾"; font-size: 12px; transition: transform 0.2s; }
      .readmore-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
      .readmore-btn:hover { text-decoration: underline; }
      .hero .expander .more p { color: var(--muted); font-size: 16.5px; margin: 0 0 6px; max-width: 34em; }
      .svc p.desc.clamped {
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
      }
      .svc .readmore-btn { align-self: flex-start; padding: 0; font-size: 13.5px; }

      /* ---------- blog ---------- */
      .blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
      .post-card {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
      }
      .post-card img { height: 220px; width: 100%; object-fit: cover; }
      .post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
      .post-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
      .post-tag { background: var(--gold); color: #4d3a05; border-radius: 999px; padding: 3px 10px; font-weight: 700; letter-spacing: 0.06em; }
      .post-card h3 { margin: 0; font-size: 25px; font-weight: 400; line-height: 1.2; }
      .post-card p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
      .post-card .read { font-weight: 700; color: var(--accent-strong); font-size: 15px; }
      @media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } .post-card img { height: 200px; } }

      /* ---------- article view ---------- */
      #articleView { padding: 40px 0 70px; }
      .article-wrap { width: min(760px, 100% - 40px); margin-inline: auto; }
      .back-link { font-weight: 700; text-decoration: none; font-size: 15px; }
      .article-hero { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); margin: 20px 0 26px; box-shadow: var(--shadow-sm); }
      #articleView h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.12; margin: 10px 0 12px; font-weight: 400; }
      .article-body { font-size: 17.5px; line-height: 1.7; }
      .article-body h2 { font-size: 27px; margin: 30px 0 10px; font-weight: 400; line-height: 1.25; }
      .article-body p { margin: 0 0 16px; }
      .article-body ul { margin: 0 0 16px; padding-left: 22px; }
      .article-body li { margin-bottom: 8px; }
      .article-cta {
        background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 24px 26px; margin: 34px 0; text-align: center;
      }
      .article-cta .t { font-family: "Marcellus", serif; font-size: 24px; margin-bottom: 6px; }
      .article-cta p { color: var(--muted); margin: 0 0 16px; }
      .related h2 { font-size: 30px; font-weight: 400; margin: 40px 0 18px; }
      @media (max-width: 640px) { .article-hero { height: 240px; } }

      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .ticker-track { animation: none; }
        .modal { animation: none; }
        .btn { transition: none; }
      }
