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:is(.t-noctis, .t-nature) #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 */
/* the entry rise moved the whole box 42px, so the bottom edge visibly
   travelled while the card rode in — anchor the bottom edge instead:
   the card wipes open upward off a fixed lower rim via clip-path,
   with a soft fade on top; layout never moves at all */
#p-oro .cb-rv { opacity: 0; transition: opacity .55s ease; }
#p-oro .cb-rv.in { opacity: 1; }
/* no clip-path in the hidden state, ever: Chromium's IntersectionObserver
   is clip-aware, so a fully clipped element never intersects, the observer
   never fires and the element stays invisible forever - the wipe deadlock */
/* scrubbed cards: the entry wipe would fight the scroll-driven
   unfold — fade only */
#p-oro .oro-cards.foldable .oro-card.cb-rv { transition: opacity .6s ease, background .5s, border-color .3s, box-shadow .45s; }
@media (prefers-reduced-motion: reduce) { #p-oro .cb-rv { opacity: 1; transition: none; } }
/* plain cards - the user chose static bubbles over every entry effect:
   no unfold choreography, no clip wipe, no fade */
#p-oro .oro-card.cb-rv,
#p-oro .oro-card.cb-rv.in {
    opacity: 1; 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. The daylight evolution of this
   scene lives on as the separate nature theme below */
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%);
}
/* nature — the daylight variant: a sunlit lake under photo bands */
html.t-nature {
    --oro-acc: #0b2c4e;   --oro-acc-rgb: 11, 44, 78;  --oro-acc2: #08223e;
    --oro-text: #3a282a;  --oro-text-rgb: 58, 40, 42;
    --oro-bg: #d8edfc;
    --oro-card: rgba(255, 255, 255, 0.8);
    --oro-scrim: rgba(218, 238, 252, 0.34);
    --oro-panel: rgba(255, 255, 255, 0.88); --oro-panel2: rgba(238, 247, 255, 0.9); --oro-panel-t: rgba(255, 255, 255, 0.94);
    --oro-under: radial-gradient(ellipse 120% 90% at 50% 30%, #74b7ec 0%, #bfe1f8 58%, #e7f5ff 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:is(.t-noctis, .t-nature){
    --oro-ink: color-mix(in srgb, var(--oro-text) 88%, var(--oro-acc));
}
html.t-oro body, html:is(.t-noctis, .t-nature) 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; }
}

/* noctis header: dark glass. The light-blue bar (62% of the pale --oro-bg)
   read as solid and cut the sunset frame in half; dark glass keeps the bar
   structurally present but tonally continuous with the scene below it */
html.t-nature #p-oro .oro-nav::before{
    background: rgba(8, 13, 24, 0.46);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}
html.t-nature #p-oro .oro-brand{ color: #f4efe3; }
html.t-nature #p-oro .oro-nav-links a{ color: rgba(243, 238, 226, 0.82); }
html.t-nature #p-oro .oro-nav-links a:hover{ color: #f8f3e8; border-color: #eec988; }
html.t-nature #p-oro .oro-nav-links a.js-booking-open{
    color: #f0cd92;
    border: 1px solid rgba(238, 201, 136, 0.55);
    background: linear-gradient(180deg, rgba(238, 201, 136, 0.2), rgba(238, 201, 136, 0.13));
    box-shadow: 0 0 14px rgba(238, 201, 136, 0.12);
}
html.t-nature #p-oro .oro-nav-links a.js-booking-open:hover{
    color: #f8e2b8;
    border-color: rgba(238, 201, 136, 0.85);
    background: linear-gradient(180deg, rgba(238, 201, 136, 0.3), rgba(238, 201, 136, 0.2));
    box-shadow: 0 0 22px rgba(238, 201, 136, 0.28);
}
html.t-nature #p-oro .oro-langs button{ color: rgba(243, 238, 226, 0.55); }
html.t-nature #p-oro .oro-langs button:hover{ color: #eec988; }
/* the active language must be obvious at a glance, not a 5% color nudge */
html.t-nature #p-oro .oro-langs button.on{
    color: #eec988; font-weight: 700;
    border-bottom: 2px solid #eec988; padding-bottom: 2px;
}
/* the photo reaches the very top edge: the band pulls up behind the sticky
   nav (77px measured) and the hero grows by the same amount, so the content
   centering is untouched — only the sky now continues under the dark glass
   instead of the pale page background washing it out */
