/*   = = =   Theme Base : the ground, the one typeface, the header, the buttons, the framed panel   = = =   */

/* - - - The look is Nox Cella's : a pure black ground, line work in the accent, rose-cream text. Not one colour is
   declared in this sheet : every one is a custom property from Nk-Config.php, emitted by index.php as the :root
   block. Nothing on the page glows but the stage's dots, which carry a faint light, and the loader's mark (below),
   both by the owner's choice : depth is a border, an inset ring or a tint. The only shadows are the owner's two hairlines, the letters' and the
   signature's (below). - - - */



/*   = = = = = =   The Ground and the One Face   = = = = = =   */

/* - - - One family, one weight, everywhere : Segoe UI Light, then each platform's own light face, at 200 where the
   face has it and its lightest where it has not (THE ONE WEIGHT IS 200, below; Segoe UI's lightest is 300). Emphasis
   is size, tracking, case or colour, never weight. The root size follows the screen within bounds, so every rem
   grows from a phone to the 4K desktop together.

   EVERY LENGTH THAT FOLLOWS THE SCREEN'S HEIGHT IS IN `svh`, the height with a phone's toolbar shown, which never
   changes. `dvh` follows the toolbar, and a phone's browser moves it when a scroll comes to rest : every padding in
   dvh grew at that moment and the whole page jumped under the finger. This is a page that scrolls, not Nox Cella's
   fixed frame, and its rule is the opposite of Nox's. - - - */
:root
{
    color-scheme: only dark;   /* the reset sheet holds it (NO BROWSER RECOLOURS THE SITE) */
    --nk-header-pad: clamp(21px, 3.45svh, 39px);
    --nk-header-h: calc(2 * var(--nk-header-pad) + 1px);
    --nk-logo-top: 0.12;
    --nk-logo-side: 0.24;
    --nk-logo-overhang: 0.33;
    --nk-scroll-pad: calc(var(--nk-header-h) + 12px);
    --nk-column: min(calc(18rem + 44vw), 1500px, calc(100vw - 32px));
    --nk-reading: 68ch;
    --nk-island-room: calc(110px + env(safe-area-inset-bottom, 0px));
}

html
{
    font-size: clamp(15px, calc(12.5px + 0.18vw), 19px);
    background-color: var(--bg-color);
    scroll-padding-top: var(--nk-scroll-pad);
    scroll-behavior: smooth;
}

/* - - - NOX CELLA'S BROWSER RULES, AS ITS Theme-Styling.css WRITES THEM, so the page is drawn the same in every
   browser : the root named with the star (the reset's `font: inherit` outranks a bare star), no tap highlight,
   nothing selectable. - - - */
html,
*
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI Light', 'Helvetica Neue Light', 'Helvetica Neue', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    font-weight: 300;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

input, button, select, textarea
{
    font-family: inherit;
}

/* - - - THE ONE WEIGHT IS 200 (2026-10-21, the owner's word : "Can we make the text a bit thinner across the app?
   ... Can it go to 200?"), laid over Nox Cella's 300 above, which stays as Nox writes it. A face thins only where
   its family has a lighter one; where it has none the browser takes the nearest above. Segoe UI's lightest is its
   Light (300, Segoe UI Variable's too), so a Windows screen draws the same Light as before. A phone has no Segoe UI
   and falls to its own face (`system-ui` : Roboto in Android's Chrome, every weight from 100 to 900 since Android
   12), which draws its 200, thinner; an Android before 12, its Roboto Thin, Light and Regular alone, takes the Thin
   (100), the nearest under. - - - */
html,
*
{
    font-weight: 200;
}

/* - - - NO SAVE GESTURE ON A PICTURE : `-webkit-touch-callout` stops iOS's long-press sheet, `-webkit-user-drag`
   a desktop drag onto the filesystem. Nox Cella's rule, with SVG and links added. - - - */
