.hg-home { width: min(1100px, calc(100% - 48px)); }
.hg-holdings,
.hg-counsel,
.hg-close {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
}
.hg-hero { margin: 0 0 1.2rem; padding-top: 0.45rem; }
.hg-hero-mast {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin: 0 0 0.35rem;
    min-width: 0;
}
.hg-hero-lead {
    min-width: 0;
    flex: 1 1 auto;
}
.hg-hero-lead .hg-kicker { margin-bottom: 0.45rem; }
.hg-hero-lead .hg-stamp { margin-bottom: 0.55rem; }
.hg-rule {
    position: relative;
    height: 1px;
    margin: 1.35rem 0 1.5rem;
    background: linear-gradient(90deg, transparent, var(--hg-line), transparent);
}
.hg-rule::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--hg-bg);
}
.hg-key-quote {
    margin: 0 0 1.35rem;
    padding: 0;
    max-width: 42rem;
    border: 0;
}
.hg-key-quote p {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.4vw, 1.95rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.18;
    letter-spacing: 0.01em;
    color: var(--text);
}
.hg-key-quote p + p { color: var(--primary); }
.hg-epigraph {
    margin: 0 0 1.35rem;
    max-width: 36rem;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    line-height: 1.4;
    color: var(--text-soft);
    font-style: italic;
    letter-spacing: 0.01em;
}
.hg-hero > p:not(.hg-kicker):not(.hg-stamp):not(.hg-epigraph):not(.hg-pull):not(.hg-hero-actions) {
    max-width: 40rem;
}
.hg-metrics {
    list-style: none;
    margin: 1.8rem 0 1.5rem;
    padding: 1.15rem 0 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
    border-top: 1px solid var(--hg-border);
}
.hg-metrics li {
    min-width: 0;
    padding: 0.15rem 0 0.2rem;
    color: var(--hg-muted);
    font-size: 13px;
    line-height: 1.45;
    background: none;
    border: 0;
}
.hg-metric-n {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--primary);
}
.hg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0;
}
.hg-counsel,
.hg-close {
    margin-top: 4.2rem;
    scroll-margin-top: 96px;
}
.hg-maxim-list {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}
.hg-maxim { padding: 1.45rem 1.25rem 1.35rem; }
.hg-maxim-num {
    position: absolute;
    top: 1.05rem;
    right: 1.05rem;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--primary);
}
.hg-maxim-kicker {
    margin: 0 0 0.4rem;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
}
.hg-maxim h3 {
    margin: 0 0 0.5rem;
    font-size: 1.12rem;
    letter-spacing: 0.02em;
    text-transform: none;
}
.hg-maxim p:last-child { margin: 0; }
.hg-close { text-align: center; }
.hg-close h2 {
    max-width: 11em;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(26px, 6vw, 38px);
    letter-spacing: 0.03em;
    line-height: 1.08;
    text-transform: none;
}
.hg-close .hg-kicker { justify-content: center; }
.hg-close .hg-kicker::before { display: none; }
.hg-close > p:not(.hg-kicker):not(.hg-pull):not(.hg-hero-actions):not(.hg-sealed) {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
.hg-close .hg-pull {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.hg-close .hg-hero-actions { justify-content: center; }
.hg-signet { margin: 1.5rem 0 0.35rem; }
.hg-wax {
    position: relative;
    width: 196px;
    height: 196px;
    margin: 0 auto;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, #de5568, #9b1b36 46%, #4a0e18 100%);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.55),
        0 0 0 7px #4a0e18,
        0 0 0 8px rgba(212, 175, 55, 0.35),
        0 18px 42px rgba(88, 12, 28, 0.5),
        inset 0 0 22px rgba(0, 0, 0, 0.32);
}
.hg-wax-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hg-wax-groove { stroke: rgba(246, 226, 184, 0.55); stroke-width: 1.15; }
.hg-wax-groove-in { stroke: rgba(246, 226, 184, 0.28); stroke-width: 0.7; }
.hg-wax-ring text {
    fill: #f6e2b8;
    font-family: var(--font-display);
    font-size: 7px;
    letter-spacing: 0;
}
.hg-wax-plate {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin: -43px 0 0 -43px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 30%, #fff8ee, #e8d8c0 68%, #d2c09a);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 0 0 2px rgba(212, 175, 55, 0.5);
}
.hg-wax-mark {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: transparent;
}
.hg-wax-legend {
    margin: 0.85rem 0 0;
    font-family: var(--font-display);
    font-size: 12px;
    font-style: italic;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
}
.hg-sealed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin: 0.85rem 0 1.45rem;
}
.hg-sealed-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: min(16rem, 100%);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
}
.hg-sealed-line::before,
.hg-sealed-line::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hg-line), transparent);
}
.hg-sealed time {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    color: var(--text-soft);
}
.hg-home .hg-hero-actions .hg-btn-ghost { margin-left: 0; }

@media (min-width: 640px) {
    .hg-maxim-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .hg-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 980px) {
    .hg-home { width: calc(100% - 32px); }
    .hg-hero { padding-top: 0.15rem; margin-bottom: 0.25rem; }
    .hg-hero-mast { align-items: center; gap: 0.9rem; }
    .hg-key-quote { max-width: none; margin-bottom: 1rem; }
    .hg-key-quote p { font-size: clamp(1.08rem, 4.2vw, 1.32rem); }
    .hg-epigraph { font-size: 1.05rem; line-height: 1.4; margin-bottom: 0.95rem; }
}
@media (max-width: 767px) {
    .hg-home { width: calc(100% - 24px); }
    .hg-hero { padding-top: 0.1rem; margin-bottom: 0.2rem; }
    .hg-key-quote { margin-bottom: 0.95rem; }
    .hg-key-quote p { font-size: clamp(1.05rem, 5vw, 1.28rem); }
    .hg-epigraph { font-size: 1.02rem; line-height: 1.42; margin-bottom: 0.9rem; }
    .hg-pull { padding: 0.85rem 0.9rem; font-size: 1.02rem; }
    .hg-metrics { margin: 1.35rem 0 1.25rem; padding-top: 0.95rem; gap: 0.95rem; }
    .hg-metric-n { font-size: 24px; }
    .hg-counsel,
    .hg-close { margin-top: 3.1rem; }
    .hg-maxim { padding: 1.2rem 1.05rem 1.15rem; }
    .hg-wax { width: 172px; height: 172px; }
    .hg-wax-plate { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
    .hg-wax-mark { width: 52px; height: 52px; }
    .hg-sealed time { font-size: 1.05rem; }
    .hg-home .hg-hero-actions { gap: 0.55rem; }
    .hg-home .hg-hero-actions .hg-btn,
    .hg-home .hg-hero-actions .hg-btn-ghost { width: 100%; }
}
@media (max-width: 479px) {
    .hg-hero-mast {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
}
