﻿/* ==========================================================================
   S900FX / S950FX — shared stylesheet
   Palette read off photographs of the actual front panels. The panel is a
   light warm GREY, not a cream — the earlier beige was well off. Only
   #BC012E is documented (the Akai Professional logo red); everything else is
   eyeballed from the hardware and is meant to be tweaked here, in one place.
   ========================================================================== */
:root {
    --panel:        #C3C4C2;   /* front-panel grey -- near-neutral */
    --panel-hi:     #D0D1CF;
    --panel-edge:   #A6A7A4;
    --ink:          #2C2D2C;   /* silkscreen label dark -- body text */
    --ink-soft:     #676866;
    --akai-red:     #BC012E;   /* documented: Akai Professional logo red */
    --bezel:        #141413;   /* the black surround around the display */
    --logo-ink:     #2C2D2C;
    --logo-fx:      #BC012E;
    --logo-inline:  #C3C4C2;   /* MUST match the page background */
    --rule:         #AAABA8;
    --lcd-bg:       #A2B79D;   /* S950: original green LCD */
    --lcd-text:     #1E2C1C;   /* dark characters on green */
    --lcd-glow:     none;

    --mono: "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

    --measure: 68ch;
    --gap: 1.6rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--panel);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }

/* --- the brand rule: a red hairline, as on the panel silkscreen ---------- */
.rule-red { height: 3px; background: var(--akai-red); border: 0; margin: 0; }

/* --- header -------------------------------------------------------------- */
header { padding: 2.6rem 0 1.4rem; }
/* The wordmark, drawn to match the front-panel face. The inline is painted in
   --logo-inline, so it must track the page background: set it to whatever the
   logo sits on or the thin line inside each stroke will read as the wrong
   colour. */
.brand {
    margin: 0;
    line-height: 0;
}
.brand img {
    display: block;
    width: min(22rem, 70%);
    height: auto;
}

.tagline {
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: var(--ink-soft);
    margin: 0.4rem 0 0;
}

/* --- the display: built in CSS, not photographed -------------------------
   A black bezel, a backlit panel, and a fine dot-matrix grid over the whole
   area -- the unlit dots you can see between characters on the real screen.
   Each site uses ITS OWN machine's display: blue-backlit on the S900, the
   original green LCD on the S950. -------------------------------------- */
.bezel {
    background: var(--bezel);
    padding: .7rem;
    margin: 1.8rem 0 0;
    border-radius: 4px;
    box-shadow: 0 1px 0 var(--panel-hi), inset 0 2px 6px rgba(0,0,0,.6);
}
.lcd {
    display: block;
    width: 100%;
    aspect-ratio: 10 / 1;      /* the real glass: 150 x 15 mm */
    height: auto;
}


.lcd-caption {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ink-soft); margin: .55rem 0 0;
}
/* --- sections ------------------------------------------------------------ */
section { padding: 2.6rem 0; border-top: 1px solid var(--rule); }
section:first-of-type { border-top: 0; }

h2 {
    font-family: var(--mono);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--akai-red);
    margin: 0 0 1rem;
}
h3 { font-size: 1.05rem; margin: 1.6rem 0 0.3rem; }
p  { max-width: var(--measure); margin: 0 0 1rem; }
a  { color: var(--akai-red); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--akai-red); outline-offset: 3px;
}

.lead { font-size: 1.12rem; }

/* --- spec strip ---------------------------------------------------------- */
.specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin: 1.4rem 0 0;
}
.specs div { background: var(--panel); padding: 0.85rem 1rem; }
.specs dt {
    font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--ink-soft);
}
.specs dd { margin: 0.2rem 0 0; font-family: var(--mono); font-size: 1rem; }

/* --- video --------------------------------------------------------------- */
.video {
    position: relative; padding-top: 56.25%;
    background: var(--bezel); border-radius: 3px; overflow: hidden;
}
.video iframe, .video .placeholder {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video .placeholder {
    display: grid; place-content: center; text-align: center; gap: .4rem;
    color: var(--panel-hi); font-family: var(--mono); padding: 1rem;
}
.video .placeholder span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

/* --- download ------------------------------------------------------------ */
.cta {
    border: 2px solid var(--ink); padding: 1.5rem;
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 1rem 1.5rem; justify-content: space-between;
}
.btn {
    font-family: var(--mono); font-size: .82rem; letter-spacing: .14em;
    text-transform: uppercase; padding: .8rem 1.5rem;
    background: var(--akai-red); color: #fff; border: 0; border-radius: 2px;
    text-decoration: none; display: inline-block;
}
.btn[aria-disabled="true"] {
    background: var(--rule); color: var(--ink-soft); cursor: not-allowed;
}
.cta p { margin: 0; }

/* --- resources ----------------------------------------------------------- */
.files { list-style: none; margin: 0; padding: 0; }
.files li { border-bottom: 1px solid var(--rule); }
.files a {
    display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline;
    padding: .8rem 0; text-decoration: none; color: var(--ink);
}
.files a:hover .name { text-decoration: underline; text-decoration-color: var(--akai-red); }
.files .name { flex: 1 1 18rem; }
.files .meta {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

/* --- footer -------------------------------------------------------------- */
footer {
    border-top: 1px solid var(--rule); padding: 1.8rem 0 3rem;
    font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
    color: var(--ink-soft);
}
footer a { color: var(--ink-soft); }
footer .sep { color: var(--rule); padding: 0 .25rem; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}






