/* ═══════════════════════════════════════════════════════════════
   Hamid Blog — Design System
   Plugin: hamid-blog new
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────────────────── */
:root {
  /* Colors */
  --paper: #FAF7F2;
  --ink: #1A1A1A;
  --ink-muted: #5C5C5C;
  --terracotta: #B5503C;
  --terracotta-dark: #8F3D2E;
  --line: #E8E2D8;
  --surface: #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-marker: 'Kalam', cursive;
  --font-hand: 'Kalam', cursive;

  /* Spacing (8px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  /* Radius */
  --radius: 8px;

  /* Transitions */
  --transition: 200ms ease;

  /* Containers */
  --content-width: 680px;
  --reading-width: 680px;
  --wrapper-width: 1120px;

  /* Mono font */
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* ── Reset ────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 20px;
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px) {
    body {
        font-size: 18px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ── Layout ───────────────────────────────────────────────────── */
.hmb-container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 40px;
}

.hmb-container--reading {
    max-width: var(--reading-width);
}

@media (max-width: 640px) {
    .hmb-container {
        padding: 0 20px;
    }
}

/* ── Header ───────────────────────────────────────────────────── */
.hmb-header-spacer {
    height: 72px;
    width: 100%;
}

@media (max-width: 640px) {
    .hmb-header-spacer {
        height: 56px;
    }
}

.hmb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--paper); /* Default solid */
    border-bottom: 1px solid transparent;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: var(--space-3) 0;
}

.hmb-header--scrolled {
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.hmb-header--hidden {
    transform: translateY(-100%);
}

@media (max-width: 640px) {
    .hmb-header {
        height: 56px;
    }
}

/* Removed old scrolled background rule */

.hmb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--space-4) !important;
}

/* ── Logo ── */
.hmb-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.hmb-header__logo-text,
.hmb-header__logo-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}

/* These will be hidden/removed in HTML refactor */
.hmb-header__logo-dot,
.hmb-header__logo-sub {
    display: none;
}

/* ── Nav ── */
.hmb-header__nav {
    display: flex;
    align-items: center;
}

.hmb-header__menu {
    display: flex;
    gap: var(--space-5);
}

.hmb-header__menu a {
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
    transition: color var(--transition);
}

.hmb-header__menu a:hover {
    color: var(--terracotta);
}

.hmb-header__menu .current-menu-item a {
    color: var(--terracotta);
}

/* ── Actions ── */
.hmb-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.hmb-header__cta {
    font-size: 15px;
    font-weight: 600;
    color: var(--terracotta);
    border: 1px solid var(--ink);
    padding: 10px 20px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.hmb-header__cta:hover {
    background: var(--ink);
    color: var(--paper) !important;
}

.hmb-header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hmb-header__burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--ink);
}

/* ── Menu Overlay ── */
.hmb-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
}

.hmb-menu-overlay.is-active {
    visibility: visible;
    pointer-events: all;
}

.hmb-menu-overlay__bg {
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.hmb-menu-overlay.is-active .hmb-menu-overlay__bg {
    transform: translateY(0);
}

.hmb-menu-overlay__content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s 0.3s;
}

.hmb-menu-overlay.is-active .hmb-menu-overlay__content {
    opacity: 1;
}

.hmb-menu-overlay__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.hmb-header__logo--white .hmb-header__logo-name {
    color: #fff;
    font-size: 1.5rem;
}

.hmb-menu-overlay__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.hmb-menu-overlay__nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.hmb-mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hmb-mobile-menu li {
    overflow: hidden;
}

.hmb-mobile-menu a {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hmb-menu-overlay.is-active .hmb-mobile-menu a {
    transform: translateY(0);
}

.hmb-menu-overlay.is-active .hmb-mobile-menu li:nth-child(1) a {
    transition-delay: 0.4s;
}

.hmb-menu-overlay.is-active .hmb-mobile-menu li:nth-child(2) a {
    transition-delay: 0.5s;
}

.hmb-menu-overlay.is-active .hmb-mobile-menu li:nth-child(3) a {
    transition-delay: 0.6s;
}

.hmb-menu-overlay.is-active .hmb-mobile-menu li:nth-child(4) a {
    transition-delay: 0.7s;
}

.hmb-menu-overlay__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 20px;
}