html.t-nature #p-oro .oro-hero-host{ margin-top: -77px; }
/* fold geometry, viewport-independent (everything is in vh + fixed px):
   the hero seam sits exactly at 100vh + 77px below the document top - the -77
   pull-up and the +77 min-height cancel out - i.e. 77 px under the first-screen
   fold on ANY display. The divider strip therefore may overlap upward at most
   ~72 px without peeking into the first screen; it straddles 71 px up / 105 px
   down, which also keeps the seam 13 px inside the strip's opaque core so the
   photo-to-photo cut stays hidden. No dead padding is needed anywhere - when
   the visitor starts scrolling, the next section heading reaches the fold
   after ~95 px instead of a long empty photo tail */
html.t-nature #p-oro .oro-hero{ min-height: calc(100vh + 77px); min-height: calc(100svh + 77px); }
html.t-nature #p-oro .oro-burger{ color: #f4efe3; }
@media (max-width: 860px) {
    html.t-nature #p-oro .oro-nav-links{
        background: rgba(8, 13, 24, 0.94);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
}

#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; }
/* hero side panel: the actions a visitor actually takes, riding as a
   glass card on the open-photo right half of the first screen */
html.t-nature #p-oro .oro-hero{ display: flex; align-items: center; gap: clamp(30px, 4vw, 70px); }
html.t-nature #p-oro .oro-hero-main{ flex: 1 1 auto; min-width: 0; }
#p-oro .oro-hero-side {
    flex: 0 0 clamp(250px, 22vw, 300px);
    display: flex; flex-direction: column;
    background: rgba(240, 234, 222, 0.62);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--oro-acc-rgb), 0.2);
    border-radius: 22px; overflow: hidden;
}
/* rotating project showcase: pure-CSS crossfade (opacity only - compositor
   work, zero JS, zero lag), 20 s cycle, each shot holds ~4.4 s. The whole
   card is an anchor into the projects section */
#p-oro .oro-hero-side { flex-basis: clamp(270px, 25vw, 340px); padding: 0; }
#p-oro .oro-rot { display: block; position: relative; aspect-ratio: 1.32; overflow: hidden; text-decoration: none; }
#p-oro .oro-rot figure {
    position: absolute; inset: 0; margin: 0; opacity: 0;
    animation: oro-rot-xfade 20s linear infinite;
}
#p-oro .oro-rot img { width: 100%; height: 100%; object-fit: cover; display: block; }
#p-oro .oro-rot figcaption {
    position: absolute; left: 12px; bottom: 12px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(240, 234, 222, 0.82);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    font-size: 0.82rem; font-weight: 600; color: var(--oro-ink);
}
@keyframes oro-rot-xfade {
    0% { opacity: 0; } 3.5% { opacity: 1; }
    25% { opacity: 1; } 28.5% { opacity: 0; }
    100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    #p-oro .oro-rot figure { animation: none; }
    #p-oro .oro-rot figure:first-child { opacity: 1; }
}

@media (max-width: 800px) {
    html.t-nature #p-oro .oro-hero{ flex-direction: column; align-items: stretch; }
    #p-oro .oro-hero-side { flex-basis: auto; margin-top: 30px; }
}

/* career path timeline: segment widths are proportional to the years they
   span (2:7:4:2), a quiet honest visual rhythm rather than decoration */
#p-oro .oro-path { display: flex; align-items: stretch; margin-top: clamp(34px, 5.5vh, 58px); max-width: 940px; }
#p-oro .oro-path-item {
    position: relative; padding-top: 17px; min-width: 0;
    border-top: 1.5px solid rgba(var(--oro-acc-rgb), 0.32);
}
#p-oro .oro-path-item::before {
    content: ''; position: absolute; top: -5.5px; left: 0;
    width: 9px; height: 9px; border-radius: 50%; background: var(--oro-acc);
}
#p-oro .oro-path-year {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--oro-acc);
}
#p-oro .oro-path-text {
    margin-top: 5px; padding-right: 16px;
    font-size: 0.9rem; line-height: 1.45; color: rgba(var(--oro-text-rgb), 0.88);
}
#p-oro .oro-path-now { flex: 0 0 auto; border-top: none; padding-left: 0; width: 14px; /* zero-width collapsed the item onto the rail end and the arrowhead tips fell past the path box edge, where the reveal clip-path shaved them off */ }
#p-oro .oro-path-now::before {
    background: transparent; border-radius: 0;
    width: 8px; height: 8px; top: -3.25px; left: -2px;
    border: none;
    border-top: 2px solid var(--oro-acc);
    border-right: 2px solid var(--oro-acc);
    transform: rotate(45deg);
}
#p-oro .oro-path-now .oro-path-year { color: rgba(var(--oro-text-rgb), 0.65); }
@media (max-width: 800px) {
    #p-oro .oro-path { flex-wrap: wrap; row-gap: 18px; }
    #p-oro .oro-path-item { flex: 1 1 40% !important; }
}

