/*!
 * 7AM-VISION — Shared light theme (Cordon design tokens + page primitives)
 * Imported from the Claude Design project "7AM-Vision". Light theme, cyan accent
 * (#16BDD1), navy text (#1C3A63). Used by Home, About, Services, Portfolio, Media.
 */
:root {
    /* neutrals */
    --slate-1000:#05070B; --slate-900:#0E121B; --slate-700:#262E42; --slate-500:#4D5973;
    --slate-400:#66728F; --slate-300:#8C97B2; --slate-100:#E6E9F1; --slate-50:#F1F3F8;
    --slate-25:#F8F9FC; --white:#FFFFFF;

    /* status */
    --red-600:#D92C39;
    --green-500:#1FB76A; --green-600:#18935A;
    --amber-500:#F5A524;

    /* brand accent (cyan) */
    --azure-200:#BFE9EF; --azure-300:#8DDBE4; --azure-400:#46C7D6; --azure-500:#16BDD1;
    --azure-600:#0E97A8; --azure-700:#0B7A88;
    --azure-glow:rgba(22,189,209,0.42); --accent-soft:rgba(22,189,209,0.12);

    /* semantic — light */
    --bg-sunken:var(--slate-100); --bg-base:var(--slate-50); --surface-1:var(--white); --surface-2:var(--slate-25);
    --glass-bg:rgba(255,255,255,0.72); --glass-border:rgba(13,18,27,0.07);
    --border-subtle:rgba(13,18,27,0.06); --border-default:rgba(13,18,27,0.10); --border-strong:rgba(13,18,27,0.16);
    --text-primary:#1C3A63; --text-secondary:var(--slate-500); --text-tertiary:var(--slate-400);

    /* elevation */
    --shadow-xs:0 1px 2px rgba(13,18,27,0.06);
    --shadow-sm:0 2px 8px rgba(13,18,27,0.08);
    --shadow-md:0 8px 22px rgba(13,18,27,0.10);
    --shadow-lg:0 16px 40px rgba(13,18,27,0.13);
    --shadow-xl:0 28px 64px rgba(13,18,27,0.16);
    --ring-focus:0 0 0 3px rgba(22,189,209,0.32);
    --ease-out:cubic-bezier(0.22,1,0.36,1);

    --font-sans:"Geist",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
    --font-mono:"Geist Mono",ui-monospace,"SFMono-Regular","Menlo",monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-base); color: var(--text-primary); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--azure-500); color: #fff; }
:focus-visible { outline: 2px solid var(--azure-500); outline-offset: 2px; }
input::placeholder, textarea::placeholder { color: var(--text-tertiary); }

@keyframes amGlow { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .8; transform: scale(1.06); } }
@keyframes amBlink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes amPop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes amMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes amFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- interactive states (the design expressed these via style-hover / style-focus) ----
   !important is used where the base value is set inline on the element, because inline
   styles outrank a plain :hover selector (same approach as the dark design.css). */
.am-navlink { transition: color .15s var(--ease-out); }
.am-navlink:hover { color: var(--text-primary) !important; }

.am-cta { transition: background .2s var(--ease-out); }
.am-cta:hover { background: #16304F !important; }

.am-cta-lg { transition: background .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.am-cta-lg:hover { background: #16304F !important; box-shadow: 0 12px 28px -10px var(--azure-glow) !important; }

/* hero secondary button (surface-1 + default border) */
.am-ghost { transition: border-color .2s var(--ease-out), background .2s var(--ease-out); }
.am-ghost:hover { border-color: var(--border-strong) !important; background: var(--surface-2) !important; }

/* outlined secondary button (border-strong → azure on hover) */
.am-ghost-azure { transition: border-color .2s var(--ease-out), background .2s var(--ease-out); }
.am-ghost-azure:hover { border-color: var(--azure-400) !important; background: var(--surface-2) !important; }

/* bento cell that lightens on hover */
.am-cell { transition: background .25s var(--ease-out); }
.am-cell:hover { background: var(--surface-2); }

/* card that lifts (portfolio / media grid) */
.am-card { transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s var(--ease-out); }
.am-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) !important; border-color: var(--border-strong) !important; }

/* card that only firms its border (featured / detail / engagement) */
.am-line { transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.am-line:hover { border-color: var(--border-strong) !important; }
.am-line-lift:hover { box-shadow: var(--shadow-lg) !important; }

/* footer + inline text links */
.am-footlink { transition: color .2s var(--ease-out); }
.am-footlink:hover { color: var(--text-primary) !important; }
.am-flink { transition: color .2s var(--ease-out); }
.am-flink:hover { color: var(--azure-600) !important; }

/* arrow links nudge on hover */
.am-arrow { transition: gap .2s var(--ease-out); }
.am-arrow:hover { gap: 11px !important; }

/* form field focus */
.am-field { transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out); }
.am-field:focus { border-color: var(--azure-500) !important; box-shadow: var(--ring-focus); }

/* filter chips (portfolio / media) */
.am-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; padding: 9px 15px; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease-out); border: 1px solid var(--border-default); background: var(--surface-1); color: var(--text-secondary); }
.am-chip:hover { border-color: var(--border-strong); color: var(--text-primary); }
.am-chip.is-active { border-color: rgba(22,189,209,0.45); background: var(--accent-soft); color: var(--azure-600); }
.am-chip .am-chip-count { font-size: 11px; opacity: 0.7; }

.is-hidden { display: none !important; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
    .am-hero2 { grid-template-columns: 1fr !important; gap: 48px !important; }
    .am-cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
    .am-cols-4 > *:nth-child(2) { border-right: 0 !important; }
}
@media (max-width: 880px) {
    .am-split { grid-template-columns: 1fr !important; }
    .am-split > *:first-child { border-right: 0 !important; border-bottom: 1px solid var(--border-subtle); }
    .am-cols-3 { grid-template-columns: 1fr !important; }
    .am-cols-3 > * { border-right: 0 !important; }
    .am-foot { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 760px) {
    .am-nav { display: none !important; }
    .am-cols-2 { grid-template-columns: 1fr !important; }
    .am-subcols { grid-template-columns: 1fr !important; }
    .am-foot { grid-template-columns: 1fr !important; }
}
@media (max-width: 620px) {
    .am-cols-4 { grid-template-columns: 1fr 1fr !important; }
}

/* ---- mobile menu (burger + panel built by design-nav.js) ---- */
.am-burger { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: transparent; border: 1px solid var(--border-default); border-radius: 9px; cursor: pointer; }
.am-burger span { display: block; width: 18px; height: 2px; background: var(--text-primary); transition: transform .25s var(--ease-out), opacity .2s var(--ease-out); }
body.am-menu-open .am-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.am-menu-open .am-burger span:nth-child(2) { opacity: 0; }
body.am-menu-open .am-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.am-mobile-menu { display: none; flex-direction: column; padding: 6px 28px 16px; background: var(--surface-1); border-bottom: 1px solid var(--border-default); }
.am-mobile-menu a { padding: 13px 2px; font-size: 15px; font-weight: 500; color: var(--text-secondary); text-decoration: none; border-bottom: 1px solid var(--border-subtle); }
.am-mobile-menu a:last-child { border-bottom: 0; }
.am-mobile-menu a:hover { color: var(--text-primary); }
body.am-menu-open .am-mobile-menu { display: flex; }
@media (max-width: 760px) {
    .am-burger { display: flex; }
    header .am-cta { display: none !important; }
}
