html, body {
    overflow-x: clip;
}
/* The theme is picked by /api/app/landing — body stays hidden until the
   bootstrap applies html.t-* so no design flashes through. */
body:not(.t-ready) { visibility: hidden; }
html.t-classic body {
    background-color: #F0F0F3;
    color: #18181B;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
.theme-page { display: none; }
html.t-classic #p-classic, html.t-midnight #p-midnight, html.t-business #p-business, html.t-oro #p-oro, html.t-noctis #p-oro { display: block; }
.beta-box { position: relative; display: inline-flex; align-items: center; }
.beta-box:not(.open) > .beta-form { display: none !important; }
.beta-box .beta-form input { flex: 1 1 auto; min-width: 0; }
.beta-box.open > .beta-form {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; white-space: nowrap;
    position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 2;
    animation: beta-reveal .42s cubic-bezier(.2, .7, .3, 1) both;
}
.beta-box.open > .beta-trigger { visibility: hidden; }
.beta-row-open > :not(.beta-box) { visibility: hidden; }
.beta-box.open .beta-form::after {
    content: ''; position: absolute; top: 1px; bottom: 1px; width: 2px; border-radius: 1px;
    background: currentColor; pointer-events: none;
    animation: beta-caret .42s cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes beta-reveal { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes beta-caret { 0% { right: 0; opacity: 1; } 80% { opacity: 1; } 100% { right: calc(100% - 2px); opacity: 0; } }
.beta-trigger { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
#p-midnight .beta-box { margin-top: 16px; }
#p-midnight .beta-trigger { color: #aeb7ff; font-size: 0.9rem; font-weight: 650; }
#p-business .beta-box { margin-top: 14px; }
#p-business .beta-trigger { color: #3a5a80; font-size: 0.9rem; font-weight: 700; }
.classic-link {
    color: #1D4ED8;
    text-decoration: underline;
    text-decoration-color: rgba(29, 78, 216, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
.classic-link:hover {
    color: #1E40AF;
    text-decoration-color: #1E40AF;
}
/* Tailwind's text-subtle (#71717a) dips under 4.5:1 on card bg —
   zinc-600 keeps the muted hierarchy and clears the bar */
#p-classic .text-subtle { color: #52525b; }
/* footer legal links are the smallest tap targets on the page —
   padding + matching negative margin grows the hit area ~2.5x
   without moving the visual layout */
#p-classic footer a { padding: 8px 6px; margin: -8px -6px; }
/* Tailwind display utilities (flex etc.) beat the UA's [hidden] rule —
   keep the attribute authoritative for every toggled element */
[hidden] { display: none !important; }
@keyframes msg-pulse {
    0%, 100% { background-color: transparent; box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
    50% { background-color: rgba(29, 78, 216, 0.18); box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.18); }
}
#messenger-link {
    border-radius: 4px;
    padding: 1px 5px;
    margin: -1px -5px;
    animation: msg-pulse 0.9s ease-in-out 5;
}
/* On mobile the messenger sits inside the collapsed services panel —
   pulse the toggle instead so old-link visitors still spot it. */
@media (max-width: 1023.98px) {
    #services-toggle {
        border-radius: 6px;
        padding: 4px 6px;
        margin: -4px -6px;
        animation: msg-pulse 0.9s ease-in-out 5;
    }
}
@media (prefers-reduced-motion: reduce) {
    #messenger-link, #services-toggle { animation: none; }
}

/* ================= midnight theme ================= */
html.t-midnight body {
    margin: 0;
    color: #f4f7fb;
    background:
        radial-gradient(circle at 85% 4%, rgba(124, 140, 255, 0.2), transparent 28rem),
        radial-gradient(circle at 0% 35%, rgba(78, 216, 211, 0.08), transparent 25rem),
        #0b1020;
    font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
#p-midnight a { color: inherit; text-decoration: none; }
#p-midnight .container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
#p-midnight .nav {
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(11, 16, 32, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#p-midnight .brand { font-weight: 750; letter-spacing: -0.04em; font-size: 2.1rem; white-space: nowrap; }
#p-midnight .brand span { color: #8d97d9; }
#p-midnight .nav-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#p-midnight .nav-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.18); }
#p-midnight .nav-burger {
    display: none; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px;
    color: #f4f7fb; font-size: 0.8rem; background: none; cursor: pointer;
}
#p-midnight .nav-side { display: flex; align-items: center; gap: 12px; }
#p-midnight .nav-links { display: flex; align-items: center; gap: 12px; color: #a7b2c7; font-size: 0.92rem; }
#p-midnight .nav-links a:not(.nav-pill) {
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px;
    padding: 7px 12px; color: #f4f7fb; font-size: 0.8rem; transition: all 0.2s ease; white-space: nowrap;
}
#p-midnight .nav-links a:not(.nav-pill):hover { color: #aeb7ff; border-color: rgba(174, 183, 255, 0.5); }
#p-midnight .lang-btn, #p-midnight .nav-pill, #p-midnight .nav-burger {
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px;
    padding: 7px 12px; color: #f4f7fb; font-size: 0.8rem; background: none; cursor: pointer;
    white-space: nowrap;
}
#p-midnight .lang-btn, #p-midnight .nav-burger { min-width: 46px; }
#p-midnight .lang-btn.on { background: rgba(174, 183, 255, 0.16); border-color: rgba(174, 183, 255, 0.5); }
#p-midnight .nav-pill { background: rgba(174, 183, 255, 0.18); border-color: rgba(174, 183, 255, 0.5); color: #aeb7ff; font-weight: 700; }
#p-midnight .nav-pill:hover { background: #aeb7ff; border-color: #aeb7ff; color: #0b1020; }
#p-midnight .hero { padding: 72px 0 40px; }
#p-midnight .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 70px; align-items: start; }
#p-midnight .hero-grid > div { grid-column: 1 / -1; }
#p-midnight h1 { max-width: 780px; margin: 0; font-weight: 640; font-size: clamp(1.7rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -0.05em; }
#p-midnight h2, #p-midnight h3 { font-weight: 640; }
#p-midnight .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
#p-midnight .button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 650;
    transition: transform 0.2s ease, background 0.2s ease; cursor: pointer; border: 0;
}
#p-midnight .button:hover { transform: translateY(-2px); }
#p-midnight .button-primary { color: #0b1020; background: #aeb7ff; }
#p-midnight .button-secondary { color: #f4f7fb; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); }
#p-midnight .hero .experience-list { margin-top: 30px; }
#p-midnight .experience-item strong { color: #f4f7fb; }
#p-midnight .summary-loc { margin-top: 14px; color: #a7b2c7; font-size: 0.88rem; }
#p-midnight section { padding: 56px 0; scroll-margin-top: 96px; }
#p-midnight .section-heading { max-width: 700px; margin-bottom: 38px; }
#p-midnight .section-heading h2 { margin: 12px 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.03; letter-spacing: -0.06em; }
#p-midnight .section-heading p { margin: 0; color: #a7b2c7; font-size: 1.05rem; }
#p-midnight .section-label { color: #4ed8d3; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 800; }
#p-midnight #m-projects { padding-top: 30px; }
#p-midnight #m-projects .section-heading { max-width: none; margin-bottom: 22px; text-align: center; }
#p-midnight .projects {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity;
    scroll-padding-inline: 46px;
    padding: 6px 46px 18px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 46px, #000 calc(100% - 46px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 46px, #000 calc(100% - 46px), transparent);
}
#p-midnight .project {
    display: flex; min-height: 300px; flex: 0 0 min(440px, 84vw); flex-direction: column; padding: 28px;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), rgba(20, 29, 49, 0.78);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