img, video, canvas, svg, a
{
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* - - - NOTHING CAN BE COPIED, the owner's rule. No word on the page is selectable on any device, in every
   spelling the engines read : unprefixed for Chromium and Firefox, `-webkit-` for every browser on an iPhone, and
   `-webkit-touch-callout` for iOS's long-press bubble. Portfolio-Script.js refuses the rest : copy, cut, the
   context menu, a drag, select-all and the copy, save, print and source shortcuts. Nox Cella's touch-screen block
   says the same for a phone; here it is the rule everywhere. - - - */
html,
*,
*::before,
*::after
{
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
@media (hover: none) and (pointer: coarse)
{
    html,
    *
    {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
}

/* - - - And nothing prints : a printed page is a copy too - - - */
@media print
{
    html { display: none !important; }
}

/* - - - The body is a stacking context of its own (`isolation`), so the stage's `z-index: -1` paints over the
   body's ground and under its words : without it the body's background, painted with the page's flow, covers the
   stage entirely. - - - */
body
{
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100svh;
    overflow-x: hidden;
    isolation: isolate;
}

/* - - - EVERY LETTER CASTS A HAIRLINE OF SHADOW (2026-10-09, the owner's word : "a global letter backdrop shadow so
   that the letters are more visible above different lighting conditions ... tiny, heading towards the right bottom ...
   By default, make it extremely thin") : one of the page's two shadows (the other is the signature's, below), down
   and to the right of every glyph, so the words keep an edge over the tower's light and the glass. Its four figures are Nk-Config.php
   `letters`, printed on :root and tuned in the effects editor ("The letters") ; its colour is the theme's
   `shadow-rgb`. Declared on the body and inherited, so no word names it again. A shadow is drawn with its glyphs : it
   costs when the words are painted, not on a scroll. - - - */
body
{
    text-shadow: var(--nk-letter-shadow-x, 0.5px) var(--nk-letter-shadow-y, 0.5px) var(--nk-letter-shadow-blur, 0.5px) rgba(var(--shadow-rgb), var(--nk-letter-shadow-alpha, 0.7));
}



/*   = = = = = =   The Header   = = = = = =   */

/* - - - The page's one line of chrome, fixed over the top : the name, centred, and the brand mark at its left.
   What scrolls up passes behind it and comes out frosted, the panel colour at 30% over a 5px blur, drawn as a
   gradient of one colour because Chrome's forced dark mode turns a flat translucent fill opaque. Two paddings and a
   rule tall ; the name and the mark are placed absolutely, so nothing inside can grow it. - - - */
.nk-header
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: var(--nk-header-pad) 20px;
    border-bottom: 1px solid var(--border-color);
    background-image: linear-gradient(rgba(var(--panel-rgb), 0.3), rgba(var(--panel-rgb), 0.3));
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.logo
{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(15px, calc(0.69rem + 1.15vw), 25px);
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

/* - - - THE MARK, AT THE BAND'S LEFT (2026-10-09) : the eclipse C holding the owner's signature, beside the centred
   name in the site's colour, placed as Nox Cella's header places its own (Nox Cella's figures). TALLER THAN THE BAND
   : its top --nk-logo-top of the band's height below the screen's edge, its left --nk-logo-side of it in from the
   side, and as tall as leaves --nk-logo-overhang of its OWN height hanging below the band, over what is underneath :
   H = band x (1 - top) / (1 - overhang). Absolute, so the band's height is untouched, and it takes no press. The
   box is the whole mark, the tail that leaves the C included. The line is the mark's own, 0.867 of its 140.04
   units (0.62% of its height), drawn in screen pixels and never under 0.6px, as Nox Cella's is.

   IT CASTS A TINY SHADOW (2026-10-20, the owner's word : "Add a backdrop to my signature ... likewise nox cella has one
   as well so that its a bit easy to see when too many colours are behind it"), as Nox Cella's mark does : a shadow
   of its own lines, down and to the right as the letters' hairline is, a whole pixel out (a nearer one hides under a
   line this thin). What hangs below the band stands over the tower's light and the glass, where the thin line was
   lost among the colours ; over the band's frost the shadow is barely seen. Its four figures are Nk-Config.php
   `signature`, printed on :root and tuned in the effects editor ("The signature") ; its colour is the theme's
   `shadow-rgb`. A filter on the mark, a LEAF of the band : it makes nothing else a backdrop root. - - - */
.logo-mark
{
    --nk-logo-h: calc(var(--nk-header-h) * (1 - var(--nk-logo-top)) / (1 - var(--nk-logo-overhang)));
    position: absolute;
    top: calc(var(--nk-header-h) * var(--nk-logo-top));
    left: calc(var(--nk-header-h) * var(--nk-logo-side));
    height: var(--nk-logo-h);
    aspect-ratio: 185.04 / 140.04;
    color: var(--primary-color);
    pointer-events: none;
    filter: drop-shadow(var(--nk-logo-shadow-x, 1px) var(--nk-logo-shadow-y, 1px) var(--nk-logo-shadow-blur, 0.3px) rgba(var(--shadow-rgb), var(--nk-logo-shadow-alpha, 0.9)));
}
.logo-mark-glyph
{
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.logo-mark-glyph > *
{
    vector-effect: non-scaling-stroke;
    stroke-width: max(0.6px, calc(var(--nk-logo-h) * 0.0061911));
}



/*   = = = = = =   The Workspace   = = = = = =   */

/* - - - Under the header and above the island's room. No background : the stage shows through the whole page. - - - */
.workspace
{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: var(--nk-header-h) 0 var(--nk-island-room);
}



/*   = = = = = =   The Buttons   = = = = = =   */

/* - - - Nox Cella's `.thin-btn.submit-btn` : uppercase on a small unit of padding, the accent's fill with the
   ground's colour for its words, a hover that LIGHTENS the fill and casts nothing. The outlined family is the quieter
   choice. A press shrinks the control. A long label grows its button on one line, it never wraps. - - - */
.thin-btn
{
    text-transform: uppercase;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}
.submit-btn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: calc(5rem + 4vw);
    padding: 0.62rem 1rem;
    border: 1px solid transparent;
    background: var(--primary-color);
    color: var(--bg-color);
    font-size: 0.7rem;
    letter-spacing: 1.6px;
    white-space: nowrap;
    text-decoration: none;
}
.submit-btn svg
{
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.outline-btn
{
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.submit-btn:active
{
    transform: scale(0.95);
}



/*   = = = = = =   The Chips   = = = = = =   */

/* - - - A small capital word in the accent : a card's chips and the tags under it (and the hero's roles, gone).
   THE WORDS ALONE, NO OUTLINE AND NO BACKGROUND (2026-10-21, the owner's word : "Remove the outline &
   background from all labels; those at experience and anywhere else too"), where Nox Cella's label chip laid them on
   a tint of the accent and ringed the current one. Each keeps its padding, so the words stand as far apart as the
   chips did, and the glass draws no lens behind them (GlassPanels-Script.js, "The labels"). What is now (a role
   held, a school attended) stays in the accent, the rest in the muted text. - - - */
.nk-chip
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    font-size: 0.58rem;
    line-height: 1.3;
    letter-spacing: 0.14em;
    color: var(--primary-color);
    padding: 5px 9px;
}
.nk-chip.is-quiet
{
    color: var(--text-muted);
}



/*   = = = = = =   The Framed Panel   = = = = = =   */

/* - - - Nox Cella's console card, `.drive-group` : a hairline frame, square, over the faintest tint, laid on a veil
   of the panel colour so the stage behind it runs on dimmed (a gradient : Chrome's forced dark mode turns a flat
   translucent fill opaque). That is the panel without the glass ; with it (`nk-glass`, GlassPanels-Styling.css) the
   veil gives way to crystal. - - - */
.drive-group
{
    position: relative;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)), linear-gradient(rgba(var(--panel-rgb), 0.62), rgba(var(--panel-rgb), 0.62));
    padding: clamp(16px, 1.6vw, 28px);
    border: 1px solid var(--border-color);
    border-radius: 0;
}



/*   = = = = = =   Arriving Blocks   = = = = = =   */

/* - - - With script, each block waits below its place and fades up EVERY time it comes on screen
   (Portfolio-Script.js) : once it has gone a tenth of the screen past either edge it is `is-away`, back in its
   waiting place at once (no transition, nobody sees it), and the next time it arrives it fades up again. Away is
   opacity alone, by the owner's word : a browser draws nothing at opacity 0, glass included, and a panel keeps its
   filter, so nothing is built again when it returns. Without script nothing waits : `nk-js` is never written and
   every block simply is. - - - */
html.nk-js .nk-reveal
{
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
html.nk-js .nk-reveal.is-revealed
{
    opacity: 1;
    transform: none;
}
html.nk-js .nk-reveal.is-away
{
    transition: none;
}

/* - - - NOTHING MOVES ONCE THE LOADER HAS GONE (2026-10-22, the owner's word : "I realised that sometimes, the
   loading screen will finish and some layout items will still be rendering or applying or adjusting to the
   resolution. I would like please once the loading screen is finished, not to show up elements move around or
   alter") : while the loader covers the page (`nk-landing`, on <html> from Portfolio-Script.js's first moment till
   the loader is gone) what arrives or changes under it has no transition, so it stands in its place at once, unseen,
   and the loader's fade shows the page as it will stay : the arrivals (`nk-reveal`, and the parts of a frame holding
   panels, which fade in its place), the tower's first light and the island's lit ring. Measured before, at a phone's
   pace : the hero still sliding up as the loader faded. NAMED, NOT EVERY ELEMENT : held over every element, the
   class's lifting re-styled the whole page in one frame as the loader went, 617 ms at a phone's pace (81 ms with no
   rule) ; a rule ending in a class re-styles only what wears it. A new thing that moves into place in the first
   screen joins the list. - - - */
html.nk-landing .nk-reveal,
html.nk-landing .nk-glass-host > .nk-glass-layer,
html.nk-landing .nk-glass-host > .nk-panel-title,
html.nk-landing .nk-glass-host > .nk-panel-sub,
html.nk-landing .nk-glass-host > .nk-card-grid > .nk-card,
html.nk-landing .nk-scene-stage,
html.nk-landing .island-btn
{
    transition: none !important;
}

/* - - - A PRESS TELEPORTS (2026-10-24, the owner's word : "Make all the buttons rather than automatically scroll you
   to the designated area to teleport you instead. As soon as pressed, the entire interface; all elements placed with
   the exception of the tower or curtain backgrounds will fade out and fade in right away as soon as the user has been
   teleported to the expected location") : a press on a link to a place on the page (Portfolio-Script.js, 14) fades
   the whole page out (`nk-teleport-out`, over `--nk-teleport-out`, Nk-Config.php `teleport`), the tower or the
   curtain left as they are ; unseen, the page is taken to the place at once and what the place shows is put in its
   place with no transition (`nk-teleport-hold`, as the loader's landing does, above) ; and the page fades back in
   (`nk-teleport-in`, over `--nk-teleport-in`). THE HEADER AND THE ISLAND STAY (the same day, the owner's word : "I
   would prefer the island itself alongside the header with my name and the signature logotype not to disappear when
   switching sections") : only the page between them fades, and the tower or the curtain crossfades from where it
   stood to where it stands (the script lays a copy of its last frame over it, Sections-Styling.css, The Stage). WHAT
   FADES IS WHAT ARRIVES : every arriving block (`nk-reveal`, and a frame holding panels by its parts, as its arrival
   does : an opacity on the frame would black out its roles), each fading itself ; never an element holding glass,
   whose glass would see nothing behind it while it faded. EVERY RULE ENDS IN A CLASS, as the landing's do (above) : a
   rule ending in `*` or in a `:not()` makes the class's coming re-style the whole page before the fade can start
   (measured : the page still half there when it was taken away). WHAT FADES STAYS DRAWN WHILE UNSEEN : faded to a
   thousandth, never to 0, and kept on layers of their own (`will-change`). At an opacity of 0 the browser draws
   nothing, so a place shown for the first time was all drawn as the fade in began, and on a phone that fade had mostly
   run before its first frame (measured from the screen's frames) ; drawn unseen, the script starts the fade in once
   the place is on the screen. Only what shows fades (`is-revealed`) : a block still away stays as it is. The hold
   stills the credentials' motion by its parts too (`nk-cred-mark`, and each word, which the script marks
   `nk-cred-word`), never by taking `nk-creds-eased` off and on, whose rules end in a `:not()`. A new kind of arriving
   part joins all three lists. - - - */
html.nk-teleport-out .nk-reveal.is-revealed:not(.nk-glass-host),
html.nk-teleport-out .nk-glass-host.is-revealed > .nk-glass-layer,
html.nk-teleport-out .nk-glass-host.is-revealed > .nk-panel-title,
html.nk-teleport-out .nk-glass-host.is-revealed > .nk-panel-sub,
html.nk-teleport-out .nk-glass-host.is-revealed > .nk-card-grid > .nk-card
{
    opacity: 0.001 !important;
    transition: opacity var(--nk-teleport-out, 280ms) ease-in !important;
    will-change: opacity;
}
html.nk-teleport-out.nk-teleport-hold .nk-reveal:not(.nk-glass-host),
html.nk-teleport-hold .nk-reveal.nk-glass-host,
html.nk-teleport-out.nk-teleport-hold .nk-glass-host > .nk-glass-layer,
html.nk-teleport-out.nk-teleport-hold .nk-glass-host > .nk-panel-title,
html.nk-teleport-out.nk-teleport-hold .nk-glass-host > .nk-panel-sub,
html.nk-teleport-out.nk-teleport-hold .nk-glass-host > .nk-card-grid > .nk-card,
html.nk-teleport-hold .nk-cred-mark,
html.nk-teleport-hold .nk-cred-mark::before,
html.nk-teleport-hold .nk-cred-word
{
    transition: none !important;
}
html.nk-teleport-in .nk-reveal.is-revealed:not(.nk-glass-host),
html.nk-teleport-in .nk-glass-host.is-revealed > .nk-glass-layer,
html.nk-teleport-in .nk-glass-host.is-revealed > .nk-panel-title,
html.nk-teleport-in .nk-glass-host.is-revealed > .nk-panel-sub,
html.nk-teleport-in .nk-glass-host.is-revealed > .nk-card-grid > .nk-card
{
    transition: opacity var(--nk-teleport-in, 420ms) ease-out !important;
    will-change: opacity;
}



/*   = = = = = =   The Loader   = = = = = =   */

/* - - - THE LOADER (2026-10-21, the owner's word : "Make a loading animation contingent on logotype of nikolaos
   kaounas. Have it centered with a breathing effect and deliberate 500ms delay before fading out and showing the
   site behind it") : the brand mark alone in the middle of the ground, over everything (the header, the island, the
   editor), from the first paint, TWICE AS LARGE AS IT FIRST WAS and glowing through the interface's colours (the
   same evening : "I want the logotype loading to be at least 2 times bigger, not to expand while loading but breath
   and glow the colour palette of the interface"). SINCE 2026-10-22 IT WRITES THE SIGNATURE (the owner's word :
   "Make the logotype appear initially with only half the moon and then dynamically like it is hand written in real
   time, to have my signature written. When my signature is written which will require about 1s, it will then start
   glowing, which will use another 500ms of buffer before landing into the page"), AND THE MOON COMES AFTER IT (the
   same day : "Now make the half moon around the signature be invisible at first an fade in as soon as the signature
   has been completed animating") ; till then it breathed from the first paint, for a few hours a heat shimmered
   over it at a breath's top ("Remove the heat wave"), and for an afternoon the moon came first, alone. Four layers
   in the mark's box (nk_loader()), each timed from the first paint by the figures on :root (Nk-Config.php
   `loader`) :
   1. THE SIGNATURE (`.nk-loader-sign`, in the accent) is written over `--nk-loader-write` from the first paint, in
      the order the pen wrote it, by THE INK over it (`.nk-loader-times`, a canvas Portfolio-Script.js draws once
      as the loader arrives : every point of the line a grey as light as the pen came early, the line over twice as
      wide as the signature's, so its softened edges are covered too ; it reaches 2 of the mark's units past the box
      on every side, set by the script with the drawing, so the tail's round end at the box's right edge is covered
      as well, and wears `max-width: none` against the reset's cap, which held it to the box's width while its height
      grew and slid the ink off the line). The canvas MULTIPLIES what lies under it, and a brightness and a
      contrast of 1000 make each of its points white once the pen has passed it and black
      until then (`nk-loader-write`, its steps figured so the pen keeps an even pace) : the accent times white is
      the accent, times black the black ground. A filter is the compositor's to move, as an opacity is, so the pen
      keeps its pace while the page is busy arriving (a line drawn out along its path by its dashes is the page's
      own to draw, and stalled up to 0.8 s at a phone's pace in the harness). The signature waits hidden until the
      ink is drawn (`is-inked`) : without the ink it would stand whole. Nothing between the canvas and the loader
      makes a stacking context (the box is moved by `left`, not a translate), so the canvas multiplies against the
      loader's own black ground : a ground of another colour would show the line's unwritten part, black on it.
   2. THE MOON (`.nk-loader-moon`, the mark's C alone, in the accent) is unseen while the pen writes, and comes
      over `--nk-loader-moon` the moment the signature is written.
   3. THE GLOW : the whole mark three times over them (`.nk-loader-tone`), in the accent, its lighter hover and the
      rose-cream of the words, each with a glow of its own colour reaching `--nk-loader-glow` of its height (two
      drop shadows, a near one and a far one), kindling over `--nk-loader-kindle` from the moment the moon begins
      to come, the accent first and the rose-cream last, each glowing a little wider than the one under it.
   4. A PAGE STILL ARRIVING keeps the glow breathing (`.nk-loader-glow`, down to `--nk-loader-faint` and back every
      `--nk-loader-breath`) ; one that has arrived lands once the moon has come and the glow has kindled, the
      breath held where it stands while the loader fades.
   Opacity and filters alone move, so the compositor runs it all ; the glows are drawn once. The mark is the
   header's, its line the mark's own share of its height (`--nk-logo-h`, as the header's), and CENTRED ON ITS C'S
   CIRCLE, as the icons are, not on its box : the signature's tail runs out of the C to the right, so the circle's
   centre stands 22.5 of the box's 185.04 units left of the box's, and the box stands right of the middle by that
   share of its width (12.16%). Drawn only with script (`nk-js`, written before the first paint) : without it
   nothing would ever take it away. Portfolio-Script.js lets it go once the page has loaded, the moon has come and
   the glow has kindled : it fades (`is-leaving`, over `--nk-loader-fade`), taking no press from that moment, and is gone
   (`is-gone`). - - - */
.nk-loader
{
    --nk-logo-h: clamp(192px, calc(128px + 24vmin), 440px);
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    transition: opacity var(--nk-loader-fade, 700ms) cubic-bezier(0.25, 0.8, 0.25, 1);
}
html.nk-js .nk-loader
{
    display: flex;
}
html.nk-js .nk-loader.is-leaving
{
    opacity: 0;
    pointer-events: none;
}
html.nk-js .nk-loader.is-gone
{
    display: none;
}
.nk-loader-mark
{
    position: relative;
    left: calc(var(--nk-logo-h) * 185.04 / 140.04 * 0.1216);
    display: block;
    height: var(--nk-logo-h);
    aspect-ratio: 185.04 / 140.04;
}

/* - - - THE CURTAIN (2026-10-22, the owner's word : "Navigating outside a sub page, plays the animation twice, when it
   should only play once ... because there's a delay, that pages loading animation will play too") : BACK on a project
   page brings the loader over it as its black ground alone (`is-curtain`, Portfolio-Script.js), the mark hidden, so
   the signature is written once, by the page that comes back. Till then the project page began to write it as the
   loader came, and the home page wrote it again from its first stroke. - - - */
html.nk-js .nk-loader.is-curtain .nk-loader-mark
{
    visibility: hidden;
}
.nk-loader-moon,
.nk-loader-sign,
.nk-loader-times,
.nk-loader-glow,
.nk-loader-tone
{
    position: absolute;
    inset: 0;
}
.nk-loader-moon,
.nk-loader-sign
{
    color: var(--primary-color);
}
.nk-loader-moon
{
    opacity: 0;
    animation: nk-loader-moon var(--nk-loader-moon, 300ms) ease-out var(--nk-loader-write, 1000ms) both;
}
.nk-loader-sign
{
    visibility: hidden;
}
html.nk-js .nk-loader.is-inked .nk-loader-sign
{
    visibility: visible;
}
.nk-loader-times
{
    width: 100%;
    height: 100%;
    max-width: none;
    mix-blend-mode: multiply;
    filter: brightness(0.48) contrast(1000);
    animation: nk-loader-write var(--nk-loader-write, 1000ms) linear both;
}
.nk-loader-glow
{
    animation: nk-loader-breath var(--nk-loader-breath, 2400ms) ease-in-out calc(var(--nk-loader-write, 1000ms) + var(--nk-loader-kindle, 500ms)) infinite;
}
html.nk-js .nk-loader.is-leaving .nk-loader-glow
{
    animation-play-state: paused;
}
.nk-loader-tone
{
    --nk-loader-reach: calc(var(--nk-logo-h) * var(--nk-loader-glow, 0.05));
    color: var(--primary-color);
    opacity: 0;
    filter: drop-shadow(0 0 calc(var(--nk-loader-reach) / 4) currentColor) drop-shadow(0 0 var(--nk-loader-reach) currentColor);
    animation: nk-loader-kindle var(--nk-loader-kindle, 500ms) ease-out var(--nk-loader-write, 1000ms) both;
}
.nk-loader-tone.is-light
{
    --nk-loader-reach: calc(var(--nk-logo-h) * var(--nk-loader-glow, 0.05) * 1.3);
    color: var(--primary-hover);
    animation-name: nk-loader-kindle-light;
}
.nk-loader-tone.is-cream
{
    --nk-loader-reach: calc(var(--nk-logo-h) * var(--nk-loader-glow, 0.05) * 1.6);
    color: var(--text-main);
    animation-name: nk-loader-kindle-cream;
}
@keyframes nk-loader-moon
{
    to { opacity: 1; }
}
@keyframes nk-loader-write
{
    0%    { filter: brightness(0.48) contrast(1000); }
    10%   { filter: brightness(0.5553) contrast(1000); }
    20%   { filter: brightness(0.6244) contrast(1000); }
    30%   { filter: brightness(0.7131) contrast(1000); }
    40%   { filter: brightness(0.8312) contrast(1000); }
    50%   { filter: brightness(0.9961) contrast(1000); }
    60%   { filter: brightness(1.2427) contrast(1000); }
    70%   { filter: brightness(1.6516) contrast(1000); }
    75%   { filter: brightness(1.9767) contrast(1000); }
    80%   { filter: brightness(2.4614) contrast(1000); }
    85%   { filter: brightness(3.2609) contrast(1000); }
    90%   { filter: brightness(4.8295) contrast(1000); }
    93%   { filter: brightness(6.7891) contrast(1000); }
    96%   { filter: brightness(11.4247) contrast(1000); }
    98%   { filter: brightness(20.9704) contrast(1000); }
    99%   { filter: brightness(36.0169) contrast(1000); }
    100%  { filter: brightness(140) contrast(1000); }
}
@keyframes nk-loader-kindle
{
    60%,
    to   { opacity: 1; }
}
@keyframes nk-loader-kindle-light
{
    0%,
    30%  { opacity: 0; }
    80%,
    100% { opacity: 1; }
}
@keyframes nk-loader-kindle-cream
{
    0%,
    55%  { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes nk-loader-breath
{
    0%,
    100% { opacity: 1; }
    50%  { opacity: var(--nk-loader-faint, 0.55); }
}



/*   = = = = = =   Hover, Where There Is a Pointer   = = = = = =   */

@media (hover: hover)
{
    .logo:hover { color: var(--primary-hover); }
    .submit-btn:not(.outline-btn):hover { background: var(--primary-hover); }
    .outline-btn:hover { background: rgba(var(--accent-rgb), 0.1); }
}



/*   = = = = = =   Reduced Motion   = = = = = =   */

@media (prefers-reduced-motion: reduce)
{
    html { scroll-behavior: auto; }
    .thin-btn, .logo { transition: none; }
    html.nk-js .nk-reveal { opacity: 1; transform: none; transition: none; }
    .nk-loader-moon,
    .nk-loader-glow,
    .nk-loader-tone { animation: none; opacity: 1; }
    .nk-loader-tone.is-light,
    .nk-loader-tone.is-cream { opacity: 0; }
    .nk-loader-times { display: none; }
}



/* - - - A PRESS GLOWS FIRST (2026-11-03, the owner's word : "Make each button press on thr webpage itself (not the
   island) glow a bit with an immediate actions to give feedback with a short delay before proceeding to render the
   output of that button") : a button of the page lights in the accent the moment it is pressed, its outline drawn in
   the accent and a light round it and inside its edge (stronger since 2026-11-04, the owner : "Increase the intensity
   of the outline highlight"), full at 80 ms, held to 260 and gone by 650, while what it does waits 200 ms
   (Portfolio-Script.js, 16).
   The island and the windows keep their own ways. None under reduced motion. - - - */
.nk-press-glow
{
    animation: nk-press-glow 650ms ease-out;
}
@keyframes nk-press-glow
{
    0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0), 0 0 0 0 rgba(var(--accent-rgb), 0), inset 0 0 0 0 rgba(var(--accent-rgb), 0); }
    12%  { box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 1), 0 0 1.3em 0.2em rgba(var(--accent-rgb), 0.9), inset 0 0 1em rgba(var(--accent-rgb), 0.6); }
    40%  { box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.85), 0 0 1.1em 0.15em rgba(var(--accent-rgb), 0.7), inset 0 0 0.9em rgba(var(--accent-rgb), 0.45); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0), 0 0 0 0 rgba(var(--accent-rgb), 0), inset 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
@media (prefers-reduced-motion: reduce)
{
    .nk-press-glow { animation: none; }
}



/* - - - Author : Nikolaos S. Kaounas - - - */
