/*Brand Palette — "Meridian"*/
/* Corporate navy with an azure accent: the deep base carries enterprise-IT
   credibility, the azure reads as cloud/data. The accent is deliberately
   rationed to four places (logo bit, the "IT" in the wordmark, the small gear,
   the rule under the headline) so it stays an accent. */
:root{
    --bg-deep: #0A1120;
    --bg-mid: #132441;
    --bg-edge: #1B3A5F;
    --accent: #38BDF8;
    --ink: #0F1F36;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.65);
}

/*General Style Reset*/
html,body{
    font-size: 10px;
    font-family: 'Raleway', sans-serif;
}

body{
    margin: 0;
}

/*Helper Class Style*/

.font-w-100{
    font-weight: 100;
}

.font-size-xl{
    font-size: 8rem;
}

.color-white{
    color: white;
}

.color-primary{
    color: var(--ink);
}

.padding-v-1x{
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.padding-h-2x{
    padding-left: 2rem;
    padding-right: 2rem;
}

.bg-color-white{
    background-color: white;
}

.text-right{
    text-align: right;
}

/*Construction Section Style*/

/* The background is a self-hosted gradient so the page can never depend on a
   third-party host. All foreground text is white, so the dark background-color
   is what keeps it legible — keep it set even if you layer an image on top.
   To use a photo instead: drop the file in img/ and add it as the first
   background-image layer, e.g.
       background-image: url("../img/background.jpg"), linear-gradient(...); */
.const-msg-container{
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(1100px 620px at 88% 12%, rgba(56, 189, 248, 0.13), transparent 60%),
        linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 55%, var(--bg-edge) 100%);
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    /* Positioning context for the absolutely-placed .logo. */
    position: relative;
}

/*Logo*/

/* Anchored to the container rather than the message block, so it stays top-left
   while the message stays bottom-right. Stroke weight matches the gear icons so
   the two marks read as one family. */
.logo{
    position: absolute;
    top: 3rem;
    left: 3rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-mark{
    width: 4.4rem;
    height: 4.4rem;
    flex-shrink: 0;
}

.logo-ring,
.logo-a{
    fill: none;
    stroke: white;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* The crossbar of the "A" as a single solid bit. */
.logo-bit{
    fill: var(--accent);
}

.logo-type{
    display: flex;
    flex-direction: column;
    line-height: 1;
}

/* The wordmark stays all-caps to match the page, so the "IT" in AlbIT is
   picked out by brightness instead of case — dimming the "Alb" rather than
   bolding the "IT", since Raleway is only loaded at weight 100. */
.logo-name{
    font-size: 2.2rem;
    font-weight: 100;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.logo-name .logo-it{
    color: var(--accent);
}

.logo-sub{
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 0.6rem;
}

/*Construction Message*/

.const-msg{
    padding: 3rem;
    text-align: right;
}

.const-msg .const-text{
    display: block;
    margin-top: 1rem;
}

.under-text{
    display: inline-block;
}

/* "CONSTRUCTION" is a single unbreakable 12-character word, so a fixed
   font-size overflows narrow screens. Scale with the viewport and cap at the
   8rem design size. The factor is calibrated against the *fallback* sans-serif
   (~9.2em wide), not Raleway (~7.8em) — with font-display:swap the fallback is
   what paints first, so it has to fit too. Beats .font-size-xl on specificity,
   which is the intent. */
.const-msg .text span{
    font-size: clamp(2rem, 8vw, 8rem);
}

.text-uppercase{
    text-transform: uppercase;
}


/* Sits below the rule under the wordmark, where the socials block used to be.
   Inherits text-align from .const-msg, so it follows the layout to centre on
   narrow screens. Dimmed rather than pure white to stay secondary. */
.const-msg .copyright{
    margin: 1.5rem 0 0;
    font-size: 1.4rem;
    font-weight: 100;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

/*SVG GEAR*/
/*Credits:Philip Meissner (https://codepen.io/pmeissner/pen/GoaXjP) */

.const-msg .gears{
    padding: 2rem 3.5rem;
}
/* .text is the page's <h1> — strip the UA default margin and weight so the
   helper classes on its children stay in control of the type. */
.const-msg .text{
    border-bottom: 1px solid rgba(56, 189, 248, 0.45);
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    /* Last-resort guard: break rather than push the page into horizontal
       scroll if a fallback font is wider still. */
    overflow-wrap: break-word;
}

.svg-icon {
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.svg-icon-large {
    width: 10em;
    height: 10em;
    animation-duration: 6000ms;
    animation-name: spinLeft;
}

.svg-icon-small {
    width: 6em;
    height: 6em;
    position: absolute;
    margin-left: -15px;
    margin-top: -25px;
    animation-duration: 4000ms;
    animation-name: spinRight;
}

.svg-icon path, .svg-icon polygon, .svg-icon rect {
    fill: white;
}

/* The small gear carries the accent; the large one stays white so the pair
   still reads as one object rather than two competing marks. */
.svg-icon-small path {
    fill: var(--accent);
    stroke: var(--accent);
    stroke-width: .3;
}

@keyframes spinLeft {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinRight {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/*Media Queries*/

@media (max-width: 700px) {
    .const-msg-container{
        justify-content: center;
    }
    .const-msg{
        text-align: center;
    }
}

@media (max-width: 500px) {
    .const-msg{
        padding: 2rem;
    }
    .const-msg .gears{
        padding: 2rem;
    }
    .logo{
        top: 2rem;
        left: 2rem;
        gap: 1rem;
    }
    .logo-mark{
        width: 3.6rem;
        height: 3.6rem;
    }
    .logo-name{
        font-size: 1.8rem;
        letter-spacing: 0.22em;
    }
    .logo-sub{
        font-size: 0.9rem;
        letter-spacing: 0.32em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svg-icon {
        animation: none;
    }
}