#p-midnight .project:hover { border-color: rgba(174, 183, 255, 0.55); transform: translateY(-4px); }
#p-midnight .project-top { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 10px; }
#p-midnight .project-top h3 { margin: 0; }
#p-midnight .project-foot { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 20px; }
#p-midnight .project-foot .project-link { margin-top: 0; }
#p-midnight .project-foot .beta-box { margin-top: 0; }
#p-midnight .project-status { color: #7ee2a8; font-size: 0.75rem; white-space: nowrap; flex-shrink: 0; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
#p-midnight .project-status.dev { color: #ffb86b; }
#p-midnight .project h3 { margin: 12px 0 10px; font-size: 1.45rem; letter-spacing: -0.03em; }
#p-midnight .project p { margin: 0; color: #a7b2c7; font-size: 0.94rem; }
#p-midnight .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 25px; }
#p-midnight .tag {
    padding: 5px 9px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px;
    color: #a7b2c7; background: rgba(255, 255, 255, 0.035); font-size: 0.75rem;
}
#p-midnight .project-link { display: inline-flex; margin-top: 20px; color: #aeb7ff; font-size: 0.9rem; font-weight: 650; }
#p-midnight .beta-form { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
#p-midnight .beta-form input {
    min-height: 38px; padding: 0 12px; border-radius: 10px; font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(11, 16, 32, 0.6); color: #f4f7fb; outline: none;
}
#p-midnight .beta-form input:focus { border-color: #aeb7ff; box-shadow: 0 0 0 3px rgba(174, 183, 255, 0.18); }
#p-midnight .beta-form input::placeholder { color: #6f7a93; }
#p-midnight .beta-form button { color: #aeb7ff; font-size: 0.9rem; font-weight: 650; background: none; border: 0; padding: 0; cursor: pointer; }
#p-midnight .experience-list { max-width: 900px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
#p-midnight .experience-item { position: relative; padding: 0 0 42px 34px; }
#p-midnight .experience-item:last-child { padding-bottom: 0; }
#p-midnight .experience-item::before {
    content: ""; position: absolute; top: 7px; left: -5px; width: 9px; height: 9px;
    border-radius: 50%; background: #aeb7ff; box-shadow: 0 0 0 6px rgba(174, 183, 255, 0.1);
}
#p-midnight .experience-date { color: #4ed8d3; font-size: 0.84rem; font-weight: 800; }
#p-midnight .experience h3 { margin: 8px 0 8px; font-size: 1.25rem; }
#p-midnight .experience-company { color: #a7b2c7; font-size: 0.9rem; }
#p-midnight .experience-item ul { margin: 14px 0 0; padding-left: 19px; list-style: disc; color: #a7b2c7; }
#p-midnight .experience-item li { margin-bottom: 7px; text-align: justify; }
#p-midnight .experience-item li::marker { color: #4ed8d3; }
#p-midnight .experience ul { margin: 18px 0 0; padding-left: 18px; color: #a7b2c7; }
#p-midnight .experience li { margin-bottom: 9px; }
#p-midnight .experience strong { color: #f4f7fb; }
#p-midnight .experience-stack { margin-top: 16px; color: #8891a8; font-size: 0.8rem; line-height: 1.6; }
#p-midnight section[data-sec="tech"] { padding-top: 24px; }
#p-midnight .stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
#p-midnight .stack span {
    text-align: center;
    padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px;
    color: #f4f7fb; background: rgba(20, 29, 49, 0.78); font-size: 0.9rem;
}
#p-midnight .edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
#p-midnight .edu-grid h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: #4ed8d3; font-weight: 800; margin-bottom: 12px; }
#p-midnight .edu-grid p, #p-midnight .edu-grid li { color: #a7b2c7; font-size: 0.95rem; margin: 0; }
#p-midnight .edu-grid ul { margin: 0; padding-left: 18px; }
#p-midnight .edu-grid strong { color: #f4f7fb; }
#p-midnight .contact {
    padding: 30px 34px; border: 1px solid rgba(174, 183, 255, 0.28); border-radius: 22px;
    background: radial-gradient(circle at 90% 0%, rgba(124, 140, 255, 0.22), transparent 25rem), rgba(20, 29, 49, 0.78);
}
#p-midnight .contact h2 { max-width: 700px; margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.06em; }
#p-midnight .contact p { max-width: 680px; margin: 0; color: #a7b2c7; }
#p-midnight .contact-details { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #a7b2c7; font-size: 0.93rem; }
#p-midnight .contact-details a { color: #aeb7ff; }
#p-midnight footer { padding: 42px 0; color: #a7b2c7; font-size: 0.85rem; }
#p-midnight .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; }
#p-midnight .footer-inner strong { color: #f4f7fb; }
#p-midnight .footer-links { display: flex; gap: 20px; }
#p-midnight .footer-copy { white-space: nowrap; }
#p-midnight .footer-inner a { padding: 8px 6px; margin: -8px -6px; }
#p-midnight .footer-inner a:hover { color: #aeb7ff; }
@media (max-width: 900px) {
    #p-midnight .hero-grid { grid-template-columns: 1fr; }
    #p-midnight .edu-grid { grid-template-columns: 1fr; }
    #p-midnight .nav-burger { display: block; }
    #p-midnight .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 10px;
        padding: 16px 20px; background: #0b1020; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    #p-midnight .nav.nav-open .nav-links { display: flex; }
    #p-midnight .nav-links a { text-align: center; }
    #p-midnight .nav-sep { display: none; }
}
@media (max-width: 680px) {
    #p-midnight .container { width: min(1180px, calc(100% - 28px)); }
    #p-midnight .brand { font-size: 1.5rem; }
    #p-midnight .hero { padding: 56px 0 48px; }
    #p-midnight h1 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
    #p-midnight section { padding: 44px 0; }
    #p-midnight .contact { padding: 24px 21px; }
    #p-midnight .footer-inner { flex-direction: column; }
}

