:root {
    /* Modern: pure white canvas, near-black ink, electric accent */
    --background: 0 0% 100%;
    --foreground: 220 15% 8%;

    --card: 0 0% 100%;
    --card-foreground: 220 15% 8%;

    --popover: 0 0% 100%;
    --popover-foreground: 220 15% 8%;

    /* Primary: deep ink */
    --primary: 220 15% 8%;
    --primary-foreground: 0 0% 100%;

    /* Secondary: logo coral (#f05014) */
    --secondary: 16 88% 51%;
    --secondary-foreground: 0 0% 100%;

    /* Accent: logo teal (#00b4c8) */
    --accent: 186 100% 39%;
    --accent-foreground: 0 0% 100%;

    --muted: 220 14% 96%;
    --muted-foreground: 220 10% 40%;

    --destructive: 0 84% 55%;
    --destructive-foreground: 0 0% 100%;

    --border: 220 14% 91%;
    --input: 220 14% 91%;
    --ring: 220 15% 8%;

    --radius: 0.5rem;

    --gradient-bold: linear-gradient(115deg, hsl(16 88% 51%) 0%, hsl(186 100% 39%) 100%);
    --gradient-warm: linear-gradient(180deg, hsl(16 88% 97%) 0%, hsl(186 60% 96%) 100%);
    --shadow-soft: 0 1px 2px 0 hsl(220 15% 8% / 0.04), 0 8px 24px -8px hsl(220 15% 8% / 0.08);
    --shadow-lift: 0 24px 48px -16px hsl(220 15% 8% / 0.18);

    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
}

* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: hsl(var(--background)); color: hsl(var(--foreground)); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: hsl(var(--secondary)); }
a:focus-visible,summary:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 5px; }
.container { width: 100%; margin-inline: auto; padding-inline: 2rem; }
h1,h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; margin: 0; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid hsl(var(--border) / .6); background: hsl(var(--background) / .92); backdrop-filter: blur(8px); }
.header-inner { height: 96px; display: flex; justify-content: space-between; align-items: center; }
.brand img { display: block; width: auto; height: 64px; }
.desktop-nav { display: flex; align-items: center; gap: 20px; }
.desktop-nav > a { color: hsl(var(--muted-foreground)); font-size: 14px; font-weight: 500; white-space: nowrap; }
.desktop-nav > a:hover { color: hsl(var(--foreground)); }
.desktop-nav .cta { border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); padding: 10px 20px; font-weight: 600; }
.mobile-menu { display: none; }
.profile { max-width: 1000px; padding-block: 48px 56px; }
.page-heading { padding-bottom: 24px; border-bottom: 2px solid hsl(var(--foreground)); }
h1 { font-size: 48px; line-height: 1.1; }
.reference-section { padding-block: 28px; border-bottom: 1px solid hsl(var(--border)); scroll-margin-top: 112px; }
.reference-section:last-child { border-bottom: 0; padding-bottom: 0; }
h2 { font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
.section-content { color: hsl(var(--muted-foreground)); font-size: 16px; line-height: 1.7; }
.section-content p { max-width: 800px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.section-content a { text-decoration: underline; text-underline-offset: 4px; }
.capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 6px; margin: 18px 0; padding-left: 20px; }
.capabilities:last-child { margin-bottom: 0; }
.capabilities li { padding-left: 3px; break-inside: avoid; }
.capabilities li::marker { color: hsl(var(--accent)); }
.site-footer { background: hsl(var(--muted) / .4); }
.footer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; padding-block: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand span { font-family: 'Instrument Serif',Georgia,serif; font-size: 20px; }
.footer-grid h2 { font-size: 16px; }
.footer-grid p { color: hsl(var(--muted-foreground)); font-size: 14px; line-height: 1.5; margin-top: 12px; margin-bottom: 0; max-width: 320px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 14px; color: hsl(var(--muted-foreground)); }
.contact-link { display: inline-block; font-size: 14px; font-weight: 600; margin-top: 12px; }
.footer-bottom { border-top: 1px solid hsl(var(--border) / .6); color: hsl(var(--muted-foreground)); font-size: 12px; }
.footer-bottom > div { display: flex; justify-content: space-between; gap: 8px; padding-block: 16px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px; background: hsl(var(--background)); border: 1px solid hsl(var(--border)); }
.skip-link:focus { top: 16px; }
@media (min-width: 1400px) { .container { max-width: 1400px; } .profile { max-width: 1000px; } .desktop-nav { gap: 28px; } }
@media (max-width: 1023px) {
 .desktop-nav { display: none; } .mobile-menu { display: block; }
 .mobile-menu summary { cursor: pointer; list-style: none; font-size: 24px; width: 40px; height: 40px; text-align: center; }
 .mobile-menu summary::-webkit-details-marker { display: none; }
 .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 16px 32px; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--background)); }
 .mobile-menu nav a { padding-block: 12px; font-size: 16px; color: hsl(var(--muted-foreground)); }
}
@media (max-width: 767px) {
 .header-inner { height: 80px; } .brand img { height: 48px; }
 .profile { padding-block: 32px 40px; padding-inline: 24px; }
 .page-heading { padding-bottom: 20px; } h1 { font-size: 36px; }
 .reference-section { padding-block: 24px; scroll-margin-top: 96px; }
 h2 { font-size: 26px; } .section-content { font-size: 16px; }
 .capabilities { grid-template-columns: minmax(0,1fr); row-gap: 7px; }
 .footer-grid { grid-template-columns: minmax(0,1fr); } .footer-bottom > div { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
