/* =========================================================
   THE BLUE AMETHYSt VIAL BY LIN
   Main Website Stylesheet
========================================================= */

/* =========================================================
   1. BRAND VARIABLES
========================================================= */

:root {    /* Brand palette */
    --deep-amethyst: #2B1B3D;
    --icy-blue-mist: #C5DFF8;
    --vial-glass: #E8F0F2;
    --gemstone-gleam: #B8A9C9;
    --pure-white: #FFFFFF;

    /* Functional colors */
    --text-primary: #2B1B3D;
    --text-secondary: #62596A;
    --border-light: rgba(43, 27, 61, 0.15);

    /* Typography */
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Nunito Sans", Arial, sans-serif;

    /* Layout */
    --page-padding: 6vw;
    --content-width: 1400px;

    /* Transitions */
    --transition: 220ms ease;
}

/* =========================================================
   2. RESET
========================================================= */
*,
*::before,
*::after {    box-sizing: border-box;
}

html {    scroll-behavior: smooth;
}

body {    margin: 0;
    background: var(--icy-blue-mist);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {    max-width: 100%;
}

a {    color: inherit;
    text-decoration: none;
}

button, a {    -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   SHARED PAGE EYEBROW
========================================================= */
.eyebrow {    margin: 0 0 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* =========================================================
   3. HEADER
========================================================= */
.site-header {    position: relative;
    width: 100%;
    background: var(--icy-blue-mist);
}

.header-inner {    max-width: var(--content-width);
    margin: 0 auto;
    padding: 28px var(--page-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.brand {    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.brand-name {    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--deep-amethyst);
}

.brand-byline {    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 12px;
    font-style: italic;
    letter-spacing: 0.08em;
    color: var(--deep-amethyst);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    padding: 5px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--deep-amethyst);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--deep-amethyst);
    transition: width var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* =========================================================
   11. FOOTER
========================================================= */
.site-footer {
    background: var(--deep-amethyst);
    color: var(--vial-glass);
    border-top: 1px solid rgba(184, 169, 201, 0.25);
}

.footer-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 30px var(--page-padding);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

/* Footer brand */
.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.footer-byline {
    font-family: var(--font-display);
    font-size: 12px;
    font-style: italic;
    color: var(--gemstone-gleam);
}

/* Footer links */
.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    font-size: 11px;
    color: var(--vial-glass);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gemstone-gleam);
}

/* Copyright */
.copyright {
    margin: 0;
    text-align: right;
    font-size: 10px;
    color: rgba(232, 240, 242, 0.65);
}

/* =========================================================
   12. TABLET
========================================================= */
@media (max-width: 900px) {
    :root {       
         --page-padding: 6vw;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .copyright {
        text-align: left;
    }
}

/* =========================================================
   13. MOBILE
========================================================= */

@media (max-width: 600px) {
    :root {        
        --page-padding: 7vw;
    }
    /* Header */
    .header-inner {
        padding-top: 22px;
        padding-bottom: 22px;
    }
    .main-nav {
        gap: 16px;
    }
    .nav-link {
        font-size: 11px;
    }
    .brand-name {
        font-size: 16px;
    }
    .brand-byline {
        font-size: 10px;
    }

    /* Footer */
    .footer-inner {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .footer-links {        
        gap: 18px;
    }
}