/* ================= business theme ================= */
html.t-business body {
    margin: 0; background: #dee3ea; color: #17202b;
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
}
#p-business a { color: inherit; text-decoration: none; }
#p-business button, #p-business input, #p-business select { font: inherit; }
#p-business button { cursor: pointer; }
#p-business .container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
#p-business .site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid #b9c3cf; backdrop-filter: blur(12px);
}
#p-business .header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
#p-business .brand { color: #17202b; font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
#p-business .brand span { color: #3a5a80; }
#p-business .nav-sep { width: 1px; height: 16px; background: #b9c3cf; }
#p-business .nav-burger {
    display: none; border: 1px solid #b9c3cf; border-radius: 6px;
    background: none; color: #596575; font-size: 0.78rem; cursor: pointer;
}
#p-business .nav-side { display: flex; align-items: center; gap: 12px; }
#p-business .main-navigation { display: flex; align-items: center; gap: 12px; color: #596575; font-size: 0.92rem; }
#p-business .main-navigation a:not(.nav-cta) {
    padding: 6px 12px; border: 1px solid #b9c3cf; border-radius: 6px;
    color: #596575; font-size: 0.8rem; transition: all 0.2s ease; white-space: nowrap;
}
#p-business .main-navigation a:not(.nav-cta):hover { color: #3a5a80; border-color: #3a5a80; }
#p-business .lang-btn, #p-business .nav-burger {
    padding: 6px 10px; border: 1px solid #b9c3cf; border-radius: 6px;
    color: #596575; font-size: 0.78rem; background: none; white-space: nowrap;
    min-width: 46px; text-align: center;
}
#p-business .lang-btn.on { color: #3a5a80; border-color: #3a5a80; }
#p-business .nav-cta {
    padding: 6px 12px; border-radius: 6px; background: #3a5a80; border: 1px solid #3a5a80;
    color: #ffffff; font-size: 0.8rem; font-weight: 700; white-space: nowrap;
}
#p-business .nav-cta:hover { background: #2c4566; border-color: #2c4566; color: #ffffff; }
#p-business .hero { padding: 56px 0 44px; background: #ffffff; border-bottom: 1px solid #b9c3cf; }
#p-business .hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); align-items: start; gap: 64px; }
#p-business .hero-content { grid-column: 1 / -1; }
#p-business h1 { max-width: 760px; margin: 0; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 640; letter-spacing: -0.04em; }
#p-business .button {
    display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
    padding: 0 18px; border-radius: 7px; font-size: 0.92rem; font-weight: 650;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}
#p-business .button:hover { transform: translateY(-1px); }
#p-business .button-primary { color: #ffffff; background: #3a5a80; border: 1px solid #3a5a80; }
#p-business .button-primary:hover { background: #2c4566; border-color: #2c4566; }
#p-business .button-secondary { color: #17202b; background: #ffffff; border: 1px solid #b9c3cf; }
#p-business .button-secondary:hover { color: #3a5a80; border-color: #3a5a80; }
#p-business .hero .experience-list { margin-top: 30px; }
#p-business .summary-loc { margin-top: 16px; color: #7b8794; font-size: 0.88rem; }
#p-business .section { padding: 62px 0; scroll-margin-top: 88px; }
#p-business #b-projects { padding: 0; }
#p-business #b-tech { padding-top: 36px; }
#p-business #b-projects .section-header { max-width: none; margin-bottom: 20px; padding-top: 16px; text-align: center; }
#p-business .section-header { max-width: 720px; margin-bottom: 38px; }
#p-business .section-label { margin-bottom: 12px; color: #3a5a80; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
#p-business h2, #p-business h3 { font-weight: 640; }
#p-business .section-header h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -0.045em; }
#p-business .section-header p { margin: 0; color: #596575; font-size: 1.02rem; }
#p-business .section-muted { background: #d3dae3; border-top: 1px solid #b9c3cf; border-bottom: 1px solid #b9c3cf; }
#p-business .project-cards {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity;
    scroll-padding-inline: 42px;
    padding: 6px 42px 18px; scrollbar-width: thin; scrollbar-color: #b8c4d0 transparent;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 42px, #000 calc(100% - 42px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 42px, #000 calc(100% - 42px), transparent);
}
#p-business .project-card {
    display: flex; min-height: 280px; flex: 0 0 min(430px, 84vw); flex-direction: column; padding: 26px;
    scroll-snap-align: start;
    background: #ffffff; border: 1px solid #b9c3cf; border-radius: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