.hmb-menu-overlay__agency {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hmb-menu-overlay__handle {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--terracotta);
}

.hmb-menu-overlay__social {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hmb-hero {
    padding: var(--space-8) 0 var(--space-6);
    border-bottom: 1px solid var(--line);
}

.hmb-hero__img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
    margin-bottom: var(--space-5);
}

.hmb-hero__title {
    font-family: var(--font-hand);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--ink);
    max-width: 800px;
    margin-bottom: var(--space-4);
}

.hmb-hero__title mark {
    background: transparent;
    background-image: linear-gradient(104deg, transparent 0%, rgba(253,224,71,0.5) 2%, rgba(253,224,71,0.6) 98%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.35em;
    background-position: 0 88%;
    color: inherit;
    padding: 0 0.1em;
}

.hmb-hero__subtitle {
    font-size: 20px;
    color: var(--ink-muted);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.hmb-hero__form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    width: 100%;
}

.hmb-hero__input {
    flex-grow: 1;
    height: 48px !important; /* Force height */
    padding: 0 20px !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    background: var(--paper) !important; /* Use solid background to look sharp */
    color: var(--ink) !important;
    transition: border-color var(--transition);
    appearance: none !important;
    -webkit-appearance: none;
    box-shadow: none !important;
    outline: none !important;
}

.hmb-hero__input:focus {
    border-color: var(--terracotta) !important;
}

.hmb-hero__btn {
    height: 48px !important;
    padding: 0 28px !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    background: var(--ink) !important;
    color: var(--paper) !important;
    border: none !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.hmb-hero__btn:hover {
    background: transparent !important;
    color: var(--ink) !important;
    border: 1px solid var(--ink) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.hmb-hero__message {
    font-size: 14px;
    margin-top: 12px;
    display: none;
}

.hmb-hero__message.is-success {
    display: block;
    color: #059669;
}

.hmb-hero__message.is-error {
    display: block;
    color: #dc2626;
}

@media (max-width: 640px) {
    .hmb-hero__form {
        flex-direction: column;
    }
    
    .hmb-hero__btn {
        width: 100%;
    }
}

/* ── Zellige Pattern ──────────────────────────────────────────── */
.hmb-pattern-zellige {
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l5.878 18.09h19.022l-15.388 11.18 5.878 18.09L30 36.18l-15.39 11.18 5.878-18.09L5.1 18.09h19.022L30 0z' fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ── Article List ─────────────────────────────────────────────── */
.hmb-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.hmb-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* ── Card ─────────────────────────────────────────────────────── */
.hmb-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--line);
    transition: border-color var(--transition);
}

.hmb-card:hover {
    border-color: var(--ink);
}

.hmb-card__top {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
    flex-wrap: wrap;
}

.hmb-card__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-2);
    color: var(--ink);
}

.hmb-card__link:hover .hmb-card__title {
    color: var(--terracotta);
}

.hmb-card__excerpt {
    font-size: 16px;
    color: var(--ink-muted);
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 800px;
}

