/*
 * Ecosystem visual layer.
 * Loaded after ecosystem.css / ecosystem-subsites.css.
 * Adds accent color, depth, and connective graphics to the shared
 * subsite components without changing layout or copy.
 */

/* ---------------------------------------------------------------- */
/* Section atmosphere — faint beams + accent glow behind content    */
/* ---------------------------------------------------------------- */

.section,
.closing {
    position: relative;
    overflow: hidden;
}

.section > .site-shell,
.closing > .site-shell {
    position: relative;
    z-index: 1;
}

.section:not(.ivory)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 88% 4%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 32%),
        repeating-linear-gradient(115deg, transparent 0 19vw, color-mix(in srgb, var(--accent) 7%, transparent) 19.05vw 19.18vw);
}

.section.ivory::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.6;
    background:
        radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 30%),
        repeating-linear-gradient(115deg, transparent 0 21vw, rgba(23, 19, 17, 0.05) 21.05vw 21.16vw);
}

/* .ivory only carries a background via .section.ivory — closings need it too,
   or ink-styled content inside renders on the dark body background. */
.closing.ivory {
    background: var(--paper);
    color: var(--ink);
}

.closing:not(.ivory)::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 55%);
}

.closing.ivory::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%);
}

/*
 * Accent text is tuned for dark grounds; on ivory paper it drops below
 * legibility (gold on cream ≈ 1.7:1). Deepen it toward ink there.
 * Dark strips inside ivory sections (glance, disclosure, ecosystem items,
 * dark event-cards) are deliberately excluded.
 */
.section.ivory .section-head .eyebrow,
.section.ivory .accelerator-compact-head .eyebrow,
.section.ivory .company-founder .eyebrow,
.section.ivory .menu-wrap > div:not(.event-card) > .eyebrow,
.closing.ivory .eyebrow,
.ivory .concept-card .eyebrow,
.ivory .role-card .eyebrow,
.ivory .concept-card .card-number,
.ivory .role-card .card-number,
.ivory .button.text,
.ivory .theta-process-grid .process-step span,
.door-cta {
    color: color-mix(in srgb, var(--accent) 58%, var(--ink));
}

.door-cta {
    display: block;
    margin-top: 1rem;
    font-weight: 700;
}

/* Eyebrow rule — short gradient dash above section eyebrows */
.section-head > .eyebrow::before {
    content: '';
    display: block;
    width: 2.4rem;
    height: 2px;
    margin-bottom: 0.85rem;
    background: linear-gradient(90deg, var(--accent), transparent);
}

/* ---------------------------------------------------------------- */
/* Cards — accent hairline, corner wash, hover behavior             */
/* ---------------------------------------------------------------- */

.concept-card,
.role-card,
.capability-card,
.mandate-card {
    position: relative;
    background:
        radial-gradient(circle at 88% -4%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 46%),
        #100d0c;
}

.ivory .concept-card,
.ivory .role-card,
.ivory .capability-card,
.ivory .mandate-card {
    background:
        radial-gradient(circle at 88% -4%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 46%),
        var(--paper);
}

.concept-card::before,
.role-card::before,
.capability-card::before,
.mandate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 75%, transparent), transparent 70%);
    opacity: 0.55;
    transition: opacity 200ms ease;
}

.card-number::before {
    content: '';
    display: block;
    width: 1.9rem;
    height: 2px;
    margin-bottom: 0.7rem;
    background: linear-gradient(90deg, var(--accent), transparent);
}

/* When the card label is a logo (e.g. the Theta Labs wordmark), the dash
   reads as a stray streak beside it — drop it. */
.card-number:has(img)::before,
.card-number.home-organization-logo::before {
    content: none;
}

/* Brand mark inside a card */
.card-mark {
    display: block;
    width: auto;
    height: 2.9rem;
    margin: 0 0 1.1rem;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.ivory .card-mark {
    filter: none;
}

/* Link cards invite interaction */
a.concept-card,
a.role-card,
a.ecosystem-item {
    transition: background-color 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) {
    a.concept-card:hover,
    a.role-card:hover {
        background:
            radial-gradient(circle at 88% -4%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 52%),
            #17110e;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
    }

    .ivory a.concept-card:hover,
    .ivory a.role-card:hover {
        background:
            radial-gradient(circle at 88% -4%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 52%),
            #fbf6ec;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
    }

    a.concept-card:hover::before,
    a.role-card:hover::before {
        opacity: 1;
    }
}

/* ---------------------------------------------------------------- */
/* Process grid — numbered nodes on a connecting track              */
/* ---------------------------------------------------------------- */

.process-step {
    position: relative;
    padding-top: 1.9rem;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 3.05rem;
    left: 0;
    right: 0;
    height: 1px;
    background: color-mix(in srgb, var(--accent) 34%, transparent);
}

.process-step span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.3rem;
    height: 2.3rem;
    padding: 0 0.55rem;
    border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 15%, #100d0c);
    box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 25%, transparent);
    font-weight: 800;
}