#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; }
}

/* dark themes: UA chrome and the altcha widget must not flip to the light
   palette — color-scheme keeps autofill and controls dark, the widget's
   CSS vars inherit through its shadow root. */
#p-oro, #p-midnight { color-scheme: dark; }
#p-oro .beta-form input:-webkit-autofill,
#p-oro .beta-form input:-webkit-autofill:hover,
#p-oro .beta-form input:-webkit-autofill:focus,
#p-midnight .beta-form input:-webkit-autofill,
#p-midnight .beta-form input:-webkit-autofill:hover,
#p-midnight .beta-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--oro-ink, #f4f7fb);
    caret-color: var(--oro-ink, #f4f7fb);
    transition: background-color 1000000s ease-in-out 0s;
}
#p-oro .beta-altcha, #p-oro #booking-altcha,
#p-midnight .beta-altcha, #p-midnight #booking-altcha {
    --altcha-color-base: var(--oro-panel, #0d1117);
    --altcha-color-base-content: var(--oro-ink, #f4f7fb);
    --altcha-color-neutral: var(--oro-panel2, #11151d);
    --altcha-color-neutral-content: var(--oro-ink, #f4f7fb);
    --altcha-color-primary: var(--oro-acc, #aeb7ff);
    --altcha-border-color: rgba(255, 255, 255, 0.16);
    --altcha-input-background-color: transparent;
    --altcha-input-color: var(--oro-ink, #f4f7fb);
    --altcha-checkbox-border-color: rgba(255, 255, 255, 0.45);
}
/* the shared betaStatus() writes light-theme utility colors — brighten them
   where they sit on a dark card */
#p-oro .beta-status.text-emerald-700, #p-midnight .beta-status.text-emerald-700 { color: #86dcae; }
#p-oro .beta-status.text-red-600, #p-midnight .beta-status.text-red-600 { color: #ffa8a8; }
/* noctis is the daylight member of the fluid family: form controls,
   status text and ALTCHA chrome follow the light palette instead */
html.t-nature #p-oro{ color-scheme: light; }
/* plexmsg-style banding: opaque content bands alternate with
   parallax photo bands. The photos are pure CSS fixed-attachment
   backgrounds - no WebGL - and the mist canvas floats as a
   transparent layer above the photos (z 1) but below the opaque
   bands (z 2), so cursor-fog only ever shows over the sunsets */
html.t-nature #p-oro .oro-band-solid{
    position: relative; z-index: 2;
    background: #ece4d6;
}
html.t-nature #p-oro .oro-band-solid:first-of-type{
    background: linear-gradient(180deg, #ccd7ec 0%, #e9d9c7 64%, #ece4d6 100%);
}
html.t-nature #p-oro .oro-photo{
    position: relative; z-index: 0;
    height: 62vh; height: 62lvh;
    overflow: hidden;
    background-size: cover; background-position: center;
}
/* parallax layer: height is viewport-bound (never band-bound) so the
   cover scale stays natural even in the tall host bands; the JS drives
   it so the photo TOP shows when the band enters and the bottom leaves
   last, clamped inside the coverage window - classic parallax kinematics */
html.t-nature #p-oro .oro-photo-bg{
    position: absolute; left: 0; right: 0; top: 0;
    height: 130vh; height: 130lvh;
    background-size: cover; background-position: center;
    will-change: transform;
}
/* parallax drift keyframes live in the stylesheet, not in a JS-injected
   <style>: the production CSP pins style-src-elem to self+one hash, so a
   runtime-injected element is blocked outright and the animation dies.
   The amplitude varies per band, so the keyframes read the endpoints off
   custom properties (resolved per animated element) which the JS sets as
   inline style - inline attributes are covered by style-src-attr */
@keyframes orp-drift {
    0% { transform: translate3d(0, var(--orp-a, 0px), 0); }
    100% { transform: translate3d(0, var(--orp-b, 0px), 0); }
}
/* first band also hosts the project cards: pure-photo air up front,
   then the cards ride out onto the sunset instead of sitting on paper */
html.t-nature #p-oro .oro-photo-host{ height: auto; padding-bottom: 7vh; }
html.t-nature #p-oro .oro-photo-air{ height: 11vh; height: 11lvh; }
html.t-nature #p-oro .oro-photo-host .oro-sec{ position: relative; z-index: 1; }
/* hero rides the nordic sunset too: the veil is a light paper wash -
   heavier toward the text zone, lighter at the top where the sky is -
   so the photo reads through without eating the copy */
html.t-nature #p-oro .oro-hero-host{ height: auto; }
html.t-nature #p-oro .oro-hero-veil{
    position: absolute; inset: 0;
    /* fine dark muting filter instead of the milk wash (gemini reference):
       vertical falloff deepening toward the timeline + rocks, plus a left
       veil under the copy so the sun glare never blinds the text — the
       photo keeps its own color, just dimmed */
    background:
        linear-gradient(180deg,
            rgba(8, 13, 24, var(--dim-v0, 0.14)) 0%,
            rgba(10, 16, 30, var(--dim-v55, 0.3)) 55%,
            rgba(7, 11, 20, var(--dim-v100, 0.6)) 100%),
        linear-gradient(90deg,
            rgba(7, 11, 20, var(--dim-h0, 0.5)) 0%,
            rgba(9, 14, 26, 0.47) 15%,
            rgba(9, 14, 26, 0.4) 30%,
            rgba(10, 15, 28, 0.3) 45%,
            rgba(10, 16, 30, var(--dim-h55, 0.21)) 55%,
            rgba(10, 16, 30, 0.12) 70%,
            rgba(10, 16, 30, 0.05) 85%,
            rgba(10, 16, 30, var(--dim-h100, 0.02)) 100%);
    /* the horizontal falloff must follow a smoothstep, not a line: over a
       smooth sky any linear alpha ramp reads as a hard edge exactly where
       its slope changes. The intermediate stops are fixed samples of the
       smoothstep through the default anchors - close enough that the panel
       tunables h0/h55/h100 still steer the curve without kinking it */
}
html.t-nature #p-oro .oro-hero-veil-off{
    position: absolute; inset: 0;
    /* directional wash: dense paper behind the copy on the left, opening
       to nearly clear photo on the right - the pines and the sunset carry
       the first screen instead of being milked out */
    background:
        linear-gradient(100deg,
            rgba(240, 234, 222, 0.9) 0%,
            rgba(240, 234, 222, 0.72) 30%,
            rgba(240, 234, 222, 0.32) 56%,
            rgba(240, 234, 222, 0) 76%),
        linear-gradient(180deg,
            rgba(240, 234, 222, 0.14) 0%,
            rgba(240, 234, 222, 0.3) 100%);
}
/* hero presence: the role is the headline of the page, give it real scale */
html.t-nature #p-oro .oro-hero h1 .thin{
    font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 550;
    color: var(--oro-ink); letter-spacing: -0.035em;
}
html.t-nature #p-oro .oro-hero-sum li{ font-size: 1.09rem; }
/* german copy runs long — give the summary column room before it wraps */
html.t-nature #p-oro .oro-hero-sum ul{ max-width: 1020px; }
html.t-nature #p-oro .oro-hero-sum-title{ font-size: 0.9rem; }
html.t-nature #p-oro .oro-hero-loc{ font-size: 0.98rem; }
html.t-nature #p-oro .oro-hero{ position: relative; z-index: 1; }