.hmb-card__meta {
    font-size: 14px;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* ── Tag Pills ────────────────────────────────────────────────── */
.hmb-pill {
    display: inline-block;
    padding: 2px 10px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #FFEB3B;
    color: var(--ink);
    font-family: var(--font-hand);
    transform: rotate(-1deg);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

.hmb-pill--lifestyle { background: rgba(181, 80, 60, 0.1); color: var(--terracotta); }

/* ── Sticky Note Style ────────────────────────────────────────── */
.hmb-sticky {
    display: inline-block;
    background: #FFEB3B;
    padding: 2px 10px;
    font-family: var(--font-hand);
    font-size: 14px;
    color: var(--ink);
    transform: rotate(-1deg);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    border-radius: 2px;
}

.hmb-marker {
    font-family: var(--font-marker) !important;
    letter-spacing: 0.02em;
}

.hmb-hand {
    font-family: var(--font-hand) !important;
}

.hmb-marker-highlight {
    background-image: linear-gradient(120deg, var(--highlighter) 0%, var(--highlighter) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 80%;
    display: inline;
}

/* ── Story Header ─────────────────────────────────────────────── */
.hmb-story-header {
    margin-bottom: 80px;
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--line);
}
.hmb-story-header {
    margin-bottom: var(--space-8);
    padding: var(--space-8) 0 var(--space-6);
    border-bottom: 1px solid var(--line);
}

.hmb-story-header__hero {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    display: block;
    margin-bottom: var(--space-7);
    border-radius: var(--radius);
}

.hmb-story-header__title {
    font-family: var(--font-hand);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: var(--space-4);
    max-width: var(--content-width);
}

.hmb-story-header__meta {
    font-size: 14px;
    color: var(--ink-muted);
    display: flex;
    gap: var(--space-4);
    align-items: center;
    flex-wrap: wrap;
}

.hmb-story-header__meta span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* ── Article Body ─────────────────────────────────────────────── */
.hmb-article-body {
    font-size: 20px;
    line-height: 1.7;
    color: var(--ink);
    max-width: var(--content-width);
    margin: 0 auto;
}

@media (max-width: 640px) {
    .hmb-article-body {
        font-size: 18px;
    }
}

/* Lead paragraph — slightly larger, like a magazine opening line */
.hmb-article-body > p:first-of-type {
    font-size: 24px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: var(--space-5);
}

.hmb-article-body p {
    margin-bottom: var(--space-4);
}

.hmb-article-body h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: var(--space-7) 0 var(--space-3);
    line-height: 1.2;
}

@media (max-width: 640px) {
    .hmb-article-body h2 {
        font-size: 28px;
    }
}

.hmb-article-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: var(--space-5) 0 var(--space-2);
}

@media (max-width: 640px) {
    .hmb-article-body h3 {
        font-size: 20px;
    }
}

/* Standard blockquote — indented, italic */
.hmb-article-body blockquote {
    border-left: 2px solid var(--terracotta);
    padding: var(--space-1) 0 var(--space-1) var(--space-4);
    margin: var(--space-5) 0;
    font-style: italic;
    color: var(--ink-muted);
}

/* Pull quote — big, centered, used for emphasis */
.hmb-pullquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-align: center;
    padding: 48px 0;
    margin: 2.4em 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    max-width: 65ch;
}

/* Photo caption */
.hmb-article-body figcaption,
.hmb-caption {
    font-size: 0.8rem;
    color: var(--ink-muted);
    text-align: center;
    margin-top: -1em;
    margin-bottom: 2em;
    font-style: italic;
    line-height: 1.5;
}

.hmb-article-body a {
    color: var(--terracotta);
    border-bottom: 1px solid rgba(181, 80, 60, 0.3);
    transition: border-color 0.2s;
}

.hmb-article-body a:hover {
    border-bottom-color: var(--terracotta);
}

.hmb-article-body img {
    width: 100%;
    margin: 2.4em 0;
    border-radius: 2px;
}

.hmb-article-body ul {
    padding-left: 1.4em;
    margin-bottom: 1.6em;
}

.hmb-article-body ul li {
    list-style: disc;
    margin-bottom: 0.6em;
    padding-left: 0.3em;
}

.hmb-article-body ol {
    padding-left: 1.4em;
    margin-bottom: 1.6em;
}

.hmb-article-body ol li {
    list-style: decimal;
    margin-bottom: 0.6em;
    padding-left: 0.3em;
}

.hmb-article-body hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 3.5em 0;
}

.hmb-article-body strong {
    font-weight: 600;
}

.hmb-article-body em {
    font-style: italic;
}

.hmb-article-divider {
    margin-bottom: 40px;
    opacity: 0.3;
    color: var(--ink);
}

/* ── Author Bar ───────────────────────────────────────────────── */
.hmb-author-bar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 60px auto;
    max-width: var(--reading-width);
}

.hmb-author-bar__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hmb-author-bar__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.hmb-author-bar__bio {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ── CTA Block ────────────────────────────────────────────────── */
.hmb-cta-block {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 48px 0;
    margin: 64px auto;
    max-width: 65ch;
}

.hmb-cta-block__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.5;
    color: var(--ink);
}