.ivory .theta-process-grid .process-step span {
    background: color-mix(in srgb, var(--accent) 14%, var(--paper));
    box-shadow: none;
}

/* ---------------------------------------------------------------- */
/* Timeline — gradient spine and glowing nodes                      */
/* ---------------------------------------------------------------- */

.timeline::before {
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent,
        color-mix(in srgb, var(--accent) 55%, transparent) 12%,
        color-mix(in srgb, var(--accent) 55%, transparent) 88%,
        transparent
    );
}

.timeline-body::before {
    box-shadow:
        0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent),
        0 0 16px color-mix(in srgb, var(--accent) 65%, transparent);
}

.timeline-time {
    font-weight: 800;
}

/* ---------------------------------------------------------------- */
/* Check lists — explicit yes / no markers                          */
/* ---------------------------------------------------------------- */

.check-list li {
    position: relative;
    padding-left: 1.7rem;
}

.check-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0.7rem;
    color: var(--accent);
    font-weight: 800;
}

.check-list--yes li::before {
    content: '✓';
    color: #74c69d;
}

.check-list--no li::before {
    content: '✕';
    color: #e07a5f;
}

.qualification-yes {
    border-top: 3px solid #74c69d;
    background:
        radial-gradient(circle at 50% -20%, rgba(116, 198, 157, 0.12), transparent 55%),
        #171413;
}

.qualification-no {
    border-top: 3px solid #e07a5f;
    background:
        radial-gradient(circle at 50% -20%, rgba(224, 122, 95, 0.1), transparent 55%),
        #171413;
}

/* ---------------------------------------------------------------- */
/* Ecosystem list — accent bar + optional item marks                */
/* ---------------------------------------------------------------- */

/*
 * These components keep a dark background even inside .ivory sections,
 * where text color inherits the section's dark ink. Force light text.
 */
.ecosystem-item,
.process-step,
.qualification > div,
.split-cta > a {
    color: var(--paper);
}

.ivory .theta-process-grid .process-step {
    color: var(--ink);
}

.ecosystem-item {
    position: relative;
    background:
        radial-gradient(circle at 92% -8%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 50%),
        #191210;
}

.ecosystem-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 70%, transparent), transparent 80%);
    opacity: 0.5;
}

.item-mark {
    display: block;
    width: auto;
    height: 2.6rem;
    margin-bottom: 0.8rem;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

@media (hover: hover) {
    a.ecosystem-item:hover {
        background:
            radial-gradient(circle at 92% -8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%),
            #211a15;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
    }
}

/* ---------------------------------------------------------------- */
/* Aside / event cards — gradient signature bar                     */
/* ---------------------------------------------------------------- */

.event-card {
    position: relative;
    background:
        radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 45%),
        rgba(255, 255, 255, 0.035);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 20%, transparent));
}

/* Glance strips (Accelerator / Theta) */
.accelerator-glance > div,
.theta-glance > div {
    position: relative;
}

.accelerator-glance > div::before,
.theta-glance > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2.6rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

/* ---------------------------------------------------------------- */
/* FAQ + CTA affordances                                            */
/* ---------------------------------------------------------------- */

.faq summary {
    transition: color 180ms ease;
}

.faq summary:hover,
.faq details[open] summary {
    color: var(--accent);
}

.split-cta > a,
.service-list a {
    position: relative;
    transition: background-color 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) {
    .split-cta > a:hover,
    .service-list a:hover {
        background:
            radial-gradient(circle at 88% -4%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 52%),
            #1d1613;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
    }
}

/* ---------------------------------------------------------------- */
/* Theta bridge — watermark symbol behind the hero                  */
/* ---------------------------------------------------------------- */

.theta-command-line {
    max-width: 640px;
    margin: 1.4rem 0 0;
    padding: 0.9rem 0 0.9rem 1.1rem;
    border-left: 2px solid var(--accent);
    color: #c7beb2;
    font-size: 0.98rem;
    line-height: 1.6;
}

.theta-command-line strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--paper);
    font-size: 1.08rem;
}