#p-business .project-card:hover { border-color: #a8c0e4; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 32, 43, 0.08); }
#p-business .project-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 8px; }
#p-business .project-card-top h3 { margin: 0; }
#p-business .project-foot { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; margin-top: 16px; }
#p-business .project-foot .project-link { margin-top: 0; }
#p-business .project-foot .beta-box { margin-top: 0; }
#p-business .project-status { color: #26734d; font-size: 0.74rem; white-space: nowrap; flex-shrink: 0; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
#p-business .project-status.dev { color: #8f4a0e; }
#p-business .project-card h3 { margin: 10px 0 8px; font-size: 1.3rem; letter-spacing: -0.03em; }
#p-business .project-card > p { margin: 0; color: #596575; font-size: 0.93rem; }
#p-business .project-tags, #p-business .technology-list { display: flex; flex-wrap: wrap; gap: 8px; }
#p-business .project-tags { margin-top: auto; padding-top: 20px; }
#p-business .project-tags span, #p-business .technology-list span {
    padding: 6px 10px; color: #596575; background: #d3dae3; border: 1px solid #b9c3cf;
    border-radius: 5px; font-size: 0.78rem;
}
#p-business .project-link { display: inline-flex; margin-top: 16px; color: #3a5a80; font-size: 0.9rem; font-weight: 700; }
#p-business .beta-form { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
#p-business .beta-form input {
    min-height: 38px; padding: 0 12px; border-radius: 7px; font-size: 0.9rem;
    border: 1px solid #b9c3cf; background: #ffffff; color: #17202b; outline: none;
}
#p-business .beta-form input:focus { border-color: #3a5a80; box-shadow: 0 0 0 3px #e9f0fb; }
#p-business .beta-form button { color: #3a5a80; font-size: 0.9rem; font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; }
#p-business .experience-layout { display: block; }
#p-business .experience-list { margin-top: 34px; max-width: 900px; border-left: 1px solid #b9c3cf; }
#p-business .experience-item { position: relative; padding: 0 0 38px 30px; }
#p-business .experience-item::before {
    content: ""; position: absolute; top: 6px; left: -5px; width: 9px; height: 9px;
    border-radius: 50%; background: #3a5a80; box-shadow: 0 0 0 5px #e9f0fb;
}
#p-business .experience-item:last-child { padding-bottom: 0; }
#p-business .experience-period { color: #3a5a80; font-size: 0.82rem; font-weight: 800; }
#p-business .experience-details h3 { margin: 6px 0 5px; font-size: 1.25rem; letter-spacing: -0.045em; }
#p-business .experience-company { margin-bottom: 14px; color: #7b8794; font-size: 0.88rem; }
#p-business .experience-details p, #p-business .experience-details li { text-align: justify; }
#p-business .experience-details p { margin: 0; color: #596575; }
#p-business .experience-details ul { margin: 16px 0 0; padding-left: 19px; color: #596575; list-style: disc; }
#p-business .experience-details li::marker { color: #3a5a80; }
#p-business .experience-details li { margin-bottom: 8px; }
#p-business .experience-details strong { color: #17202b; }
#p-business .experience-stack { margin-top: 19px; color: #7b8794; font-size: 0.8rem; line-height: 1.6; }
#p-business .stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 9px; }
#p-business .stack span {
    text-align: center;
    padding: 8px 13px; color: #17202b; background: #ffffff;
    border: 1px solid #b9c3cf; border-radius: 7px; font-size: 0.88rem;
}
#p-business .edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 38px; }
#p-business .edu-grid h3 { margin: 0 0 10px; color: #3a5a80; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
#p-business .edu-grid p, #p-business .edu-grid li { margin: 0; color: #596575; font-size: 0.94rem; }
#p-business .edu-grid p + p { margin-top: 4px; }
#p-business .edu-grid ul { margin: 0; padding-left: 18px; }
#p-business .edu-grid strong { color: #17202b; }
#p-business .site-footer { padding: 30px 0; background: #ffffff; border-top: 1px solid #b9c3cf; }
#p-business .footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; color: #596575; font-size: 0.82rem; }
#p-business .footer-inner strong { color: #17202b; font-size: 0.9rem; font-weight: 650; }
#p-business .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
#p-business .footer-links a { padding: 8px 6px; margin: -8px -6px; }
#p-business .footer-links a:hover { color: #3a5a80; }
#p-business .footer-copy { color: #7b8794; white-space: nowrap; }
@media (max-width: 900px) {
    #p-business .hero-grid, #p-business .edu-grid { grid-template-columns: 1fr; }
    #p-business .nav-burger { display: block; }
    #p-business .main-navigation {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 8px;
        padding: 14px 18px; background: #ffffff; border-bottom: 1px solid #b9c3cf;
        box-shadow: 0 10px 24px rgba(23, 32, 43, 0.1);
    }
    #p-business .site-header.nav-open .main-navigation { display: flex; }
    #p-business .main-navigation a { text-align: center; }
    #p-business .nav-sep { display: none; }
}
@media (max-width: 650px) {
    #p-business .container { width: min(1120px, calc(100% - 28px)); }
    #p-business .brand { font-size: 1.4rem; }
    #p-business .hero { padding: 52px 0 34px; }
    #p-business h1 { font-size: clamp(1.45rem, 6vw, 1.8rem); }
    #p-business .section { padding: 52px 0; }
    #p-business .project-status { white-space: normal; }
    #p-business .footer-inner { grid-template-columns: 1fr; gap: 18px; }
    #p-business .footer-copy { white-space: normal; }
}

/* Mobile experience lists: the timeline gutter eats ~10% of a narrow
   screen and justified text stretches word gaps — tighten both. */
@media (max-width: 680px) {
    #p-midnight .experience-item { padding: 0 0 38px 17px; }
    #p-midnight .experience-item ul { padding-left: 15px; }
    #p-midnight .experience-item li { text-align: left; }
    #p-business .experience-item { padding: 0 0 34px 17px; }
    #p-business .experience-details ul { padding-left: 15px; }
    #p-business .experience-details p, #p-business .experience-details li { text-align: left; }
    #p-classic .text-justify { text-align: left !important; }
}

/* scroll reveal — rises into place once; shared by the motion themes */
#p-oro .cb-rv { opacity: 0; transform: translateY(42px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .3, 1); }
#p-oro .cb-rv.in { opacity: 1; transform: none; }
/* scrubbed cards: the entry slide would fight the scroll-driven
   unfold (and skew the gaps by 42px mid-slide) — fade only */