.hmb-cta-block__body {
    font-size: 1rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.hmb-cta-block__link {
    font-size: 0.95rem;
    color: var(--terracotta);
    border-bottom: 1px solid var(--terracotta);
    transition: opacity 0.2s;
}

.hmb-cta-block__link:hover {
    opacity: 0.7;
}

/* ── Newsletter ───────────────────────────────────────────────── */
.hmb-newsletter {
    padding: 56px 0;
    border-top: 1px solid var(--line);
    max-width: 65ch;
    margin: 64px auto 0;
}

.hmb-newsletter__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.hmb-newsletter__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 10px;
}

.hmb-newsletter__desc {
    font-size: 0.95rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.hmb-newsletter__form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hmb-newsletter__input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
}

.hmb-newsletter__input:focus {
    border-color: var(--ink);
}

.hmb-newsletter__input::placeholder {
    color: var(--ink-muted);
}

.hmb-newsletter__submit {
    padding: 12px 24px;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.hmb-newsletter__submit:hover {
    background: var(--terracotta);
}

/* ── Start Here ───────────────────────────────────────────────── */
.hmb-start-here {
    padding: 64px 0;
    border-top: 1px solid var(--line);
    margin-top: 80px;
}

.hmb-start-here__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-bottom: 8px;
}

.hmb-start-here__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.hmb-start-here__desc {
    font-size: 0.95rem;
    color: var(--ink-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hmb-start-here__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hmb-start-here__item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: opacity 0.2s;
}

.hmb-start-here__item:hover {
    opacity: 0.6;
}

.hmb-start-here__num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ink-muted);
    flex-shrink: 0;
    width: 20px;
}

.hmb-start-here__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    flex: 1;
    line-height: 1.3;
}

.hmb-start-here__meta {
    font-size: 0.8rem;
    color: var(--ink-muted);
    flex-shrink: 0;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.hmb-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 28px !important;
    background: var(--ink) !important;
    color: var(--paper) !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    border: 1.5px solid var(--ink) !important;
    transition: background 0.2s, color 0.2s !important;
    cursor: pointer !important;
    text-decoration: none !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

.hmb-btn:hover {
    background: transparent !important;
    color: var(--ink) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Ghost button — for dark/overlay contexts */
.hmb-btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,0.5);
}

.hmb-btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    border-color: #fff;
}

/* Minimal text link button — header CTA */
.hmb-btn-minimal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.hmb-btn-minimal:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.hmb-breadcrumb {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--ink-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-wrap: wrap;
    align-items: center;
}

.hmb-breadcrumb a {
    color: var(--ink-muted);
    transition: color 0.2s;
}

.hmb-breadcrumb a:hover {
    color: var(--ink);
}

/* ── Separator ────────────────────────────────────────────────── */
.hmb-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 80px 0;
    opacity: 0.4;
    color: var(--ink);
}

.hmb-separator span {
    height: 1px;
    width: 60px;
    background: currentColor;
    display: block;
}

/* ── Reading Progress Bar ─────────────────────────────────────── */
.hmb-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--terracotta);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* ── Pagination ───────────────────────────────────────────────── */
.hmb-pagination {
    display: flex;
    gap: 8px;
    margin-top: 60px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
}

.hmb-pagination {
    font-size: 0.85rem;
}

.hmb-pagination a,
.hmb-pagination span {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink);
    transition: all 0.2s;
}

.hmb-pagination a:hover {
    border-color: var(--ink);
}

.hmb-pagination .current {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ── Footer ───────────────────────────────────────────────────── */
.hmb-footer {
    padding: var(--space-8) 0 var(--space-6);
    background: var(--paper);
    border-top: 1px solid var(--line);
    margin-top: var(--space-9);
}

.hmb-footer__top {
    display: flex;
    justify-content: space-between;
    gap: var(--space-7);
    margin-bottom: var(--space-7);
}

.hmb-footer__brand {
    max-width: 400px;
}

.hmb-footer__logo {
    display: inline-block;
    font-family: var(--font-hand);
    font-size: 28px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--space-3);
    line-height: 1;
    transform: rotate(-1deg);
}

.hmb-footer__logo span {
    display: block;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    margin-top: 4px;
}

