/* Public marketing pages share a rhythm without losing their product palettes. */
.interior-hero {
    position: relative;
    min-height: 0;
    padding-block: clamp(4rem, 8vw, 7rem);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.interior-hero > div.relative {
    width: 100%;
    max-width: 80rem;
    padding-block: 0;
}
.interior-hero h1 {
    font-size: clamp(2.5rem, 6.4vw, 6rem);
    line-height: 1.04;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
    margin-bottom: 1.75rem;
}
.interior-hero h1 > span { font-size: inherit; line-height: inherit; }
.interior-hero h1 + p { max-width: 46rem; }
.interior-hero p { text-wrap: pretty; }
.interior-hero .font-light { font-weight: 400; }
.interior-hero .animate-ping { animation: none; display: none; }
.interior-hero .text-zinc-500 { color: #a1a1aa; }
.interior-hero a { min-height: 2.75rem; }
.interior-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: max(1.5rem, calc((100% - 77rem) / 2));
    width: 5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-accent), transparent);
    pointer-events: none;
}
.interior-section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.interior-section :is(h2, h3) { line-height: 1.15; letter-spacing: -.025em; }
.interior-section p { text-wrap: pretty; }
.interior-section :is(.grid, .flex) > * { min-width: 0; }
.interior-section pre { max-width: 100%; overflow: auto; }
.interior-section article { overflow-wrap: anywhere; }
.interior-hero .interior-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #a1a1aa;
    font: .75rem/1.5 'JetBrains Mono', monospace;
    margin-bottom: 1.5rem;
}
.interior-hero .interior-breadcrumb:hover { color: var(--brand-accent); }
.interior-document-hero h1 { font-size: clamp(2.25rem, 5vw, 4.75rem); }
.interior-section .interior-document-hero { padding-top: 0; padding-bottom: 3rem; }
.interior-package h1 { font-size: clamp(2rem, 5.5vw, 5rem); }
.interior-package-details { line-height: 1.8; }
.interior-package-details > .font-mono {
    padding: 1rem;
    background: #080808;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: .5rem;
    overflow-wrap: anywhere;
}
.interior-reading { color: #bdbdc3; font-size: 1.0625rem; line-height: 1.85; }
.interior-reading p { margin-block: 0 1.4em; }
.interior-reading h2 { margin-block: 2.25em .8em; font-size: 1.8rem; color: var(--brand-paper); }
.interior-reading h3 { margin-block: 1.75em .75em; font-size: 1.3rem; color: var(--brand-paper); }
.interior-reading :is(ul, ol) { padding-left: 1.5rem; margin-block: 1rem 1.5rem; }
.interior-reading ul { list-style: disc; }
.interior-reading ol { list-style: decimal; }
.interior-reading li { padding-left: .25rem; margin-bottom: .5rem; }
.interior-reading strong { color: var(--brand-paper); }
.interior-reading a { color: var(--brand-accent); text-underline-offset: .2em; text-decoration: underline; }
.interior-reading pre { padding: 1.25rem; background: #111; border-radius: .75rem; }
.interior-reading table { display: block; overflow-x: auto; border-collapse: collapse; }
.interior-reading :is(th, td) { padding: .75rem; border-bottom: 1px solid #303033; text-align: left; }
@media (max-width: 639px) {
    .interior-hero { padding-block: 3rem; }
    .interior-hero h1 { font-size: clamp(2rem, 8.6vw, 3.25rem); letter-spacing: -.04em; }
    .interior-hero p { font-size: 1rem; line-height: 1.75; }
    .interior-hero .mb-12, .interior-hero .mb-16 { margin-bottom: 2rem; }
    .interior-hero .mb-8 { margin-bottom: 1.5rem; }
    .interior-hero .tracking-widest { letter-spacing: .08em; }
    .interior-section > div > .p-8 { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .interior-hero *, .interior-hero *::before, .interior-hero *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* Pillar hubs: a clear introduction paired with useful routes into the work. */
.hub-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 1.5rem; background: #080808; border-bottom: 1px solid #ffffff14; }
.hub-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 85% 30%, color-mix(in srgb, var(--pillar-accent), transparent 94%), transparent 60%); }
.hub-hero-grid { position: relative; max-width: 80rem; margin: auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.hub-eyebrow { display: flex; align-items: center; gap: .75rem; color: #b6b3bd; font: .7rem/1.7 'JetBrains Mono',monospace; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 2rem; }
.hub-eyebrow > span { width: .45rem; height: .45rem; flex-shrink: 0; background: var(--pillar-accent); border-radius: 50%; box-shadow: 0 0 16px color-mix(in srgb, var(--pillar-accent), transparent 45%); }
.hub-hero h1 { font-size: clamp(2.75rem, 5.7vw, 5.5rem); letter-spacing: -.055em; font-weight: 750; line-height: 1.04; margin-bottom: 1.75rem; }
.hub-hero h1 > span { color: var(--brand-accent); }
.hub-intro { color: #aaa8ae; font-size: 1.125rem; line-height: 1.8; max-width: 38rem; text-wrap: pretty; }
.hub-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hub-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 1.25rem; border-radius: .75rem; font-size: .875rem; font-weight: 600; }
.hub-secondary { border: 1px solid #ffffff20; color: #eee; }
.hub-secondary:hover { border-color: var(--brand-accent); }
.hub-route-map { position: relative; padding: 1.75rem; border: 1px solid #ffffff14; border-radius: 1.5rem; background: linear-gradient(135deg, #ffffff05, #ffffff01); }
.hub-route-map::before { content: ''; position: absolute; width: 4rem; height: 2px; top: -1px; left: 1.75rem; background: linear-gradient(90deg, var(--pillar-accent), transparent); }
.hub-route-label { display: flex; justify-content: space-between; color: #96939c; font: .65rem/1.5 'JetBrains Mono',monospace; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .75rem; }
.hub-route-map .hub-route { display: grid; grid-template-columns: 1.5rem minmax(0,1fr) 1rem; align-items: center; gap: .8rem; padding: 1.4rem 0; border-top: 1px solid #ffffff10; }
.hub-route-number { font: .65rem 'JetBrains Mono',monospace; color: var(--pillar-accent); }
.hub-route strong { display: block; color: var(--brand-paper); font-weight: 550; font-size: 1.1rem; margin-bottom: .45rem; }
.hub-route small { display: block; color: #96949d; font: .8rem/1.65 Inter,sans-serif; }
.hub-route-arrow { color: var(--pillar-accent); transition: transform .2s; }
.hub-route:hover .hub-route-arrow { transform: translate(2px,-2px); }
.micro-products-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.micro-products-grid .collection-catalog-group { margin-top: 1.25rem; padding-bottom: .5rem; order: 0; }
.micro-products-grid > [data-collection] { order: 0; }
.micro-product-card { display: flex; flex-direction: column; min-width: 0; padding: 1.75rem; border: 1px solid #ffffff18; border-radius: 1.25rem; background: linear-gradient(145deg, color-mix(in srgb, var(--product-accent), #0b0b0d 95%), #0b0b0d 70%); transition: border-color .2s, transform .2s; }
.micro-product-card:hover { border-color: color-mix(in srgb, var(--product-accent), transparent 50%); transform: translateY(-3px); }
.micro-product-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.micro-product-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .85rem; background: color-mix(in srgb, var(--product-accent), transparent 85%); color: var(--product-accent); font-weight: 700; font-size: 1.25rem; }
.micro-product-stage { font: .6rem/1.5 'JetBrains Mono',monospace; letter-spacing: .04em; text-transform: uppercase; color: #b8aba0; }
.micro-product-category { font: .65rem/1.6 'JetBrains Mono',monospace; color: var(--product-accent); margin-bottom: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.micro-product-card h3 { color: var(--brand-paper); font-size: 1.6rem; font-weight: 650; margin-bottom: .9rem; }
.micro-product-description { font-size: .9rem; color: #aaa8af; line-height: 1.8; margin-bottom: 1.75rem; }
.micro-product-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid #ffffff10; color: #e5e3e7; font-size: .75rem; }
.micro-product-link > span { color: var(--product-accent); }
@media (max-width: 1023px) { .hub-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } .hub-hero-copy { max-width: 46rem; } .micro-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 639px) { .hub-hero { padding: 2.75rem 1.25rem; } .hub-hero h1 { font-size: clamp(2.4rem,10vw,3.5rem); } .hub-intro { font-size: 1rem; } .hub-actions a { flex: 1 1 auto; } .hub-route-map { padding: 1.25rem; } .hub-route-map .hub-route { padding: 1rem 0; } .micro-products-grid { grid-template-columns: 1fr; } .micro-product-card { padding: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .micro-product-card, .hub-route-arrow { transition: none; } .micro-product-card:hover { transform: none; } }
[data-collection-browser] [hidden] { display: none !important; }
.collection-filter-button { min-height: 2.75rem; }
.collection-feedback { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; margin-top: .75rem; color: #a1a1aa; font: .75rem/1.5 Inter,sans-serif; }
.collection-feedback button { min-height: 2.75rem; color: var(--brand-accent); }
.collection-toolbar input[type=search] { font-size: 1rem; }
.collection-toolbar input::placeholder { color: #8d8a94; }
.hub-route-map a::after { display: none; }
.micro-carousel-controls { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.micro-carousel-controls p { flex: 1; color: #a1a1aa; font: .75rem 'JetBrains Mono',monospace; }
.micro-carousel-controls button { width: 2.75rem; height: 2.75rem; border: 1px solid #ffffff25; border-radius: 50%; }
.micro-carousel-controls button:disabled { opacity: .25; cursor: default; }
.micro-carousel-controls button:enabled:hover { color: #17130b; background: var(--brand-accent); }
.micro-mindset-track > .micro-mindset-slide { flex: 0 0 calc((100% - 1.25rem) / 2); min-width: 0; min-height: 20rem; scroll-snap-align: start; }
.micro-mindset-track .micro-mindset-slide h3 { font-size: 1.5rem; }
@media (max-width: 639px) { .micro-mindset-track > .micro-mindset-slide { flex-basis: 90%; } }
/* Catalogue order is defined in HTML, including for keyboard and screen readers. */
.catalog-ordered > [data-collection], .catalog-ordered > [data-collection-group] { order: 0; }
.catalog-ordered .collection-catalog-card { min-height: 0; height: auto; }
.catalog-ordered article.collection-catalog-card { padding: 1.75rem; }
.catalog-ordered article.collection-catalog-card > a { margin-top: auto; padding-top: 1rem; min-height: 2.75rem; }
.catalog-ordered > [data-collection-group] { margin-top: 1.5rem; }
[data-collection-accent="emerald"] .collection-filter-button.is-active { border-color: #34d39966; background: #10b98118; color: #a7f3d0; }
@media (max-width: 639px) { .hub-route small { display: none; } .hub-route strong { margin-bottom: 0; font-size: 1rem; } .hub-eyebrow { font-size: .65rem; letter-spacing: .09em; } }
.site-nav a[aria-current="location"] { color: var(--brand-accent); background: rgba(var(--brand-rgb), .08); }
/* Keep catalogue content available even if intersection observers cannot run. */
.catalog-ordered .framework-reveal { opacity: 1; transform: none; }
.principles-page { padding-inline: 1.5rem; background: #080808; }
.principles-grid { max-width: 80rem; margin: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.principle-panel { padding: clamp(1.5rem,3vw,3rem); border: 1px solid #ffffff16; border-radius: 1.25rem; background: linear-gradient(135deg,#ffffff04,transparent); }
.principle-panel h2 { font-size: clamp(1.65rem,2.5vw,2.5rem); font-weight: 650; margin-bottom: 1.25rem; }
.principle-panel > p:not(.brand-eyebrow), .principles-decisions p { color: #a6a4ac; line-height: 1.85; }
.principle-panel ul { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #ffffff12; color: #d3cfc7; font-size: .875rem; line-height: 1.85; }
.principle-panel li { position: relative; padding-left: 1.2rem; margin-bottom: .5rem; }
.principle-panel li::before { content: '↗'; position: absolute; left: 0; color: var(--brand-accent); }
.principles-decisions { max-width: 80rem; margin: auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; }
.principles-decisions h2, .principles-closing h2 { font-size: clamp(2rem,3.5vw,3.5rem); font-weight: 650; line-height: 1.1; margin-bottom: 1.5rem; }
.decision-list details { border-bottom: 1px solid #ffffff20; }
.decision-list summary { cursor: pointer; padding: 1.5rem .5rem; font-size: 1.1rem; color: #e9e5df; }
.decision-list details[open] summary { color: var(--brand-accent); }
.decision-list details > p { padding: 0 .5rem 1.5rem; font-size: .95rem; }
.principles-closing { max-width: 80rem; margin: auto; border-top: 1px solid #ffffff20; padding-block: 3rem 0; }
.principles-closing p { color: #a6a4ac; margin-bottom: 1.75rem; }
.principles-closing a { display: inline-flex; align-items: center; gap: 2rem; border-radius: .75rem; padding: 1rem 1.5rem; font-weight: 600; }
.enquiry-page { padding: clamp(3rem,7vw,6rem) 1.5rem; background: #080808; }
.enquiry-layout { max-width: 80rem; margin: auto; display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: clamp(2rem,6vw,6rem); }
.enquiry-intro { position: sticky; top: 8rem; }
.enquiry-intro h1 { font-size: clamp(2.5rem,4.5vw,4.5rem); line-height: 1.05; letter-spacing: -.05em; font-weight: 700; margin-bottom: 1.75rem; }
.enquiry-intro h1 span { color: var(--brand-accent); }
.enquiry-intro > p:not(.brand-eyebrow) { color: #aaa7ad; font-size: 1.05rem; line-height: 1.8; }
.enquiry-next { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #ffffff18; }
.enquiry-next h2 { font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; }
.enquiry-next li { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.enquiry-next li > span { color: var(--brand-accent); font: .65rem/1.8 'JetBrains Mono',monospace; }
.enquiry-next strong { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .4rem; }
.enquiry-next p { color: #9c99a2; font-size: .85rem; line-height: 1.7; }
.enquiry-form { padding: clamp(1.25rem,3vw,2.5rem); border: 1px solid #ffffff18; background: #ffffff03; border-radius: 1.25rem; min-width: 0; }
.enquiry-form > h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; }
.enquiry-required { color: #a1a1aa; font-size: .75rem; margin-bottom: 2rem; }
.enquiry-form :is(input,textarea,select) { max-width: 100%; }
.enquiry-form textarea { resize: vertical; min-height: 8rem; }
.enquiry-form button[type=submit] { width: 100%; padding-inline: 1.25rem; }
.enquiry-privacy { color: #a1a1aa; font-size: .75rem; line-height: 1.7; margin-top: 1.5rem; }
.enquiry-privacy a { color: var(--brand-accent); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 1023px) { .enquiry-layout { grid-template-columns: 1fr; max-width: 44rem; } .enquiry-intro { position: static; } .enquiry-next { display: none; } .principles-decisions { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (max-width: 639px) { .principles-grid { grid-template-columns: 1fr; } .principles-page, .enquiry-page { padding-inline: 1.25rem; } }
.enquiry-layout { grid-template-areas: 'intro form' 'steps form'; row-gap: 2rem; }
.enquiry-intro { grid-area: intro; position: static; }
.enquiry-next { grid-area: steps; margin-top: 0; }
.enquiry-form { grid-area: form; }
@media (max-width: 1023px) { .enquiry-layout { grid-template-areas: 'intro' 'form' 'steps'; } .enquiry-next { display: block; } }
