@font-face {
    font-family: "Source Sans 3";
    src: url("fonts/source-sans-3-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}

@font-face {
    font-family: Barlow;
    src: url("fonts/barlow-latin-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --background: #091523;
    --header: #0c1a2a;
    --panel: #102134;
    --panel-raised: #14283d;
    --line: #2d4358;
    --white: #f2f5f8;
    --muted: #b4c2cf;
    --amber: #f0a54b;
    --blue: #70c5ee;
    --accent: var(--blue);
    --focus: #ffb24f;
    --shadow: 0 1.2rem 3rem rgb(0 0 0 / .22);
    --font-text: "Source Sans 3", system-ui, sans-serif;
    --font-display: Barlow, "Source Sans 3", system-ui, sans-serif;
    --radius: .65rem;
    font-family: var(--font-text);
    font-size: 17px;
    background: var(--background);
    color: var(--white);
}

:root[data-negsun-theme="dark"] { color-scheme: dark; }
:root[data-negsun-theme="light"] {
    color-scheme: light;
    --background: #f2f5f7;
    --header: #ffffff;
    --panel: #ffffff;
    --panel-raised: #e8eef2;
    --line: #d2dde4;
    --white: #182a39;
    --muted: #536675;
    --amber: #a85e17;
    --blue: #176b91;
    --accent: #176b91;
    --focus: #a85e17;
    --shadow: 0 1rem 2.5rem rgb(31 55 74 / .09);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; min-height: 100vh; display: flex; flex-direction: column; background: var(--background); color: var(--white); transition: background-color .2s ease, color .2s ease; }
main { flex: 1; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: var(--amber); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.container { width: min(79rem, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.public-header { border-bottom: 1px solid var(--line); }
.public-footer { border-top: 1px solid var(--line); margin-top: 4rem; }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.5rem; }
.footer-row { min-height: 6rem; padding-block: 1rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem clamp(.75rem, 2.5vw, 2.2rem); }
nav a, .footer-row > a:last-child { text-decoration: none; color: var(--muted); }
nav a:hover, nav a[aria-current] { color: var(--white); text-decoration: underline; }
.skip-link { position: absolute; top: .6rem; left: .6rem; transform: translateY(-160%); background: var(--background); padding: .55rem; z-index: 3; }
.skip-link:focus { transform: none; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.018em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); }
h3 { font-size: 1.28rem; }
p { margin: .85em 0 0; }
.lead { font-size: clamp(1.07rem, 2vw, 1.3rem); max-width: 51ch; color: var(--muted); }
.copy { color: var(--muted); max-width: 64ch; }
.hero { display: grid; position: relative; isolation: isolate; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { z-index: -2; object-fit: cover; }
.hero::after { content: ""; z-index: -1; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; width: fit-content; color: #151d24; background: var(--amber); border: 1px solid var(--amber); border-radius: .42rem; padding: .72rem 1.15rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.button:hover { background: color-mix(in srgb, var(--amber) 83%, white); color: #151d24; box-shadow: 0 .35rem 1rem color-mix(in srgb, var(--amber) 16%, transparent); }
.button.secondary { background: var(--panel); color: var(--white); border-color: var(--line); }
.button.secondary:hover { color: var(--blue); border-color: var(--blue); }

.section-heading { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; justify-content: space-between; margin-bottom: 1.5rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.product-card, .panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-card { text-decoration: none; overflow: hidden; color: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.product-card:hover { color: var(--white); border-color: var(--blue); box-shadow: 0 1rem 2.2rem rgb(0 0 0 / .16); }
.card-copy { padding: 1rem 1.12rem 1.25rem; }
.card-copy h2 { font-size: 1.28rem; }
.card-copy p, .panel p, .home-links p { color: var(--muted); }
.card-copy p { margin-top: .42rem; }
.home-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 1rem; }
.home-links a { display: inline-block; margin-top: .8rem; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin-top: 1.1rem; }
.panel { padding: clamp(1rem, 3vw, 2rem); }

.product-detail, .contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 5vw, 5rem); align-items: start; }
.product-detail { align-items: center; }
.product-detail .product-visual { border-radius: var(--radius); border: 1px solid var(--line); }
.product-description .button, .catalog-action { margin-top: 1.5rem; }
.back-link { display: inline-block; margin-bottom: 1.25rem; }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: block; margin-bottom: .3rem; font-weight: 650; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: .42rem; padding: .72rem .8rem; color: var(--white); background: var(--panel-raised); font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.contact-form textarea { resize: vertical; }
.contact-form .errorlist { padding-left: 1.2rem; color: #ffb4a9; }

.product-visual {
    --wash: #456787;
    --edge: #8db9d8;
    aspect-ratio: 16 / 11;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 46%, var(--wash), #131c29 58%, #0b1019 100%);
}
.product-visual::before { content: ""; width: 77%; height: 25%; position: absolute; left: 12%; bottom: 12%; border-radius: 50%; background: #000a; filter: blur(12px); }
.product-object { position: relative; width: 58%; aspect-ratio: 1.6; box-shadow: inset 0 1px 1px #fff8, 0 .18rem .2rem #0008, 0 .75rem 0 #0c1117, 0 .8rem 0 #516075; background: linear-gradient(156deg, #8796a8, #344355 55%, #1a2432); border: 1px solid #8490a1; transform: rotate(-18deg) skewX(12deg); border-radius: 8%; }
.product-object span { position: absolute; }
.product-pico { --wash: #35625b; --edge: #9ee5bc; }
.product-pico .product-object { background: repeating-linear-gradient(90deg, transparent 0 9%, #c4ffb61c 9% 10%), linear-gradient(152deg, #387c64, #163930); box-shadow: inset 0 1px 1px #fff8, 0 .3rem 0 #0e2724; }
.product-pico span:first-child { inset: 20% 34%; background: #172022; border: 2px solid #b3b7a4; box-shadow: 0 0 .5rem #0008; }
.product-pico span:nth-child(2) { inset: 12% 5% 10% auto; width: 12%; background: repeating-linear-gradient(0deg, #1e221d 0 7%, #d8bc7e 8% 14%); }
.product-pico span:nth-child(3) { bottom: 13%; left: 12%; width: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--edge); box-shadow: 0 0 .5rem var(--edge); }
.product-vera { --wash: #5e5186; --edge: #d9bcff; }
.product-vera .product-object { aspect-ratio: 1.25; border-radius: 50%; background: repeating-radial-gradient(ellipse, #262638 0 6%, #77788f 6% 7%, #36384f 7% 14%); box-shadow: 0 .4rem 0 #1e2032, 0 .49rem 0 #7a7690; }
.product-vera span:first-child { inset: 31% 34%; border-radius: 50%; background: var(--edge); box-shadow: 0 0 1.2rem #d9bcffa0; }
.product-nexa { --wash: #245276; --edge: #88dbff; }
.product-nexa .product-object { aspect-ratio: 2.5; background: repeating-linear-gradient(0deg, #344c65 0 9%, #101d2e 10% 12%); }
.product-nexa span { width: 18%; height: 30%; bottom: 28%; background: #070e18; border: 2px solid #6d8299; box-shadow: inset 0 -2px var(--edge); }
.product-nexa span:first-child { left: 11%; }
.product-nexa span:nth-child(2) { left: 40%; }
.product-nexa span:nth-child(3) { left: 69%; }
.product-atlas { --wash: #7c4e31; --edge: #ffc675; }
.product-atlas .product-object { aspect-ratio: 1.8; transform: translateY(-19%) rotate(-18deg) skewX(12deg); background: linear-gradient(145deg, #7e6f63, #342c25); box-shadow: 0 .28rem 0 #251d1a, 0 .42rem 0 #a58057, 0 .7rem 0 #201a17, 0 1rem 0 #7e664d, 0 1.12rem 0 #14110f, 0 1.5rem 0 #47392a; }
.product-atlas span:first-child { inset: 15%; background: repeating-linear-gradient(90deg, transparent 0 10%, #ffc67580 11% 12%), repeating-linear-gradient(0deg, #242226 0 16%, #ffc67580 17% 19%); border: 1px solid #ffc67599; }
.product-lumen { --wash: #1d676f; --edge: #98fff0; }
.product-lumen .product-object { width: 48%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0 13%, #90fff6 17% 28%, #27626b 35% 39%, #354657 40% 48%, #172430 50% 63%, #6d8d99 65%); box-shadow: 0 0 1.2rem #98fff0a0, 0 .43rem 0 #152b34; }
.product-detail .product-object { width: 53%; }

@media (max-width: 40rem) {
    .product-detail, .contact-layout { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .product-card, .button { transition: none; }
}

/* Shared editorial treatment for public content pages. */
.section { padding-top: clamp(2.6rem, 6vw, 5.2rem); }
.interior { padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-heading { max-width: 60rem; }
.page-heading h1, .interior > h1 { max-width: 18ch; }
.page-heading .lead { margin-top: .85rem; }
.panel { padding: clamp(1.2rem, 3vw, 2rem); }
.course-panel, .expertise-panel { border-top: 3px solid var(--blue); }
.course-meta { color: var(--amber); font-size: .9rem; font-weight: 700; letter-spacing: .035em; }
.copy, .detail-copy { font-size: 1.05rem; line-height: 1.75; }
.course-detail section { border-color: var(--line); }
.course-detail dt { color: var(--white); }
.course-detail dd { color: var(--muted); }
.contact-layout { align-items: stretch; }
.contact-layout > :first-child { padding-block: clamp(1rem, 3vw, 2rem); }
.contact-form .errorlist { color: #d94f43; }
.product-visual { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; }
}

.public-header, .public-footer { background: #0b1525; }
.header-row { min-height: 5.4rem; gap: .75rem 2rem; padding-block: .8rem; }
.brand { display: inline-flex; }
.brand img { display: block; width: clamp(8.5rem, 16vw, 11.5rem); height: auto; }
nav .contact-link { padding: .45rem .9rem; color: var(--white); }
nav a { font-size: .975rem; }
nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--blue); }
.footer-row { padding-block: 1.5rem; }
.footer-row p { margin-top: .15rem; color: var(--muted); }

.hero {
    min-height: clamp(37rem, 62vw, 47rem);
    background: #08111f;
}
.hero .hero-image { object-position: 64% 50%; }
.hero::after {
    background:
        linear-gradient(90deg, #08111f 2%, #08111ff5 29%, #08111fb5 53%, #08111f20 77%),
        linear-gradient(0deg, #08111f 0%, #08111f00 32%);
}
.hero-inner { padding-block: clamp(3rem, 6vw, 5.8rem); }
.hero h1 {
    max-width: 19ch;
    font-size: clamp(2.6rem, 6.1vw, 5.4rem);
    line-height: 1.02;
    font-weight: 730;
    text-wrap: balance;
}
.hero .lead { max-width: 55ch; }
.hero .actions { margin-top: 2rem; }

.section { padding-top: clamp(2.5rem, 6vw, 5rem); }
.section-heading .lead, .project-invitation .lead { margin-top: .35rem; }
.text-link { color: var(--blue); font-weight: 650; }
.interior { min-height: 50vh; }
.interior h1 { max-width: 20ch; font-size: clamp(2.55rem, 6vw, 5rem); }
.page-heading { margin-bottom: clamp(1.8rem, 4vw, 3.4rem); }
.home-links article,
.project-invitation {
    padding: clamp(1.25rem, 3vw, 2.35rem);
    background: linear-gradient(140deg, #15263d, #101b2c 72%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.project-invitation { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; }
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1rem; }
.expertise-panel,
.course-panel { border-top: 2px solid var(--blue); }
.expertise-panel h2,
.course-panel h2 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.expertise-panel h2 a,
.course-panel h2 a { color: var(--white); }
.expertise-panel h2 a:hover,
.course-panel h2 a:hover { color: var(--blue); }
.course-panel .course-meta { color: var(--blue); font-size: .9rem; }

@media (max-width: 47rem) {
    .hero { min-height: 34rem; }
    .hero .hero-image { object-position: 76% 50%; }
    .hero::after {
        background: linear-gradient(90deg, #08111ff7, #08111fb0),
                    linear-gradient(0deg, #08111f 0%, transparent 40%);
    }
}
@media (max-width: 31rem) {
    .hero h1 { font-size: clamp(2.15rem, 11vw, 3.4rem); }
    .header-row nav { gap: .65rem 1rem; }
    .header-row nav .contact-link { padding: 0; background: transparent; border: 0; color: var(--amber); }
    .hero .actions .button { width: auto; }
}

.course-detail { max-width: 56rem; }
.course-detail dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.2rem; margin-block: 1.5rem; }
.course-detail dt { font-weight: 700; }
.course-detail dd { margin: 0; }
.course-detail section { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line, #263852); }
.course-detail section p { margin-top: .7rem; }
.course-detail > .button { margin-top: 1.5rem; }

.brand.suite-brand img { width: clamp(11rem, 21vw, 15rem); }