#p-oro .oro-cards.foldable .oro-card.cb-rv { transform: none; transition: opacity .6s ease, background .5s, border-color .3s, box-shadow .45s; }
@media (prefers-reduced-motion: reduce) { #p-oro .cb-rv { opacity: 1; transform: none; transition: none; } }

/* ================= oro theme — liquid gold on black ================= */
/* the metal switcher flips the whole palette through these vars:
   gold (default) and silver (.oro-silver on <html>) — the shader
   mirrors the swap via its uMono uniform */
html.t-oro {
    --oro-acc: #ecd06f;   --oro-acc-rgb: 236, 208, 111;  --oro-acc2: #d9b94f;
    --oro-text: #f0ead8;  --oro-text-rgb: 240, 234, 216;
    --oro-bg: #060505;
    --oro-card: rgba(14, 12, 9, 0.72);
    --oro-scrim: rgba(6, 5, 5, 0.62);
    --oro-panel: #12100b; --oro-panel2: #0c0a07; --oro-panel-t: rgba(18, 16, 11, 0.95);
    --oro-under: radial-gradient(ellipse 120% 90% at 50% 40%, #3f2f14 0%, #1d1509 75%, #0e0a05 100%);
}
html.t-oro.oro-silver {
    --oro-acc: #cdd4de;   --oro-acc-rgb: 205, 212, 222;  --oro-acc2: #aeb8c6;
    --oro-text: #edf0f4;  --oro-text-rgb: 237, 240, 244;
    --oro-bg: #07080a;
    --oro-card: rgba(13, 14, 17, 0.74);
    --oro-scrim: rgba(5, 6, 9, 0.62);
    --oro-panel: #0e1013; --oro-panel2: #0a0c0e; --oro-panel-t: rgba(14, 16, 19, 0.95);
    --oro-under: radial-gradient(ellipse 120% 90% at 50% 40%, #262b33 0%, #101318 75%, #07090c 100%);
}
/* emerald — deep-green molten metal; UI keeps the gold palette */
html.t-oro.oro-emerald {
    --oro-acc: #ecd06f;   --oro-acc-rgb: 236, 208, 111;  --oro-acc2: #d9b94f;
    --oro-text: #f0ead8;  --oro-text-rgb: 240, 234, 216;
    --oro-bg: #040705;
    --oro-card: rgba(9, 15, 11, 0.74);
    --oro-scrim: rgba(3, 7, 5, 0.62);
    --oro-panel: #0b110d; --oro-panel2: #070b08; --oro-panel-t: rgba(11, 17, 13, 0.95);
    --oro-under: radial-gradient(ellipse 120% 90% at 50% 40%, #12301d 0%, #08170d 75%, #040b06 100%);
}
/* noctis — night lake: stars, a haloed moon and dark water below.
   Shares the oro page/frame; the shader renders the moon-water
   display instead of the molten field */
html.t-noctis {
    --oro-acc: #a9c3f0;   --oro-acc-rgb: 169, 195, 240;  --oro-acc2: #87a5dd;
    --oro-text: #e9eef9;  --oro-text-rgb: 233, 238, 249;
    --oro-bg: #04060c;
    --oro-card: rgba(9, 13, 21, 0.72);
    --oro-scrim: rgba(3, 5, 10, 0.58);
    --oro-panel: #0a0e17; --oro-panel2: #070a11; --oro-panel-t: rgba(10, 14, 23, 0.95);
    --oro-under: radial-gradient(ellipse 120% 90% at 50% 30%, #0a1726 0%, #050a15 55%, #02040a 100%);
}
/* headline whites lean a shade into the accent — under noctis the
   mix tracks the live moon tint, so the type cools/warms with it */
html.t-oro, html.t-noctis {
    --oro-ink: color-mix(in srgb, var(--oro-text) 88%, var(--oro-acc));
}
html.t-oro body, html.t-noctis body {
    background-color: var(--oro-bg);
    color: var(--oro-ink);
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
/* the WebGL fluid canvas sits fixed behind every section; the
   vh→lvh chain pins it to the large viewport — on mobile engines
   without lvh, 100vh is still the stable fullscreen height (it is
   % heights that follow the collapsing URL bar), so the scene
   never re-lays out mid-scroll; the extra bottom strip just hides */
#p-oro .oro-gl {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 100vh; height: 100lvh;
    z-index: 0; pointer-events: none;
    /* while a frame is missing — a restored tab or a lost GPU context —
       the canvas composites transparent; warm dark metal reads as field,
       not as a black hole */
    background: var(--oro-under);
}
/* soft readability scrim above the fluid, below the content */
#p-oro .oro-scrim {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 100vh; height: 100lvh;
    z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 90% 70% at 50% 30%, transparent 30%, var(--oro-scrim) 100%);
}
#p-oro > :not(.oro-gl):not(.oro-scrim) { position: relative; z-index: 2; }
#p-oro .oro-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

#p-oro .oro-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0;
    /* pinned header — frontmost translucent bar over the fluid
       field (the bar itself is the viewport-wide ::before below);
       !important beats the generic relative/z-2 rule above */
    position: sticky !important; top: 0; z-index: 50 !important;
}
#p-oro .oro-nav::before {
    content: ''; position: absolute; top: 0; bottom: 0;
    left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1;
    background: color-mix(in srgb, var(--oro-bg) 62%, transparent);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--oro-acc-rgb), 0.12);
}
#p-oro .oro-brand { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; color: var(--oro-ink); text-decoration: none; }
#p-oro .oro-nav-links { display: flex; align-items: center; gap: 26px; }
#p-oro .oro-nav-links a {
    color: rgba(var(--oro-text-rgb), 0.9); text-decoration: none; font-size: 0.95rem; font-weight: 500;
    border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s;
}
#p-oro .oro-nav-links a:hover { color: var(--oro-ink); border-color: var(--oro-acc); }
#p-oro .oro-nav-links a.js-booking-open {
    border: 0; border-radius: 999px; padding: 9px 20px; color: var(--oro-acc); font-weight: 600;
    background: radial-gradient(ellipse 120% 160% at 50% 50%, rgba(var(--oro-acc-rgb), 0.14), transparent 75%);
    transition: background .25s, color .25s, box-shadow .25s;
}
#p-oro .oro-nav-links a.js-booking-open:hover {
    color: var(--oro-ink);
    background: radial-gradient(ellipse 120% 160% at 50% 50%, rgba(var(--oro-acc-rgb), 0.28), transparent 75%);
    box-shadow: 0 0 18px rgba(var(--oro-acc-rgb), 0.18);
}
#p-oro .oro-langs { display: flex; gap: 6px; margin-left: 10px; }
#p-oro .oro-langs button {
    background: none; border: none; padding: 4px 6px; font: inherit; font-size: 0.85rem;
    color: rgba(var(--oro-text-rgb), 0.7); transition: color .2s;
}
#p-oro .oro-langs button.on, #p-oro .oro-langs button:hover { color: var(--oro-acc); }
#p-oro .oro-burger { display: none; background: none; border: none; font-size: 1.4rem; color: var(--oro-ink); }
@media (max-width: 860px) {
    #p-oro .oro-burger { display: block; }
    #p-oro .oro-nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
        flex-direction: column; align-items: center; gap: 18px; padding: 20px 0 26px;
        background: var(--oro-bg); border-bottom: 1px solid rgba(var(--oro-acc-rgb), 0.2);
    }
    #p-oro .oro-nav { position: relative; }
    #p-oro .oro-nav.nav-open .oro-nav-links { display: flex; }
}

#p-oro .oro-hero { padding: clamp(34px, 6vh, 80px) 0 clamp(30px, 4vh, 55px); user-select: none; }
#p-oro .oro-hero h1 {
    margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 600;
    line-height: 1.1; letter-spacing: -0.04em; text-transform: none;
}
#p-oro .oro-hero h1 .thin {
    display: block; font-weight: 400; font-style: normal; font-size: .8em;
    text-transform: none; letter-spacing: -0.03em; color: var(--oro-acc);
}
/* hero content mirrors the live page: summary bullets + location */
#p-oro .oro-hero-sum { margin-top: clamp(36px, 5vh, 60px); }
#p-oro .oro-hero-sum-title {
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--oro-acc); margin-bottom: 22px;
}
#p-oro .oro-hero-sum-title::before { content: "◆"; font-size: 0.6em; margin-right: 10px; vertical-align: 0.15em; }
#p-oro .oro-hero-sum ul { margin: 0; padding: 0; list-style: none; max-width: 760px; }
#p-oro .oro-hero-sum li {
    position: relative; padding-left: 24px; margin-top: 12px;
    font-size: 1.02rem; line-height: 1.6; color: rgba(var(--oro-text-rgb), 0.92);
}
#p-oro .oro-hero-sum li::before {
    content: '·'; position: absolute; left: 6px;
    color: var(--oro-acc); font-weight: 700;
}
#p-oro .oro-hero-sum li strong { color: var(--oro-ink); font-weight: 600; }
#p-oro .oro-hero-loc {
    margin-top: 30px; font-size: 0.92rem;
    color: rgba(var(--oro-text-rgb), 0.75);
}