/* short viewports: the typography and the rhythm stay untouched — the whole
   hero block simply anchors to the top instead of floating centered, so the
   dead sky above the headline is what the timeline eats into. Only the
   centering slack is spent, never the type. Guarded to the desktop row
   layout — the ≤800px column layout keeps its own stretch alignment */
@media (max-height: 900px) and (min-width: 801px) {
    html.t-nature #p-oro .oro-hero{
        align-items: flex-start;
        /* +77px: the band now reaches up behind the sticky dark-glass nav,
           so top-anchored content must start below it, not at the band top */
        padding-top: calc(77px + clamp(24px, 5vh, 56px));
    }
}
@media (max-width: 800px) {
    html.t-nature #p-oro .oro-hero{
        padding-top: calc(77px + clamp(28px, 5vh, 64px));
    }
}

/* veil-less experiment: the hero rides the bare photo, so its type goes
   light-on-dark like the surf band — warm white ink, layered dark shadows
   carry the contrast against both the clouds and the sunset glare */
html.t-nature #p-oro .oro-hero h1 .thin{
    color: #f6f1e4;
    text-shadow: 0 2px 22px rgba(7, 12, 22, 0.78), 0 1px 5px rgba(7, 12, 22, 0.92), 0 0 44px rgba(7, 12, 22, 0.5);
}
html.t-nature #p-oro .oro-hero-sum-title{
    color: #eec988;
    text-shadow: 0 1px 10px rgba(7, 12, 22, 0.85), 0 0 4px rgba(7, 12, 22, 0.65);
}
html.t-nature #p-oro .oro-hero-sum li{
    color: rgba(243, 238, 226, 0.94);
    text-shadow: 0 1px 12px rgba(7, 12, 22, 0.92), 0 0 5px rgba(7, 12, 22, 0.8);
}
/* keyword gilt: only the marked technology terms carry the gold,
   the connective prose stays warm white */