.hmb-footer__tagline {
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.hmb-footer__grid {
    display: flex;
    gap: var(--space-7);
}

.hmb-footer__label {
    font-family: var(--font-hand);
    font-size: 18px;
    color: var(--ink);
    margin-bottom: var(--space-3);
}

.hmb-footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.hmb-footer__list a {
    font-size: 14px;
    color: var(--ink-muted);
    transition: color var(--transition);
}

.hmb-footer__list a:hover {
    color: var(--terracotta);
}

.hmb-footer__agency-bar {
    background: var(--surface);
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: var(--space-7);
}

.hmb-footer__agency-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.hmb-footer__agency-content p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
}

.hmb-footer__agency-content a {
    font-family: var(--font-hand);
    font-weight: 400;
    font-size: 20px;
    color: var(--terracotta);
    text-decoration: underline;
}

.hmb-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink-muted);
}

.hmb-footer__legal {
    display: flex;
    gap: var(--space-4);
}

.hmb-footer__legal a:hover {
    color: var(--ink);
}

/* ── About Page ───────────────────────────────────────────────── */
.hmb-about {
    padding: 120px 0 80px;
}

.hmb-about__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.hmb-about__image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.hmb-about__image {
    width: 100%;
    display: block;
    filter: grayscale(0.2);
}

.hmb-about__badge {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    background: var(--terracotta);
    color: var(--paper);
    padding: var(--space-4);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hmb-about__badge-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 4px;
}

.hmb-about__badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.hmb-about__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
    color: var(--ink);
}

.hmb-about__lead {
    font-size: 24px;
    line-height: 1.6;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: var(--space-6);
}

.hmb-about__cta {
    margin-top: var(--space-8);
    padding-top: var(--space-7);
    border-top: 1px solid var(--line);
}

@media (max-width: 1024px) {
    .hmb-about__grid { grid-template-columns: 1fr; gap: 60px; }
    .hmb-about__visual { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .hmb-about { padding: 80px 0 60px; }
    .hmb-about__title { font-size: 2.2rem; }
    .hmb-about__badge { padding: 15px; bottom: 15px; right: 15px; }
    .hmb-about__badge-num { font-size: 1.5rem; }
}

/* ── Live Status Card ─────────────────────────────────────────── */
.hmb-status-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-5);
    max-width: 440px;
}

.hmb-status-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--line);
}

.hmb-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hmb-status-indicator__dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
}

.hmb-status-indicator__dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: hmb-pulse 2s infinite;
}

@keyframes hmb-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.hmb-status-indicator__text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hmb-status-card__time {
    font-size: 0.8rem;
    color: var(--ink-muted);
    font-family: var(--font-mono);
}

.hmb-status-card__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.hmb-status-card__label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted);
    margin-bottom: var(--space-2);
}

.hmb-status-card__val {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.hmb-status-card__note {
    background: var(--paper);
    padding: var(--space-4);
    border-radius: var(--radius);
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.hmb-status-card__note i {
    color: var(--terracotta);
    font-size: 1.4rem;
}

.hmb-status-card__note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ink);
}

.hmb-status-card__link {
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hmb-status-card__link:hover {
    text-decoration: underline;
}

/* ── Voice Note Blog ──────────────────────────────────────────── */
.hmb-voice-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

.hmb-voice-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-4);
    display: flex;
    gap: var(--space-4);
    transition: border-color var(--transition);
}

.hmb-voice-card:hover {
    border-color: var(--ink-muted);
}

.hmb-voice-card__player-icon {
    width: 48px;
    height: 48px;
    background: var(--terracotta);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.hmb-voice-card__content {
    flex-grow: 1;
}

.hmb-voice-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 8px 0 12px;
    color: var(--ink);
}

.hmb-voice-card__visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 12px;
}

.hmb-voice-card__visualizer span {
    width: 3px;
    background: var(--terracotta);
    opacity: 0.4;
    border-radius: 10px;
}

.hmb-voice-card__visualizer span:nth-child(1) { height: 60%; }
.hmb-voice-card__visualizer span:nth-child(2) { height: 90%; }
.hmb-voice-card__visualizer span:nth-child(3) { height: 75%; }
.hmb-voice-card__visualizer span:nth-child(4) { height: 100%; }
.hmb-voice-card__visualizer span:nth-child(5) { height: 70%; }

/* --- Single Voice Note --- */
.hmb-voice-single {
    padding-bottom: var(--space-8);
}