#p-oro .oro-sec { padding: clamp(38px, 5.5vh, 68px) 0; }
#p-oro .oro-label {
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--oro-acc); margin-bottom: 40px;
}
#p-oro .oro-label::before { content: "◆"; font-size: 0.6em; margin-right: 10px; vertical-align: 0.15em; }

/* dark glass cards over the fluid — gold edge lights up on hover.
   Unfold reveal (JS adds .foldable + .open, Cuberto-style): each
   card enters as a compact muted title strip and unfolds to the
   full panel as it scrolls into the focus band — one-way, an
   opened card stays open; without JS cards render unfolded */
#p-oro .oro-stage { display: grid; gap: 24px; }
#p-oro .oro-card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px);
    border-radius: 28px; padding: clamp(28px, 4vw, 50px);
    background: var(--oro-panel);
    border: 1px solid rgba(var(--oro-acc-rgb), 0.16);
    text-decoration: none; color: var(--oro-ink);
}
/* diagonal status watermark — reveals with the content (--cf) and
   stays put: pinned in card-top coordinates, so it never rides the
   dynamic bottom edge */
#p-oro .oro-card > :not(.oro-wm) { position: relative; z-index: 1; }
#p-oro .oro-card .oro-wm {
    position: absolute; inset: 0;
    pointer-events: none; opacity: var(--cf, 0);
}
/* long diagonal across the text column: lower-left corner up toward
   the shot, sized to span roughly the column's width */
#p-oro .oro-card .oro-wm span {
    position: absolute; left: 26px; top: 225px;
    transform-origin: 0 100%; transform: rotate(-21deg);
    white-space: nowrap; line-height: 1;
    font-size: clamp(3rem, 4.8vw, 4.2rem); font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: rgba(var(--oro-acc-rgb), 0.13);
}
#p-oro .oro-card:hover {
    border-color: rgba(var(--oro-acc-rgb), 0.55);
    box-shadow: 0 26px 60px -28px rgba(var(--oro-acc-rgb), 0.28);
}
#p-oro .oro-cards.foldable .oro-card {
    /* strip = slimmer symmetric padding + one title line (JS refines) */
    max-height: calc(clamp(28px, 4vw, 50px) * 1.2 + clamp(1.8rem, 4.2vw, 3.2rem) * 1.05);
    overflow: hidden;
    background: var(--oro-card);
    transition: background .5s, border-color .3s, box-shadow .45s;
}
#p-oro .oro-cards.foldable .oro-card.is-open { background: var(--oro-panel); }
/* own compositor layers: a height change then only re-rasters the
   card itself — everything below just moves as a layer instead of
   being repainted over the fluid every frame (measured: dropped
   frames while unfolding ~30–40% → ~2%) */
#p-oro .oro-cards.foldable .oro-card,
#p-oro .oro-cards.foldable .oro-card > div > *,
#p-oro #oro-projects ~ * { will-change: transform; }
#p-oro .oro-cards.foldable .oro-card > div:not(.oro-wm) > :not(h3) {
    opacity: var(--cf, 0);
    transform: translateY(calc((1 - var(--cf, 1)) * 16px));
    /* no CSS transition here — --cf is scrubbed per frame by JS;
       a transition on top of a scrubbed value only adds lag */
    transition: none;
}
#p-oro .oro-card .oro-side { display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-width: 0; }
#p-oro .oro-card .oro-shot {
    width: 100%; aspect-ratio: 1024 / 619; object-fit: cover;
    border-radius: 16px; border: 1px solid rgba(var(--oro-acc-rgb), 0.22); display: block;
}
/* stack the shot under the text early — a ~650–900px viewport would
   otherwise squeeze the copy into a sliver beside the image column */
@media (max-width: 900px) {
    #p-oro .oro-card { grid-template-columns: 1fr; }
    #p-oro .oro-card .oro-shot { width: 100%; }
}
#p-oro .oro-card h3 {
    margin: 0; font-size: clamp(1.8rem, 4.2vw, 3.2rem); font-weight: 600;
    letter-spacing: -0.04em; line-height: 1.02;
}

#p-oro .oro-card p { max-width: 560px; margin: 18px 0 0; font-size: 1rem; line-height: 1.6; color: rgba(var(--oro-text-rgb), 0.88); }
#p-oro .oro-card .oro-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
#p-oro .oro-card .oro-card-tags span {
    padding: 5px 13px; border-radius: 999px; background: rgba(var(--oro-acc-rgb), 0.1);
    border: 1px solid rgba(var(--oro-acc-rgb), 0.18); font-size: 0.82rem; font-weight: 500;
}
#p-oro .oro-card .oro-card-foot { display: flex; align-items: center; gap: 16px 26px; flex-wrap: wrap; margin-top: 28px; }
#p-oro .oro-card .oro-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--oro-acc);
    color: var(--oro-acc); font-size: 1.2rem; transition: background .3s, color .3s;
}
#p-oro .oro-card:hover .oro-arrow { background: var(--oro-acc); color: var(--oro-bg); }
#p-oro .oro-card .oro-open {
    display: inline-flex; align-items: center;
    border: 0; border-radius: 999px;
    padding: 12px 24px; font-size: 0.95rem; font-weight: 600; color: var(--oro-acc);
    text-decoration: none;
    background: radial-gradient(ellipse 120% 160% at 50% 50%, rgba(var(--oro-acc-rgb), 0.14), transparent 75%);
    transition: background .25s, color .25s, box-shadow .25s;
}
/* whole-card links light the button on card hover; a button inside a
   plain card (next to the beta trigger) lights only on its own hover */
#p-oro a.oro-card:hover .oro-open,
#p-oro .oro-card .oro-open:hover {
    color: var(--oro-ink);
    background: radial-gradient(ellipse 120% 160% at 50% 50%, rgba(var(--oro-acc-rgb), 0.28), transparent 75%);
    box-shadow: 0 0 18px rgba(var(--oro-acc-rgb), 0.18);
}
/* oro beta field opens left → right (the shared keyframes go the
   other way — overridden here so other themes keep theirs) */
