/* Approved “Sections” shell with compact desktop navigation. */
.tg-site-header {
    --tg-shell-inset: 24px;
    padding-top: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid var(--tg-line);
    background: var(--tg-paper);
}
.tg-header-row {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-block: 12px;
}
.tg-brand {
    --tg-brand-size: 40px;
    display: inline-flex;
    min-height: 44px;
    max-width: 100%;
    align-items: center;
    gap: 12px;
    color: var(--tg-ink);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1;
    text-decoration: none;
}
/* Keep the original artwork at its original scale, exclude its empty SVG margins. */
.tg-brand-mark {
    position: relative;
    flex: none;
    width: calc(var(--tg-brand-size) * .85);
    height: calc(var(--tg-brand-size) * .7);
    overflow: hidden;
}
.tg-brand-mark img {
    position: absolute;
    left: calc(var(--tg-brand-size) * -.076285);
    top: calc(var(--tg-brand-size) * -.24705);
    display: block;
    width: var(--tg-brand-size);
    height: var(--tg-brand-size);
    max-width: none;
}
.tg-brand-word { position: relative; top: -1px; overflow-wrap: anywhere; }
.tg-header-actions { margin-left: auto; }
.tg-header-actions .tg-button {
    min-height: 44px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.4;
}
.tg-header-actions [aria-current] { border-color: var(--tg-accent); color: var(--tg-accent); }
.tg-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    margin-inline: calc(-1 * var(--tg-shell-inset));
    border-top: 1px solid var(--tg-line);
}
.tg-nav::-webkit-scrollbar { display: none; }
.tg-nav a {
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px var(--tg-shell-inset);
    border-bottom: 2px solid transparent;
    color: var(--tg-ink);
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 120ms var(--tg-ease-out), color 120ms var(--tg-ease-out);
}
.tg-nav a[aria-current] { border-bottom-color: var(--tg-accent); color: var(--tg-accent); }
.tg-nav a:focus-visible { outline-offset: -3px; }
.tg-nav-label-short { display: none; }
.tg-home .catalogue-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 24px;
}
.tg-home .catalogue-title-row h2 { margin: 0; }
.tg-home .tg-catalog-proposal {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--tg-accent);
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.tg-site-footer {
    --tg-shell-inset: 16px;
    border-top: 1px solid var(--tg-line);
    background: var(--tg-wash);
}
.tg-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-block: 32px 28px;
    margin-inline: calc(-1 * var(--tg-shell-inset));
}
.tg-footer-grid > section { min-width: 0; padding-inline: var(--tg-shell-inset); }
.tg-footer-title {
    margin: 0 0 14px;
    color: var(--tg-ink);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.4;
    text-wrap: balance;
}
.tg-footer-links { display: grid; gap: 4px; align-content: start; }
.tg-footer-links a {
    display: flex;
    min-height: 32px;
    align-items: flex-start;
    padding-block: 3px;
    color: var(--tg-muted);
    font-size: .9375rem;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.tg-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-block: 18px max(24px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--tg-line);
    color: var(--tg-muted);
    font-size: .8125rem;
}
.tg-footer-brand, .tg-footer-utilities { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.tg-footer-brand .tg-brand { --tg-brand-size: 30px; font-size: 1.125rem; }
.tg-footer-analytics-button {
    min-height: 32px;
    border: 0;
    padding: 3px 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.tg-footer-top { display: inline-flex; min-height: 32px; align-items: center; gap: 8px; text-decoration: none; }
.tg-footer-top svg { flex: none; }
@media (hover: hover) and (pointer: fine) {
    .tg-nav a:hover { background: var(--tg-wash); color: var(--tg-accent); }
    .tg-footer-links a:hover, .tg-footer-analytics-button:hover, .tg-footer-top:hover { color: var(--tg-accent); text-decoration: underline; }
}
@media (max-width: 800px) {
    .tg-site-header { --tg-shell-inset: 8px; }
    .tg-nav a { flex: 0 0 auto; min-height: 46px; padding-inline: 16px; font-size: .875rem; }
}
@media (max-width: 620px) {
    .tg-site-footer { --tg-shell-inset: 8px; }
    .tg-header-row { min-height: 72px; gap: 8px 12px; }
    .tg-brand { --tg-brand-size: 36px; gap: 10px; font-size: 1.375rem; }
    .tg-header-actions .tg-button { padding: 9px 12px; font-size: .875rem; }
    .tg-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; padding-block: 28px; }
    .tg-footer-grid > section:last-child { grid-column: 1 / -1; }
    .tg-footer-grid > section:last-child .tg-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
    .tg-footer-title { margin-bottom: 8px; font-size: .9375rem; text-wrap: wrap; }
    .tg-footer-brand { width: 100%; justify-content: space-between; }
    .tg-footer-utilities { gap: 12px 20px; }
}
@media (max-width: 360px) {
    .tg-brand { font-size: 1.25rem; gap: 8px; }
    .tg-header-actions .tg-button { padding-inline: 9px; }
}
@media print {
    .tg-nav, .tg-header-actions, .tg-site-footer { display: none !important; }
    .tg-site-header { position: static !important; break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { .tg-nav a { transition: none; } }