.hmb-voice-single__header {
    background: var(--paper);
    padding: var(--space-8) 0 var(--space-6);
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.hmb-voice-single__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 500;
    line-height: 1.1;
    margin: var(--space-4) 0;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.hmb-voice-single__player-section {
    margin: calc(var(--space-6) * -1) auto var(--space-7);
    max-width: 800px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: var(--space-4);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.hmb-voice-single__image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
}

.hmb-voice-single__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hmb-audio-player {
    background: var(--paper);
    padding: 12px;
    border-radius: 40px;
}

.hmb-voice-single__transcript {
    max-width: var(--content-width) !important;
}

.hmb-voice-single__transcript-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-muted);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--line);
}

/* ── Ask Hamid ────────────────────────────────────────────────── */
.hmb-ask {
    padding: var(--space-8) 0;
}

.hmb-ask__header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.hmb-ask__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 500;
    margin-bottom: var(--space-3);
    color: var(--ink);
}

.hmb-ask__subtitle {
    font-size: 20px;
    color: var(--ink-muted);
    max-width: 600px;
    margin: 0 auto var(--space-5);
}

.hmb-ask__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hmb-search-bar {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hmb-search-bar input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    font-size: 16px;
    background: var(--surface);
    transition: border-color var(--transition);
}

.hmb-search-bar input:focus {
    outline: none;
    border-color: var(--ink);
}

.hmb-search-bar i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-muted);
    font-size: 1.2rem;
}

.hmb-ask__filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hmb-filter-pill {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
}

.hmb-filter-pill:hover,
.hmb-filter-pill.is-active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.hmb-ask__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hmb-question-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.hmb-question-card__header {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: background 0.2s;
}

.hmb-question-card__header:hover {
    background: #fafafa;
}

.hmb-question-card__topic {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--ink-muted);
    background: var(--line);
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.hmb-question-card__title {
    margin: 0;
    flex-grow: 1;
    font-size: 1.15rem;
    font-weight: 600;
}