#p-oro .beta-box.open > .beta-form { animation: oro-beta-reveal .5s cubic-bezier(.2, .7, .3, 1) both; }
/* no sweeping caret in the oro/noctis reveal */
#p-oro .beta-box.open .beta-form::after { content: none; }
@keyframes oro-beta-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
#p-oro .oro-card .beta-box { font-size: 0.95rem; }
#p-oro .oro-card .beta-trigger {
    border: 0; border-radius: 999px; padding: 12px 24px; font: inherit;
    font-weight: 600; color: var(--oro-acc);
    background: radial-gradient(ellipse 120% 160% at 50% 50%, rgba(var(--oro-acc-rgb), 0.14), transparent 75%);
    transition: background .25s, color .25s, box-shadow .25s;
}
#p-oro .oro-card .beta-trigger:hover {
    color: var(--oro-ink);
    background: radial-gradient(ellipse 120% 160% at 50% 50%, rgba(var(--oro-acc-rgb), 0.28), transparent 75%);
    box-shadow: 0 0 18px rgba(var(--oro-acc-rgb), 0.18);
}
#p-oro .oro-card .beta-form { background: rgba(var(--oro-text-rgb), 0.12); border-radius: 999px; padding: 6px; }
#p-oro .oro-card .beta-form input {
    border: none; background: transparent; padding: 8px 14px; font: inherit;
    color: var(--oro-ink); outline: none; min-width: 200px;
}
#p-oro .oro-card .beta-form input::placeholder { color: rgba(var(--oro-text-rgb), 0.7); }
#p-oro .oro-card .beta-form button {
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: var(--oro-acc); color: var(--oro-bg); font-size: 1rem;
}
@media (max-width: 640px) {
    #p-oro .oro-card .beta-form input { min-width: 0; }
}

#p-oro .oro-exp-row {
    display: grid; grid-template-columns: minmax(0, 2.2rem) minmax(0, 1fr) auto;
    gap: 16px; padding: clamp(26px, 3.6vw, 44px);
    background: var(--oro-panel); border-radius: 28px;
    border: 1px solid rgba(var(--oro-acc-rgb), 0.16);
    margin-bottom: 22px; align-items: baseline;
}
#p-oro .oro-exp-row:hover {
    border-color: rgba(var(--oro-acc-rgb), 0.55);
    box-shadow: 0 26px 60px -28px rgba(var(--oro-acc-rgb), 0.28);
}
#p-oro .oro-exp-idx { font-size: 0.95rem; font-weight: 600; color: rgba(var(--oro-acc-rgb), 0.55); }
#p-oro .oro-exp-row h3 {
    margin: 0 0 6px; font-size: clamp(1.35rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em;
}
#p-oro .oro-exp-row .oro-exp-sub { color: rgba(var(--oro-text-rgb), 0.82); font-size: 0.97rem; }
#p-oro .oro-exp-row .oro-exp-sub strong { color: var(--oro-ink); }
#p-oro .oro-exp-row ul { margin: 16px 0 0; padding-left: 1.1em; color: rgba(var(--oro-text-rgb), 0.9); line-height: 1.65; font-size: 0.96rem; text-align: justify; }
#p-oro .oro-exp-row li { margin-bottom: 6px; }
#p-oro .oro-exp-row li strong { color: var(--oro-ink); font-weight: 600; }
#p-oro .oro-exp-date { font-size: 0.92rem; font-weight: 500; color: rgba(var(--oro-text-rgb), 0.78); white-space: nowrap; }
#p-oro .oro-exp-stack { margin-top: 14px; font-size: 0.85rem; color: rgba(var(--oro-acc-rgb), 0.5); letter-spacing: 0.02em; }
@media (max-width: 640px) {
    #p-oro .oro-exp-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 26px 22px; }
    #p-oro .oro-exp-date { order: -1; }
}

#p-oro .oro-tech-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 280px); gap: 40px; align-items: start; }
#p-oro .oro-stack { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
#p-oro .oro-stack span {
    padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(var(--oro-acc-rgb), 0.35);
    font-size: 0.95rem; font-weight: 500; white-space: nowrap;
    flex: 1 0 auto; text-align: center;
    transition: background .25s, color .25s;
}
#p-oro .oro-stack span:hover { background: var(--oro-acc); color: var(--oro-bg); }
#p-oro .oro-tech-side h3 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 600; color: var(--oro-acc); }
#p-oro .oro-tech-side p, #p-oro .oro-tech-side ul { margin: 0 0 24px; color: rgba(var(--oro-text-rgb), 0.85); font-size: 0.97rem; line-height: 1.6; padding-left: 0; list-style: none; }
@media (max-width: 800px) { #p-oro .oro-tech-grid { grid-template-columns: 1fr; gap: 40px; } }

#p-oro .oro-footer {
    margin-top: clamp(24px, 4vh, 44px); padding: 34px 0 38px;
    border-top: 1px solid rgba(var(--oro-acc-rgb), 0.16);
}
#p-oro .oro-footer-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px 30px;
}
#p-oro .oro-footer-links { display: flex; flex-wrap: wrap; gap: 14px 30px; }
#p-oro .oro-footer-links a { color: rgba(var(--oro-text-rgb), 0.82); font-size: 0.92rem; text-decoration: none; padding: 8px 6px; margin: -8px -6px; }
#p-oro .oro-footer-links a:hover { color: var(--oro-acc); }
#p-oro .oro-footer-copy { font-size: 0.85rem; color: rgba(var(--oro-text-rgb), 0.55); }