#p-oro em.kw, #p-midnight em.kw, #p-business em.kw { font-style: normal; }
html.t-nature #p-oro .oro-hero em.kw{
    font-style: normal; color: #eec988;
}
html.t-nature #p-oro .oro-hero-sum li strong{ color: #faf4e6; }
html.t-nature #p-oro .oro-hero-sum li::before{ color: #eec988; }
html.t-nature #p-oro .oro-hero-loc{
    color: rgba(244, 240, 230, 0.96);
    text-shadow: 0 1px 10px rgba(7, 12, 22, 0.88), 0 0 4px rgba(7, 12, 22, 0.7);
}
/* the rail runs to the wrap's right edge — the capped 940px stranded the
   arrow mid-air while every other block below spans the full column */
html.t-nature #p-oro .oro-path{ max-width: none; }
html.t-nature #p-oro .oro-path-item{ border-top-color: rgba(238, 201, 136, 0.5); }
html.t-nature #p-oro .oro-path-item::before{ background: #eec988; box-shadow: 0 1px 5px rgba(7, 12, 22, 0.6); }
html.t-nature #p-oro .oro-path-now::before{ background: transparent; border-color: #eec988; }
html.t-nature #p-oro .oro-path-year{
    color: #f0cd92;
    text-shadow: 0 1px 10px rgba(7, 12, 22, 0.9), 0 0 5px rgba(7, 12, 22, 0.75);
}
html.t-nature #p-oro .oro-path-now .oro-path-year{ color: rgba(240, 235, 222, 0.75); }
html.t-nature #p-oro .oro-path-text{
    color: rgba(241, 236, 224, 0.92);
    text-shadow: 0 1px 10px rgba(7, 12, 22, 0.95), 0 0 5px rgba(7, 12, 22, 0.8);
}

/* opaque section divider: caps the seam between the hero band and the
   photo, carries the next block heading on solid paper instead of sky */
/* layer-cake removal: the cream strips used to cap every photo seam, cutting
   the scroll into sandwiched slabs. Now the strip is transparent and pulls
   the following band up underneath itself, so the section heading rides the
   photo's air zone directly — a quiet caps line with the same gold diamond
   the hero summary carries, no paper anywhere */
html.t-nature #p-oro .oro-divider{
    position: relative; z-index: 3;
    /* full-width dark-glass strip straddling the seam. The mask is the key:
       it feathers the ELEMENT ITSELF away toward both photos, so not only
       the dark tint but the backdrop blur dissolves gradually — a uniform
       blur otherwise ends in a visible hard line no matter how the color
       fades. Negative margins pull it over both bands' edges, hiding the
       photo-to-photo seam inside the dense core */
    background: rgba(7, 12, 22, 0.42);
    backdrop-filter: blur(26px) saturate(1.15);
    -webkit-backdrop-filter: blur(26px) saturate(1.15);
    border: none;
    padding: 0;
    height: 176px;
    margin-top: -71px;
    margin-bottom: -105px;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0, #000 58px, #000 calc(100% - 58px), transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 58px, #000 calc(100% - 58px), transparent 100%);
}
html.t-nature #p-oro .oro-divider .oro-label{
    text-align: center; font-size: 1.02rem; letter-spacing: 0.18em; margin-bottom: 0;
    color: rgba(244, 240, 230, 0.94);
    text-shadow: 0 1px 10px rgba(7, 12, 22, 0.85), 0 0 5px rgba(7, 12, 22, 0.7);
}
html.t-nature #p-oro .oro-divider .oro-label::before{
    content: "◆"; font-size: 0.55em; margin-right: 10px; vertical-align: 0.2em;
    color: #eec988;
}

@media (max-width: 800px) {
    /* the proportional rail is meaningless when the items wrap into rows:
       each row sprouts its own border-top segment and the chevron dangles
       alone — the timeline only earns its keep as one continuous line */
    html.t-nature #p-oro .oro-path{ display: none; }
    html.t-nature #p-oro .oro-photo{ height: 44vh; }
    /* hero-host must stay content-sized too: it is a .oro-photo band, and the
       44vh rule above comes later in source order than its desktop
       height:auto — without this line the mobile hero hard-clips the summary
       mid-text (overflow:hidden) */
    html.t-nature #p-oro .oro-photo-host,
    html.t-nature #p-oro .oro-hero-host{ height: auto; }
}

/* night photo host: the surf band carries the tech/extras section and the
   footer directly on the dark waves - everything turns light, a soft scrim
   at the bottom half keeps the small print readable over the foam */
