/* NAVICORE TECH — palette from the official digital-twins mark
   (orange #F7931E twin, neon-green #00FF00 twin, #009300 overlap).
   The green accent uses the overlap tone so label text stays legible on white. */
:root {
    --orange:  #F7931E;
    --green:   #009300;
    --overlap: #009300;
    --ink:     #333333;
    --grey:    #5A5A5A;
    --rule:    #E6E6E6;
    --maxw:    38rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: var(--ink);
    font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 1rem + 0.25vw, 1.0625rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* ---- Centered hero column, footer pinned to the bottom ---- */
.page {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(2.5rem, 8vh, 5.5rem) 1.5rem 2.5rem;
}

/* ---- Brand lockup ---- */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mark {
    width: clamp(168px, 30vw, 232px);
}

.mark img {
    width: 100%;
    height: auto;
    display: block;
}

.wordmark {
    margin: 0.4rem 0 0;
    font-weight: 800;
    font-size: clamp(1.5rem, 1.2rem + 1.8vw, 2.125rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wordmark__tech {
    color: var(--orange);
    font-weight: 700;
}

.name {
    margin: 0.45rem 0 0;
    color: var(--grey);
    font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ---- Positioning ---- */
.positioning {
    margin-top: clamp(2rem, 5vh, 2.75rem);
}

.tagline {
    margin: 0;
    font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
    font-weight: 700;
    letter-spacing: 0.005em;
}

.availability {
    margin: 0.5rem 0 0;
    color: var(--grey);
}

/* ---- Engagement spec sheet (two faces → two audiences) ---- */
.offerings {
    margin-top: clamp(1.75rem, 4vh, 2.25rem);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.offering {
    padding: 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.offering + .offering {
    border-left: 1px solid var(--rule);
}

.offering__label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
}

.offering__label--green {
    color: var(--green);
}

.offering__detail {
    font-weight: 600;
}

/* ---- Links ---- */
.links {
    margin-top: clamp(1.75rem, 4vh, 2.25rem);
    display: flex;
    gap: 1.75rem;
    justify-content: center;
    align-items: center;
}

.link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.link .arrow {
    color: var(--orange);
    transition: transform 0.15s ease;
}

.link:hover,
.link:focus-visible {
    color: var(--orange);
    border-bottom-color: var(--orange);
    outline: none;
}

.link:hover .arrow,
.link:focus-visible .arrow {
    transform: translate(2px, -2px);
}

/* ---- Skills ---- */
.skills {
    margin-top: clamp(1.5rem, 3.5vh, 2rem);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.skill {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
}

.skill__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey);
    min-width: 5.5rem;
    text-align: right;
}

.skill__items {
    font-weight: 600;
}

/* ---- Email foldout (mailto: is unreliable on some desktops,
      so the address is shown as copyable text too) ---- */
.disclosure {
    position: relative;
}

.disclosure > summary {
    list-style: none;
    cursor: pointer;
}

.disclosure > summary::-webkit-details-marker {
    display: none;
}

.disclosure__arrow {
    transition: transform 0.15s ease;
}

.disclosure[open] .disclosure__arrow {
    transform: rotate(180deg);
}

.disclosure__panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 0.6rem 0.95rem;
    box-shadow: 0 8px 24px rgba(51, 51, 51, 0.12);
    white-space: nowrap;
    z-index: 5;
}

.disclosure[open] .disclosure__panel {
    animation: drop 0.14s ease;
}

@keyframes drop {
    from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.disclosure__email {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.15s ease;
}

.disclosure__email:hover,
.disclosure__email:focus-visible {
    color: var(--orange);
    outline: none;
}

/* ---- Footer ---- */
.footer {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
    color: var(--grey);
    font-size: 0.85rem;
    border-top: 1px solid var(--rule);
}

.footer__link {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--rule);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
    color: var(--orange);
    border-bottom-color: var(--orange);
    outline: none;
}

.hobby {
    margin: 0 0 0.4rem;
}

.copyright {
    margin: 0;
    font-size: 0.78rem;
    opacity: 0.85;
}

/* ---- Subtle staggered entrance ---- */
@keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.page > * {
    animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.page > *:nth-child(1) { animation-delay: 0.02s; }
.page > *:nth-child(2) { animation-delay: 0.10s; }
.page > *:nth-child(3) { animation-delay: 0.18s; }
.page > *:nth-child(4) { animation-delay: 0.26s; }
.page > *:nth-child(5) { animation-delay: 0.34s; }

/* ---- Mobile ---- */
@media (max-width: 480px) {
    .offerings {
        grid-template-columns: 1fr;
    }
    .offering + .offering {
        border-left: none;
        border-top: 1px solid var(--rule);
    }
    .links {
        gap: 1.25rem;
    }
}

/* ---- Motion preferences ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