.hmb-question-card__toggle {
    background: none;
    border: none;
    color: var(--ink-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.hmb-question-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 32px;
}

.hmb-question-card.is-open .hmb-question-card__body {
    max-height: 3000px;
    padding: 0 32px 32px;
}

.hmb-question-card.is-open .hmb-question-card__header {
    border-bottom: 1px solid var(--line);
}

.hmb-question-card__toggle {
    background: none;
    border: 1px solid var(--line);
    color: var(--ink-muted);
    font-size: 1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, transform 0.3s;
}

.hmb-question-card.is-open .hmb-question-card__toggle {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    transform: rotate(45deg);
}

/* ── Scam Map ─────────────────────────────────────────────────── */
.hmb-scam-map-container {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.hmb-scam-map-legend {
    position: absolute;
    bottom: var(--space-4);
    left: var(--space-4);
    background: var(--surface);
    padding: var(--space-3);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hmb-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

.hmb-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hmb-dot--high { background: #ef4444; }
.hmb-dot--medium { background: #f59e0b; }
.hmb-dot--low { background: #3b82f6; }

.hmb-map-popup {
    min-width: 200px;
}

.hmb-map-popup__tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
}

.hmb-map-popup__tag--low { background: #3b82f6; }

/* ── Price Database ───────────────────────────────────────────── */
.hmb-price-db {
    padding: var(--space-8) 0;
}

.hmb-price-db__header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.hmb-price-db__table-wrapper {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.hmb-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.hmb-table th {
    background: var(--paper);
    padding: 16px 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    font-weight: 500;
}

.hmb-table td {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink);
}

.hmb-table__tag {
    font-size: 12px;
    background: var(--paper);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--ink-muted);
}

.hmb-table__price-tourist {
    color: var(--ink);
    font-weight: 400;
}

.hmb-table__price-local {
    color: var(--terracotta);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hmb-table th:nth-child(2),
    .hmb-table td:nth-child(2),
    .hmb-table th:nth-child(3),
    .hmb-table td:nth-child(3) {
        display: none;
    }
}

/* ── Icons (Remix) ────────────────────────────────────────────── */
[class^="ri-"],
[class*=" ri-"] {
    font-size: 1.1em;
    vertical-align: -0.1em;
    line-height: 1;
}

/* ── Feature Teasers (Pinned Note Cards) ────────────────────── */
.hmb-teaser {
    display: block;
    position: relative;
    padding: var(--space-8) var(--space-4) var(--space-5);
    background: #fff;
    border: none;
    box-shadow: 1px 1px 15px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--ink);
    aspect-ratio: 1 / 1.1;
    display: flex;
    flex-direction: column;
}

/* Note Card Colors (Cycling) */
.hmb-feature-hub__item:nth-child(5n+1) .hmb-teaser { background: #FEF9C3; } /* Yellow */
.hmb-feature-hub__item:nth-child(5n+2) .hmb-teaser { background: #E0F2FE; } /* Blue */
.hmb-feature-hub__item:nth-child(5n+3) .hmb-teaser { background: #DCFCE7; } /* Green */
.hmb-feature-hub__item:nth-child(5n+4) .hmb-teaser { background: #FCE7F3; } /* Pink */
.hmb-feature-hub__item:nth-child(5n+5) .hmb-teaser { background: #FFEDD5; } /* Orange */

/* Organic Rotation */
.hmb-feature-hub__item:nth-child(odd) .hmb-teaser { transform: rotate(-1.5deg); }
.hmb-feature-hub__item:nth-child(even) .hmb-teaser { transform: rotate(1.2deg); }

.hmb-teaser:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
    box-shadow: 10px 20px 40px rgba(0,0,0,0.1);
    z-index: 10;
}

/* The Red Push Pin */
.hmb-teaser__pin {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.hmb-teaser__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hmb-teaser__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.hmb-teaser__label {
    font-family: var(--font-hand);
    font-size: 13px;
    color: var(--ink);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hmb-teaser__icon {
    font-size: 20px;
    color: var(--ink);
    opacity: 0.6;
}

.hmb-teaser__main {
    flex-grow: 1;
}


.hmb-teaser__title {
    font-family: var(--font-hand);
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--space-2);
    line-height: 1.2;
}

.hmb-teaser__desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-muted);
}


/* ── Feature Hub Grid ─────────────────────────────────────────── */

/* ── Feature Hub Grid ─────────────────────────────────────────── */
.hmb-feature-hub {
    max-width: var(--wrapper-width);
    margin: var(--space-6) auto;
}

.hmb-feature-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .hmb-feature-hub {
        /* Prevent body scrolling from bleeding */
        overflow: hidden;
    }
    
    .hmb-feature-hub__grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--space-4);
        padding: var(--space-6) var(--space-4);
        margin: 0 calc(var(--space-4) * -1); /* Bleed to edges */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .hmb-feature-hub__grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .hmb-feature-hub__item {
        flex: 0 0 280px; /* Fixed width for card notes */
        scroll-snap-align: center;
    }
    
    .hmb-feature-hub__item:first-child {
        margin-left: var(--space-4);
    }
    
    .hmb-feature-hub__item:last-child {
        margin-right: var(--space-4);
    }
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hmb-header__nav {
        display: none;
    }

    .hmb-header__burger {
        display: flex;
    }

    .hmb-header__cta {
        display: none;
    }
}

@media (max-width: 900px) {
    .hmb-footer__top {
        flex-direction: column;
        gap: 40px;
    }

    .hmb-footer__grid {
        gap: 60px;
    }

    .hmb-footer__agency-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .hmb-header {
        top: 0;
        width: 100%;
        height: 56px;
    }

    .hmb-header__inner {
        padding: 0 20px !important;
    }

    .hmb-header__logo-sub {
        display: none;
    }

    .hmb-header__logo-dot {
        margin: 0 6px;
    }

    .hmb-grid {
        grid-template-columns: 1fr !important;
    }

    .hmb-footer {
        padding: 80px 0 40px;
    }

    .hmb-footer__grid {
        flex-direction: column;
        gap: 40px;
    }

    .hmb-footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hmb-footer__inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hmb-story-header {
        padding: 60px 0;
    }

    .hmb-cta-block {
        padding: 40px 24px;
    }

    .hmb-author-bar {
        flex-direction: column;
        padding: 24px;
    }
}