.property-theta .hero::after {
    content: '';
    position: absolute;
    right: -4%;
    bottom: -10%;
    width: min(46vw, 540px);
    aspect-ratio: 150 / 145;
    pointer-events: none;
    background: url('/assets/Theta%20Symbol.svg') no-repeat center / contain;
    opacity: 0.05;
}

/* ---------------------------------------------------------------- */
/* Vertical bands — group venture cards by market vertical          */
/* ---------------------------------------------------------------- */

.vertical-band {
    display: grid;
    grid-template-columns: minmax(200px, 0.5fr) minmax(0, 1.5fr);
    gap: 2rem;
    align-items: start;
    padding: 2.6rem 0;
    border-top: 1px solid #d6c9b5;
}

.vertical-band--culinary { --accent: #477b45; }
.vertical-band--optical { --accent: #167c92; }
.vertical-band--labs { --accent: #79429c; }

.vertical-head .eyebrow::before {
    content: '';
    display: block;
    width: 2.4rem;
    height: 2px;
    margin-bottom: 0.85rem;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.vertical-title {
    margin: 0.55rem 0 0;
    font: 400 clamp(1.6rem, 2.4vw, 2.2rem) / 1.05 var(--serif);
    letter-spacing: -0.03em;
}

.vertical-band .concept-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 800px) {
    .vertical-band {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ---------------------------------------------------------------- */
/* Scroll reveal — Chromium only, additive, honors reduced motion   */
/* ---------------------------------------------------------------- */

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .concept-card,
        .role-card,
        .capability-card,
        .mandate-card,
        .process-step,
        .ecosystem-item,
        .timeline-item,
        .qualification > div {
            animation-name: eco-rise;
            animation-duration: 1ms;
            animation-timing-function: ease-out;
            animation-fill-mode: both;
            animation-timeline: view();
            animation-range: entry 0% entry 45%;
        }
    }
}

@keyframes eco-rise {
    from {
        opacity: 0.25;
        translate: 0 16px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

/* ---------------------------------------------------------------- */
/* Spacing corrections — Tailwind preflight zeroes default margins, */
/* so anything without an explicit margin collapses. Restore rhythm.*/
/* ---------------------------------------------------------------- */

.section-title {
    margin: 0.25rem 0 0.85rem;
}

.process-step h3 {
    margin: 1rem 0 0.45rem;
}

.process-step p {
    margin: 0;
}

p + .card-copy {
    margin-top: 0.5rem;
}

.application-header .eyebrow {
    margin: 0 0 1rem;
}

.application-header h1 {
    margin: 0 0 1.35rem;
}

.application-header .lead {
    margin-block: 0;
}

.form-section h2 {
    margin: 0 0 0.45rem;
}

.form-section p {
    margin: 0.35rem 0 0;
}

.ecosystem-footer p {
    margin: 0.6rem 0 0;
}

.alert strong {
    display: block;
    margin-bottom: 0.4rem;
}

.alert ul {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.received-card .eyebrow {
    margin: 0 0 0.8rem;
}

.received-card h1 {
    margin: 0 0 1.1rem;
}

.received-card p {
    margin: 0.55rem 0 0;
}

.qualification h3 {
    margin: 0 0 0.9rem;
}

.faq p {
    margin: 0.8rem 0 0.3rem;
}

.event-card .eyebrow {
    margin: 0 0 0.7rem;
}

.event-card p + p {
    margin-top: 0.6rem;
}

/* ---------------------------------------------------------------- */
/* PARALLEL — candlelight treatment for the event page              */
/* ---------------------------------------------------------------- */

.property-parallel {
    --accent: #dfae5a;
}

.property-parallel .site-header {
    border-bottom-color: rgba(223, 174, 90, 0.22);
}

.property-parallel .hero {
    background:
        radial-gradient(ellipse at 50% 120%, rgba(60, 24, 18, 0.55), transparent 60%),
        #100d0c;
}

.property-parallel .hero::before {
    background:
        radial-gradient(circle at 76% 22%, rgba(223, 174, 90, 0.22), transparent 32%),
        radial-gradient(circle at 12% 85%, rgba(126, 38, 54, 0.5), transparent 42%),
        repeating-linear-gradient(115deg, transparent 0 14vw, rgba(223, 174, 90, 0.07) 14.05vw 14.2vw);
}

@media (prefers-reduced-motion: no-preference) {
    .property-parallel .hero::before {
        animation: parallel-candle 8s ease-in-out infinite alternate;
    }
}

@keyframes parallel-candle {
    from { opacity: 0.82; }
    to { opacity: 1; }
}

/* Candlelit table scene: perspective floor + drifting candle glows */
.property-parallel .hero::after {
    content: '';
    position: absolute;
    inset: -30% -15% -15%;
    pointer-events: none;
    opacity: 0.34;
    background:
        repeating-linear-gradient(90deg, transparent 0 7.5vw, rgba(236, 198, 120, 0.16) 7.55vw 7.62vw),
        linear-gradient(180deg, transparent 40%, rgba(223, 174, 90, 0.14));
    mask-image: linear-gradient(to bottom, transparent 32%, #000 62%, #000 100%);
    transform: perspective(700px) rotateX(58deg) translateY(12%);
    transform-origin: center bottom;
}

.property-parallel .hero-candles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.property-parallel .hero-candles i {
    position: absolute;
    width: 14rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 198, 120, 0.30), transparent 62%);
    filter: blur(14px);
}

.property-parallel .hero-candles i:nth-child(1) { left: 6%; top: 16%; }
.property-parallel .hero-candles i:nth-child(2) { right: 24%; top: 6%; width: 10rem; }
.property-parallel .hero-candles i:nth-child(3) { right: 4%; bottom: 10%; width: 18rem; }

@media (prefers-reduced-motion: no-preference) {
    .property-parallel .hero-candles i {
        animation: candle-float 8s ease-in-out infinite;
    }

    .property-parallel .hero-candles i:nth-child(2) { animation-delay: -2.6s; }
    .property-parallel .hero-candles i:nth-child(3) { animation-delay: -5.2s; }
}

@keyframes candle-float {
    0%, 100% { translate: 0 0; opacity: 0.75; }
    50% { translate: 0 -16px; opacity: 1; }
}

.property-parallel .display {
    background: linear-gradient(115deg, #f6ead2 25%, #e6b96a 55%, #c08d41 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* The four beats of the pitch, staged as a sequence */
.property-parallel .hero-beats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.15rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
    color: #cfc0a8;
    font-size: 0.98rem;
}

.property-parallel .hero-beats li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.property-parallel .hero-beats li::before {
    content: '';
    flex: 0 0 auto;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ecc678, #a87b2e);
    box-shadow: 0 0 10px rgba(236, 198, 120, 0.8);
}

.property-parallel .hero-beats li:nth-child(3) {
    color: #ecc678;
    font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
    .property-parallel .hero-beats li {
        opacity: 0;
        animation: beat-in 0.7s ease-out forwards;
    }

    .property-parallel .hero-beats li:nth-child(1) { animation-delay: 0.15s; }
    .property-parallel .hero-beats li:nth-child(2) { animation-delay: 0.45s; }
    .property-parallel .hero-beats li:nth-child(3) { animation-delay: 0.75s; }
    .property-parallel .hero-beats li:nth-child(4) { animation-delay: 1.05s; }
}

@keyframes beat-in {
    from { opacity: 0; translate: 0 10px; }
    to { opacity: 1; translate: 0 0; }
}

/* Gold CTAs */
.property-parallel .button:not(.secondary):not(.text) {
    border-color: #e6bd6d;
    background: linear-gradient(135deg, #ecc678, #c9963e) #d9a94f;
    box-shadow: 0 12px 34px rgba(223, 174, 90, 0.22);
}

/* Oversized gold course numbers on the concept cards */
.property-parallel .concept-grid .card-number {
    background: linear-gradient(120deg, #f6ead2, #c08d41);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 3rem;
}

/* Program times as chips */
.property-parallel .timeline-item .timeline-time {
    justify-self: end;
    align-self: start;
    padding: 0.32rem 0.6rem;
    border: 1px solid rgba(223, 174, 90, 0.35);
    background: rgba(223, 174, 90, 0.07);
}

.property-parallel .closing .section-title {
    background: linear-gradient(115deg, #3a2c14, #a87b2e 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* background-clip:text only paints inside the box — without bottom padding,
   descenders (g, y) fall outside it and render transparent. */
.property-parallel .display,
.property-parallel .closing .section-title,
.property-parallel .concept-grid .card-number {
    padding-bottom: 0.14em;
}

.property-parallel .display .small {
    color: #c7beb2;
}

.property-parallel .hero .lead {
    color: #e8ddcb;
}

/* The event card becomes a printed invitation */
.property-parallel .invite-card {
    border: 1px solid #c9a45c;
    outline: 1px solid rgba(201, 164, 92, 0.4);
    outline-offset: 5px;
    background: linear-gradient(160deg, #faf4e6, #efe3cc) #f2e8d2;
    color: var(--ink);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(223, 174, 90, 0.12);
}

.property-parallel .invite-card::before {
    content: 'PARALLEL · AN INVITATION';
    position: static;
    display: block;
    width: auto;
    height: auto;
    padding-bottom: 1rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(160, 120, 50, 0.35);
    background: none;
    color: #a07832;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-align: center;
    text-transform: uppercase;
}

.property-parallel .invite-card::after {
    content: 'P';
    position: absolute;
    top: -1.15rem;
    left: 50%;
    translate: -50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ecc678, #a87b2e 70%);
    color: #241703;
    font: 700 1.05rem/1 var(--serif);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.property-parallel .invite-card dt {
    color: #8a6a33;
}

.property-parallel .invite-card dd {
    font-size: 1.28rem;
}

.property-parallel .invite-card div {
    border-bottom-color: rgba(160, 120, 50, 0.25);
}

/* Ghost initials give the role wall individual identity */
.property-parallel .role-card {
    overflow: hidden;
}

.property-parallel .role-card::after {
    content: attr(data-glyph);
    position: absolute;
    top: -1.6rem;
    right: -0.5rem;
    pointer-events: none;
    color: var(--accent);
    opacity: 0.13;
    font: 400 7.5rem/1 var(--serif);
}

.property-parallel .menu-card {
    transform: rotate(-0.6deg);
    box-shadow:
        22px 22px 0 #cbbba3,
        0 34px 80px rgba(64, 35, 59, 0.22);
}

/* Line-art table illustrations — no photography, engraved-menu style */
.property-parallel .hero-table {
    position: absolute;
    left: 2%;
    bottom: 3%;
    width: min(38vw, 480px);
    height: auto;
    opacity: 0.14;
    pointer-events: none;
}

.property-parallel #dinner {
    background:
        radial-gradient(ellipse at 50% 112%, rgba(223, 174, 90, 0.20), transparent 55%),
        var(--paper);
}

/* Concept cards carry a small stroke icon in the corner */
.concept-card .card-icon {
    position: absolute;
    top: 1.7rem;
    right: 1.7rem;
    width: 2.2rem;
    height: 2.2rem;
    color: var(--accent);
    opacity: 0.9;
}

/* Gold thread ornament at the top of each PARALLEL section */
.property-parallel .section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
    width: min(340px, 70%);
    height: 7px;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 50% 50%, #dfae5a 0 2.2px, transparent 3px),
        linear-gradient(90deg, transparent, rgba(223, 174, 90, 0.5) 18%, rgba(223, 174, 90, 0.5) 82%, transparent);
    background-size: 100% 100%, 100% 1px;
    background-position: center, center;
    background-repeat: no-repeat;
}

/* Five doors — the application entries read as literal doorways */
.property-parallel #applications .role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.6rem 1.5rem 2rem;
    text-align: center;
}

.property-parallel #applications .role-card::before {
    content: '';
    position: absolute;
    inset: 0.65rem 0.65rem 0;
    height: auto;
    border: 1px solid rgba(168, 123, 46, 0.32);
    border-bottom: 0;
    border-radius: 14rem 14rem 0 0;
    background: none;
    opacity: 1;
}

.property-parallel #applications .role-card::after {
    content: none;
}

.property-parallel .door-number {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(168, 123, 46, 0.45);
    background: linear-gradient(160deg, #f3e3c2, #dfc084);
    color: #5c431a;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(92, 67, 26, 0.2);
}

/* Menu card detailing: diamond bullets and a closing flourish */
.property-parallel .menu-card li {
    position: relative;
    padding-left: 1.2rem;
}

.property-parallel .menu-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.5rem;
    width: 0.42rem;
    height: 0.42rem;
    rotate: 45deg;
    background: #c9963e;
    opacity: 0.75;
}

.property-parallel .menu-card::after {
    content: '❦';
    display: block;
    margin-top: 1.3rem;
    color: #a87b2e;
    font-size: 1.35rem;
    text-align: center;
}

@media (max-width: 800px) {
    .process-step {
        padding-top: 1.7rem;
    }

    .process-step::before {
        top: 2.85rem;
    }

    .property-parallel .role-card::after {
        font-size: 5.5rem;
    }

    .property-parallel .menu-card {
        transform: none;
    }

    .property-parallel .timeline-item .timeline-time {
        justify-self: start;
    }

    .property-parallel .hero-candles i {
        display: none;
    }

    .property-parallel .hero-candles i:nth-child(3) {
        display: block;
    }

    .property-parallel .hero-table {
        display: none;
    }

    .property-parallel .concept-card .card-icon {
        top: 1.4rem;
        right: 1.4rem;
    }
}