html.t-nature #p-oro .oro-photo-night::after{
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 12, 22, 0) 24%, rgba(7, 12, 22, 0.5) 68%, rgba(7, 12, 22, 0.62) 100%);
}
#p-oro .oro-photo-night .oro-sec { position: relative; z-index: 1; }
#p-oro .oro-photo-night .oro-stack span {
    color: #ede7da; border-color: rgba(255, 255, 255, 0.34);
    background: rgba(10, 17, 30, 0.38);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    text-shadow: 0 1px 6px rgba(7, 12, 22, 0.45);
}
#p-oro .oro-photo-night .oro-stack span:hover { background: rgba(237, 231, 218, 0.92); color: #17233a; border-color: transparent; text-shadow: none; }
/* noctis tag rhythm: the base flex-grow stretches pills to justify each row,
   which inflates the long ones and breaks the grid — natural widths with the
   uniform gap read far tidier; the fill also goes denser and the outline
   crisper so the pills hold up against the bright foam and clouds */
html.t-nature #p-oro .oro-photo-night .oro-stack span{
    flex: 0 0 auto;
    background: rgba(10, 17, 30, 0.58);
    border-color: rgba(255, 255, 255, 0.52);
}
#p-oro .oro-photo-night .oro-tech-side h3 { color: #f2ead8; text-shadow: 0 1px 8px rgba(7, 12, 22, 0.55); }
#p-oro .oro-photo-night .oro-tech-side p, #p-oro .oro-photo-night .oro-tech-side ul {
    color: rgba(240, 236, 224, 0.9);
    text-shadow: 0 1px 8px rgba(7, 12, 22, 0.6);
}
#p-oro .oro-photo-night .oro-tech-side strong { color: #f5efe1; }
#p-oro .oro-photo-night .oro-footer {
    position: relative; z-index: 1;
    border-top-color: rgba(255, 255, 255, 0.18);
}
html.t-nature #p-oro .oro-photo-night .oro-footer{ background: transparent; }
#p-oro .oro-photo-night .oro-footer-links a { color: rgba(240, 236, 224, 0.88); text-shadow: 0 1px 6px rgba(7, 12, 22, 0.5); }
#p-oro .oro-photo-night .oro-footer-links a:hover { color: #ffffff; }
#p-oro .oro-photo-night .oro-footer-copy { color: rgba(240, 236, 224, 0.62); text-shadow: 0 1px 6px rgba(7, 12, 22, 0.5); }

html.t-nature #p-oro .oro-footer{
    position: relative; z-index: 2; background: #ece4d6;
}
html.t-nature #p-oro .oro-gl{ z-index: 3; background: transparent; }
html.t-nature #p-oro .oro-scrim{ display: none; }
html.t-nature #p-oro .oro-hero{
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
}
/* hero haze removed — the bright beach-sunset sky carries the contrast itself */

html.t-nature #p-oro .beta-status.text-emerald-700{ color: #047857; }
html.t-nature #p-oro .beta-status.text-red-600{ color: #dc2626; }
html.t-nature #p-oro .beta-altcha, html.t-nature #p-oro #booking-altcha{
    --altcha-border-color: rgba(23, 50, 79, 0.22);
    --altcha-checkbox-border-color: rgba(23, 50, 79, 0.42);
}