/* ================= booking modal — per-theme recolor ================= */
html.t-midnight #booking section { background: #151e34 !important; color: #f4f7fb; border-color: rgba(255, 255, 255, 0.12); }
html.t-midnight #booking .bg-paper { background: #151e34 !important; }
html.t-midnight #booking .text-ink { color: #f4f7fb !important; }
html.t-midnight #booking .text-muted { color: #a7b2c7 !important; }
html.t-midnight #booking .text-subtle { color: #8b96ad !important; }
html.t-classic #booking .text-subtle { color: #52525b !important; }
html.t-midnight #booking .border-line, html.t-midnight #booking .border-gridline { border-color: rgba(255, 255, 255, 0.12) !important; }
html.t-midnight #booking .bg-white { background: rgba(21, 30, 52, 0.95) !important; }
html.t-midnight #booking input, html.t-midnight #booking select, html.t-midnight #booking textarea {
    background: #0f1729 !important; color: #f4f7fb !important; border-color: rgba(255, 255, 255, 0.15) !important;
}
html.t-midnight #booking select option { background: #151e34; color: #f4f7fb; }
html.t-midnight #booking input::placeholder, html.t-midnight #booking textarea::placeholder { color: #6f7a93; }
html.t-midnight #booking .bg-emerald-200\/80 { background: rgba(126, 226, 168, 0.28) !important; }
html.t-midnight #booking .bg-emerald-50 { background: rgba(126, 226, 168, 0.12) !important; border-color: rgba(126, 226, 168, 0.3) !important; }
html.t-midnight #booking .text-emerald-800 { color: #7ee2a8 !important; }
html.t-midnight #booking .bg-zinc-800 { background: #0b1020 !important; }
html.t-midnight #booking .hover\:border-zinc-500:hover, html.t-midnight #booking .hover\:border-zinc-400:hover { border-color: #aeb7ff !important; }
html.t-midnight #booking .hover\:text-ink:hover { color: #f4f7fb !important; }
html.t-business #booking .bg-emerald-700 { background: #3a5a80 !important; }
html.t-business #booking .bg-emerald-200\/80 { background: rgba(36, 87, 166, 0.16) !important; }
html.t-business #booking .bg-emerald-600 { background: #3a5a80 !important; }
html.t-business #booking .bg-emerald-600\/35 { background: rgba(36, 87, 166, 0.28) !important; }
html.t-business #booking .bg-emerald-50 { background: #e9f0fb !important; border-color: #c9dbf5 !important; }
html.t-business #booking .text-emerald-800, html.t-business #booking .text-emerald-700 { color: #3a5a80 !important; }
html.t-business #booking .hover\:bg-emerald-800:hover { background: #2c4566 !important; }
html.t-business #booking .focus\:border-emerald-600:focus, html.t-business #booking .hover\:border-emerald-600:hover { border-color: #3a5a80 !important; }
html.t-business #booking .focus\:ring-emerald-600\/20:focus { --tw-ring-color: rgba(36, 87, 166, 0.2) !important; }
html.t-business #booking .hover\:text-emerald-700:hover { color: #3a5a80 !important; }
html:is(.t-oro, .t-noctis) #booking section { background: var(--oro-panel) !important; color: var(--oro-ink); border-color: rgba(var(--oro-acc-rgb), 0.2); }
html:is(.t-oro, .t-noctis) #booking .bg-paper { background: var(--oro-panel) !important; }
html:is(.t-oro, .t-noctis) #booking .text-ink { color: var(--oro-ink) !important; }
html:is(.t-oro, .t-noctis) #booking .text-muted { color: rgba(var(--oro-text-rgb), 0.85) !important; }
html:is(.t-oro, .t-noctis) #booking .text-subtle { color: rgba(var(--oro-text-rgb), 0.75) !important; }
html:is(.t-oro, .t-noctis) #booking .border-line, html:is(.t-oro, .t-noctis) #booking .border-gridline { border-color: rgba(var(--oro-acc-rgb), 0.18) !important; }
html:is(.t-oro, .t-noctis) #booking .bg-white { background: var(--oro-panel-t) !important; }
html:is(.t-oro, .t-noctis) #booking input, html:is(.t-oro, .t-noctis) #booking select, html:is(.t-oro, .t-noctis) #booking textarea {
    background: var(--oro-panel2) !important; color: var(--oro-ink) !important; border-color: rgba(var(--oro-acc-rgb), 0.25) !important;
}
html:is(.t-oro, .t-noctis) #booking select option { background: var(--oro-panel); color: var(--oro-ink); }
html:is(.t-oro, .t-noctis) #booking input::placeholder, html:is(.t-oro, .t-noctis) #booking textarea::placeholder { color: rgba(var(--oro-text-rgb), 0.62); }
html:is(.t-oro, .t-noctis) #booking .bg-emerald-700 { background: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis) #booking .bg-emerald-200\/80 { background: rgba(var(--oro-acc-rgb), 0.25) !important; }
html:is(.t-oro, .t-noctis) #booking .bg-emerald-600 { background: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis) #booking .bg-emerald-600\/35 { background: rgba(var(--oro-acc-rgb), 0.22) !important; }
html:is(.t-oro, .t-noctis) #booking .bg-emerald-50 { background: rgba(var(--oro-acc-rgb), 0.1) !important; border-color: rgba(var(--oro-acc-rgb), 0.3) !important; }
html:is(.t-oro, .t-noctis) #booking .text-emerald-800, html:is(.t-oro, .t-noctis) #booking .text-emerald-700 { color: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis) #booking .bg-zinc-800 { background: var(--oro-bg) !important; }
html:is(.t-oro, .t-noctis) #booking .hover\:bg-emerald-800:hover { background: var(--oro-acc2) !important; }
html:is(.t-oro, .t-noctis) #booking .focus\:border-emerald-600:focus, html:is(.t-oro, .t-noctis) #booking .hover\:border-emerald-600:hover { border-color: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis) #booking .focus\:ring-emerald-600\/20:focus { --tw-ring-color: rgba(var(--oro-acc-rgb), 0.25) !important; }
html:is(.t-oro, .t-noctis) #booking .hover\:text-emerald-700:hover, html:is(.t-oro, .t-noctis) #booking .hover\:border-zinc-500:hover, html:is(.t-oro, .t-noctis) #booking .hover\:border-zinc-400:hover { border-color: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis) #booking .hover\:text-ink:hover { color: var(--oro-ink) !important; }
/* the modal's own scrollbar joins the palette too */
html:is(.t-oro, .t-noctis) #booking section {
    scrollbar-width: thin; scrollbar-color: rgba(var(--oro-acc-rgb), 0.35) transparent;
}
html:is(.t-oro, .t-noctis) #booking section::-webkit-scrollbar { width: 8px; }
html:is(.t-oro, .t-noctis) #booking section::-webkit-scrollbar-track { background: transparent; }
html:is(.t-oro, .t-noctis) #booking section::-webkit-scrollbar-thumb {
    background: rgba(var(--oro-acc-rgb), 0.32); border-radius: 4px;
}
/* the ALTCHA widget joins the palette too — its shadow DOM reads
   --altcha-* custom properties, so they ride the theme tokens */
html:is(.t-oro, .t-noctis) #booking altcha-widget {
    color-scheme: dark;
    --altcha-color-base: var(--oro-panel2);
    --altcha-color-base-content: var(--oro-ink);
    --altcha-color-primary: var(--oro-acc);
    --altcha-color-primary-content: var(--oro-bg);
    --altcha-color-neutral: rgba(var(--oro-acc-rgb), 0.3);
    --altcha-color-neutral-content: var(--oro-ink);
    --altcha-border-color: rgba(var(--oro-acc-rgb), 0.3);
    --altcha-border-radius: 8px;
    --altcha-checkbox-border-color: rgba(var(--oro-acc-rgb), 0.45);
}
html.t-midnight #booking altcha-widget {
    color-scheme: dark;
    --altcha-color-base: #0f1729;
    --altcha-color-base-content: #f4f7fb;
    --altcha-color-primary: #aeb7ff;
    --altcha-color-primary-content: #0b1020;
    --altcha-color-neutral: rgba(255, 255, 255, 0.28);
    --altcha-color-neutral-content: #f4f7fb;
    --altcha-border-color: rgba(255, 255, 255, 0.15);
    --altcha-border-radius: 8px;
    --altcha-checkbox-border-color: rgba(255, 255, 255, 0.35);
}
.cursor-default { cursor: default; }
.role-gap { margin-left: 10px; }
.gp-soon { font-size: .9rem; font-weight: 500; }