#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-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 60px; margin-bottom: clamp(26px, 4vh, 42px); }
#p-oro .oro-tech-top .oro-tech-side p, #p-oro .oro-tech-top .oro-tech-side ul { margin-bottom: 0; }
@media (max-width: 800px) { #p-oro .oro-tech-top { grid-template-columns: 1fr; } }
/* the surf photo ends exactly at the footer: no dark tail below it -
   the band's host padding is what kept that extra strip of waves visible */
html.t-nature #p-oro .oro-photo-night{ padding-bottom: 0; }
/* and no empty dark-sky strip at the top either: the content starts almost
   right after the divider, the clouds stay just as a thin breathing seam */
html.t-nature #p-oro .oro-photo-night .oro-photo-air{ height: 6vh; height: 6lvh; }

/* compact footer riding the surf: half the air of the standalone one */
#p-oro .oro-photo-night .oro-footer { margin-top: clamp(16px, 2.6vh, 26px); padding: 15px 0 17px; }

#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, html:is(.t-oro, .t-noctis, .t-nature) #booking{ color-scheme: dark; }
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 input:is(:-webkit-autofill, :autofill) {
    -webkit-text-fill-color: #f4f7fb !important;
    caret-color: #f4f7fb;
    -webkit-box-shadow: 0 0 0 1000px #0f1729 inset, var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000) !important;
    box-shadow: 0 0 0 1000px #0f1729 inset, var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000) !important;
    transition: background-color 1000000s ease-in-out 0s;
}
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, .t-nature) #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, .t-nature) #booking .bg-paper{ background: var(--oro-panel) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .text-ink{ color: var(--oro-ink) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .text-muted{ color: rgba(var(--oro-text-rgb), 0.85) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .text-subtle{ color: rgba(var(--oro-text-rgb), 0.75) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .border-line, html:is(.t-oro, .t-noctis, .t-nature) #booking .border-gridline{ border-color: rgba(var(--oro-acc-rgb), 0.18) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .bg-white{ background: var(--oro-panel-t) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking input, html:is(.t-oro, .t-noctis, .t-nature) #booking select, html:is(.t-oro, .t-noctis, .t-nature) #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, .t-nature) #booking select option{ background: var(--oro-panel); color: var(--oro-ink); }
html:is(.t-oro, .t-noctis, .t-nature) #booking input::placeholder, html:is(.t-oro, .t-noctis, .t-nature) #booking textarea::placeholder{ color: rgba(var(--oro-text-rgb), 0.62); }
html:is(.t-oro, .t-noctis, .t-nature) #booking input:is(:-webkit-autofill, :autofill){
    -webkit-text-fill-color: var(--oro-ink) !important;
    caret-color: var(--oro-ink);
    -webkit-box-shadow: 0 0 0 1000px var(--oro-panel2) inset, var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000) !important;
    box-shadow: 0 0 0 1000px var(--oro-panel2) inset, var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000) !important;
    transition: background-color 1000000s ease-in-out 0s;
}
html:is(.t-oro, .t-noctis, .t-nature) #booking .bg-emerald-700{ background: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .bg-emerald-200\/80{ background: rgba(var(--oro-acc-rgb), 0.25) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .bg-emerald-600{ background: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .bg-emerald-600\/35{ background: rgba(var(--oro-acc-rgb), 0.22) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #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, .t-nature) #booking .text-emerald-800, html:is(.t-oro, .t-noctis, .t-nature) #booking .text-emerald-700{ color: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .bg-zinc-800{ background: var(--oro-bg) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .hover\:bg-emerald-800:hover{ background: var(--oro-acc2) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .focus\:border-emerald-600:focus, html:is(.t-oro, .t-noctis, .t-nature) #booking .hover\:border-emerald-600:hover{ border-color: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .focus\:ring-emerald-600\/20:focus{ --tw-ring-color: rgba(var(--oro-acc-rgb), 0.25) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .hover\:text-emerald-700:hover, html:is(.t-oro, .t-noctis, .t-nature) #booking .hover\:border-zinc-500:hover, html:is(.t-oro, .t-noctis, .t-nature) #booking .hover\:border-zinc-400:hover{ border-color: var(--oro-acc) !important; }
html:is(.t-oro, .t-noctis, .t-nature) #booking .hover\:text-ink:hover{ color: var(--oro-ink) !important; }
/* noctis solidifies the dialog: the theme's --oro-panel is 78% glass by
   design (the project cards ride the photos), but a modal is a focus
   surface — the hero copy must not bleed through it. The tint is the
   warm cream of the page's solid bands, not cold blue — the dialog
   belongs to the sunset palette */
html.t-nature #booking section{ background: #f3ecdc !important; }
html.t-nature #booking .bg-paper{ background: #f3ecdc !important; }
html.t-nature #booking .bg-white{ background: #faf5e9 !important; }
html.t-nature #booking input, html.t-nature #booking select, html.t-nature #booking textarea{
    background: #faf5e9 !important;
}
/* ...and the autofill repaint must match that cream: the generic rule
   above shadows inputs with --oro-panel2, which in noctis is the
   blue-white glass tint — autofilled fields would glow cold against the
   warm dialog. Chrome paints its own autofill color as a UA-important
   background, so the cream has to arrive as this inset shadow */
html.t-nature #booking input:is(:-webkit-autofill, :autofill),
html.t-nature #booking input:is(:-webkit-autofill, :autofill):hover,
html.t-nature #booking input:is(:-webkit-autofill, :autofill):focus{
    -webkit-box-shadow: 0 0 0 1000px #faf5e9 inset, var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000) !important;
    box-shadow: 0 0 0 1000px #faf5e9 inset, var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000) !important;
}
/* the slot tooltip is bg-zinc-800 upstream, but the oro recolor remaps
   zinc-800 to the pale page background — white mono text on near-white,
   literally invisible. In noctis the bubble carries the timeline gold:
   dark brown mono on warm gold, readable against any calendar cell */
html.t-nature #booking .bk-tip{
    background: #eec988 !important; color: #3d2e12 !important;
    box-shadow: 0 4px 14px rgba(61, 46, 18, 0.25);
}
html.t-nature #booking .bk-tip .bg-zinc-800{ background: #eec988 !important; }
html.t-oro #booking .bk-tip { background: #151e34 !important; color: #f4f7fb !important; }
html.t-oro #booking .bk-tip .bg-zinc-800 { background: #151e34 !important; }
/* the modal's own scrollbar joins the palette too */
html:is(.t-oro, .t-noctis, .t-nature) #booking section{
    scrollbar-width: thin; scrollbar-color: rgba(var(--oro-acc-rgb), 0.35) transparent;
}
html:is(.t-oro, .t-noctis, .t-nature) #booking section::-webkit-scrollbar{ width: 8px; }
html:is(.t-oro, .t-noctis, .t-nature) #booking section::-webkit-scrollbar-track{ background: transparent; }
html:is(.t-oro, .t-noctis, .t-nature) #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, .t-nature) #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-nature #booking, html.t-nature #booking altcha-widget{ color-scheme: light; }
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; }

/* ---------- noctis night restoration ----------
   the photo-band markup is shared across the themes that ride #p-oro,
   but the night scene predates it: unwrap the band boxes so their content
   flows exactly as if the wrappers never existed, and drop the purely
   decorative band internals plus the daylight hero showcase */
html.t-noctis #p-oro .oro-photo { display: contents; }
html.t-noctis #p-oro .oro-photo-bg,
html.t-noctis #p-oro .oro-photo-air,
html.t-noctis #p-oro .oro-hero-veil { display: none; }
html.t-noctis #p-oro .oro-hero-side { display: none; }
/* the divider strips are daylight furniture too: under noctis they carry no
   opaque slab, only the label floating over the scene as before */
html.t-noctis #p-oro .oro-divider { display: contents; }

/* phones: a backdrop blur forces a full re-raster of everything behind the
   blurred element on every scroll frame — several full-width blurs at once
   (nav 20px, dividers 26px saturate) are beyond what mobile GPUs can raster
   at scroll speed, and the page hitches in frames. Solid denser tints keep
   the frosted read without the per-frame raster cost */
@media (max-width: 900px) {
    html.t-nature #p-oro .oro-nav::before,
    html.t-nature #p-oro .oro-divider,
    html.t-nature #p-oro .oro-hero-side,
    html.t-nature #p-oro .oro-rot figcaption {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    html.t-nature #p-oro .oro-divider { background: rgba(7, 12, 22, 0.66); }
    html.t-nature #p-oro .oro-nav::before {
        background: color-mix(in srgb, var(--oro-bg) 88%, transparent);
    }
    /* the blanket layer promotion trades memory for repaint cost — a fair
       deal on desktop GPUs, but phones run out of compositor memory with a
       layer per section and answer with checkerboard flashes instead */
    #p-oro #oro-projects ~ * { will-change: auto; }
}

/* ALTCHA in the cream booking modal — two layered bugs made the checkbox
   invisible here:
   1) the modal inherited color-scheme: dark from the dark-theme era remap,
      so the widget's light-dark() defaults resolved to the dark palette —
      dark-on-dark inside a light dialog;
   2) the theme variables were scoped '#p-oro #booking-altcha', but #booking
      mounts on <body>, outside #p-oro — they never matched anything, in any
      theme. Scope at the modal itself and pin the cream palette explicitly */
html.t-nature #booking { color-scheme: light; }
html.t-nature #booking #booking-altcha {
    --altcha-color-base: #faf5e9;
    --altcha-color-base-content: #3a282a;
    --altcha-color-neutral: #f3ecdc;
    --altcha-color-neutral-content: #3a282a;
    --altcha-color-primary: #0b2c4e;
    --altcha-color-primary-content: #faf5e9;
    --altcha-border-color: rgba(58, 40, 42, 0.22);
    --altcha-input-background-color: #ffffff;
    --altcha-input-color: #3a282a;
    --altcha-checkbox-border-color: rgba(58, 40, 42, 0.55);
}

/* ALTCHA renders in light DOM on this page (no shadow boundary), so the
   modal's own field rules hit the widget internals: the cream input
   background outranks the widget's layered :checked green fill, and the
   white check then sits on cream — the checkmark flashes for a frame during
   the verify animation and vanishes. Pin the checkbox explicitly past the
   modal remap's specificity. */
html.t-nature #booking .altcha-checkbox input {
    appearance: none;
    background: #ffffff !important;
    border: 2px solid rgba(58, 40, 42, 0.55) !important;
    border-radius: 5px;
    padding: 0;
}
html.t-nature #booking .altcha-checkbox input:checked {
    background: var(--altcha-color-success, #2e9e5b) !important;
    border-color: var(--altcha-color-success, #2e9e5b) !important;
}
