/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 12, 2026
    Project:    Concept Site - Mane Street Salon (fictional business)
    Filename:   styles.css

    Layout plan: mobile-first, dark and editorial like a fashion magazine.
    A huge "HAIR" word sits behind the hero and blends with the page using
    mix-blend-mode. The lookbook is a flex strip that scrolls sideways
    inside its own box (overflow-x), with staggered photo heights. Hair
    color levels are one linear-gradient bar split into ten numbered
    stops. The stylist picker is radio buttons styled as cards with
    input:checked + label. Media queries at 576px, 768px, 992px and
    1200px, in ascending order.

    Colors (WebAIM checked, AA):
      #0F0F0F near-black page   #FAF7FB off-white text
      #C084FC lilac (on dark only, 8.6:1)   #7E22CE purple (on light, 6.9:1)
      #A3A3A3 muted on dark   #525252 muted on light
*/

/* ----- Browser reset (universal) ----- */

/* border-box sizing and zero default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Dark page, light text. */
body {
    background-color: #0F0F0F;
    color: #FAF7FB;
    font-family: Manrope, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

/* Responsive images. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Wide geometric headings. */
h1,
h2,
h3 {
    font-family: Syne, sans-serif;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

/* Section titles are large. */
h2 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    margin-bottom: 12px;
}

/* Lilac links on dark. */
a {
    color: #C084FC;
}

/* Lilac focus ring. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.strip:focus-visible,
.menu-check:focus-visible + .menu-icon {
    outline: 3px solid #C084FC;
    outline-offset: 3px;
}

/* Muted lead text. */
.lead {
    max-width: 42rem;
    margin-bottom: 26px;
}

/* Small notes on dark. */
.small {
    font-size: 0.85rem;
    color: #A3A3A3;
    margin-top: 18px;
}

/* ----- Header (class) ----- */

/* Sticky black header. */
.site-header {
    position: sticky;
    top: 0px;
    z-index: 20;
    background-color: #0F0F0F;
    border-bottom: 1px solid #262626;
}

/* Logo and menu button in a row. */
.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

/* Logo in the heading font. */
.logo {
    font-family: Syne, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
}

/* Lilac slash in the logo. */
.logo span {
    color: #C084FC;
    padding: 0px 2px;
}

/* Checkbox for the phone menu, hidden but keyboard reachable. */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Menu button is plain text with an underline. */
.menu-icon {
    color: #FAF7FB;
    border-bottom: 2px solid #C084FC;
    padding: 2px 0px;
    cursor: pointer;
}

/* Nav hidden on phones until opened. */
.site-nav {
    display: none;
    width: 100%;
}

/* Checked menu shows the nav. */
.menu-check:checked ~ .site-nav {
    display: block;
}

/* No bullets. */
.site-nav ul {
    list-style: none;
    padding-top: 10px;
}

/* Big stacked phone links. */
.site-nav a {
    display: block;
    color: #FAF7FB;
    text-decoration: none;
    font-family: Syne, sans-serif;
    font-size: 1.4rem;
    padding: 6px 0px;
}

/* Lilac on hover. */
.site-nav a:hover {
    color: #C084FC;
}

/* Concept notice. */
.concept-note {
    background-color: #1F1F1F;
    color: #D4D4D4;
    font-size: 0.8rem;
    text-align: center;
    padding: 3px 16px;
}

/* ----- Hero (class) ----- */

/* Hero is a positioning parent for the big word. */
.hero {
    position: relative;
    overflow: hidden;
    padding: 30px 20px 60px 20px;
}

/* Giant word behind the photo; screen blending lightens it against the black page. */
.hero-word {
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Syne, sans-serif;
    font-weight: 800;
    font-size: 23vw;
    line-height: 1;
    color: #C084FC;
    opacity: 0.9;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* Photo and text stack on phones. */
.hero-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 70px;
}

/* Photo has a thin lilac frame offset behind it. */
.hero-row img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    box-shadow: 14px 14px 0px #7E22CE;
}

/* Hero headline. */
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    margin-bottom: 14px;
}

/* Hero paragraph. */
.hero-text p {
    max-width: 30rem;
    color: #D4D4D4;
    margin-bottom: 22px;
}

/* Square lilac button with dark text. */
.button,
button {
    display: inline-block;
    background-color: #C084FC;
    color: #0F0F0F;
    border: 2px solid #C084FC;
    padding: 12px 26px;
    font-family: Syne, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
}

/* Inverts on hover. */
.button:hover,
button:hover {
    background-color: transparent;
    color: #C084FC;
}

/* ----- Lookbook (ID and class) ----- */

/* Section spacing. */
#looks {
    padding: 50px 0px 60px 0px;
}

/* Title row with padding (the strip itself runs edge to edge). */
.looks-head {
    padding: 0px 20px;
    margin-bottom: 20px;
}

/* The strip scrolls sideways inside its own box. */
.strip {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    overflow-x: auto;
    padding: 0px 20px 18px 20px;
}

/* Each look has a fixed width so they line up in a row. */
.look {
    flex: 0 0 230px;
}

/* Normal looks are shorter. */
.look img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* Tall looks stand higher for a staggered row. */
.look.tall img {
    height: 340px;
}

/* Caption with a lilac number. */
.look figcaption {
    font-family: Syne, sans-serif;
    font-weight: 600;
    padding-top: 8px;
}

/* Number before each caption. */
.look figcaption span {
    color: #C084FC;
    margin-right: 6px;
}

/* Last card invites a consult. */
.look-card {
    background-color: #C084FC;
    color: #0F0F0F;
    padding: 24px 20px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Card question. */
.look-card p {
    font-family: Syne, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.1;
}

/* Card link is dark on lilac. */
.look-card a {
    color: #0F0F0F;
    font-weight: 600;
}

/* ----- Color levels (class) ----- */

/* Light section to break up the dark page. */
.color {
    background-color: #FAF7FB;
    color: #1F1F1F;
    padding: 56px 20px;
}

/* Purple links on the light section. */
.color a {
    color: #7E22CE;
}

/* The gradient bar, darkest to lightest. */
.levels {
    display: flex;
    height: 74px;
    border-radius: 6px;
    overflow: hidden;
    background-image: linear-gradient(90deg, #1A1110 0%, #3B2417 18%, #5C3A21 33%, #8A5A33 48%, #B07D4F 62%, #D2A56E 76%, #E8C892 88%, #F6E7C1 100%);
}

/* Each number takes a tenth of the bar. */
.levels span {
    flex: 1 1 10%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6px;
    font-family: Syne, sans-serif;
    font-weight: 800;
    color: #FFFFFF;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

/* Numbers on the light end turn dark so they stay readable. */
.levels span:nth-child(n+7) {
    color: #1F1F1F;
}

/* Notes under the bar. */
.level-notes {
    list-style: none;
    margin-top: 22px;
}

/* Each note with a purple left edge. */
.level-notes li {
    border-left: 4px solid #7E22CE;
    padding: 4px 0px 4px 14px;
    margin-bottom: 12px;
}

/* ----- Menu (class) ----- */

/* Section spacing. */
.menu {
    padding: 56px 20px;
}

/* Two menus stack on phones. */
.menu-cols {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 18px;
}

/* Group heading in lilac. */
.menu-group h3 {
    color: #C084FC;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* No bullets. */
.price-list {
    list-style: none;
}

/* Name and price on one line with dotted leaders between. */
.price-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 0px;
}

/* The dotted leader grows to fill the gap. */
.price-list li::after {
    content: "";
    order: 1;
    flex: 1 1 auto;
    border-bottom: 2px dotted #525252;
}

/* Price goes after the leader. */
.price-list li span:last-child {
    order: 2;
    font-weight: 600;
}

/* ----- Booking (class) ----- */

/* Section spacing with a thin top rule. */
.book {
    border-top: 1px solid #262626;
    padding: 56px 20px 70px 20px;
}

/* Stylist cards wrap. */
.stylists {
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0px 24px 0px;
}

/* Legend above the cards. */
.stylists legend {
    font-family: Syne, sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

/* Radios hidden but still focusable. */
.stylists input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Each stylist is a bordered card. */
.stylists label {
    flex: 1 1 140px;
    border: 1px solid #404040;
    padding: 14px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #D4D4D4;
}

/* Card title on its own line. */
.stylists label strong {
    display: block;
    color: #FAF7FB;
    font-family: Syne, sans-serif;
    font-size: 1.05rem;
}

/* Picked card turns lilac. */
.stylists input:checked + label {
    border-color: #C084FC;
    box-shadow: inset 0px 0px 0px 2px #C084FC;
}

/* Keyboard focus outlines the card. */
.stylists input:focus-visible + label {
    outline: 3px solid #C084FC;
    outline-offset: 3px;
}

/* Fields stack on phones. */
.fields {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-bottom: 22px;
}

/* Each field pair. */
.fields div {
    flex: 1 1 100%;
}

/* Labels above fields. */
.fields label {
    display: block;
    font-size: 0.9rem;
    color: #D4D4D4;
    margin-bottom: 4px;
}

/* Underlined fields on dark. */
.fields input,
.fields select {
    width: 100%;
    font: inherit;
    color: #FAF7FB;
    background-color: #1F1F1F;
    border: none;
    border-bottom: 2px solid #737373;
    padding: 9px 10px;
}

/* The date picker icon shows on dark. */
.fields input[type="date"] {
    color-scheme: dark;
}

/* ----- Footer (class) ----- */

/* Small footer. */
.site-footer {
    border-top: 1px solid #262626;
    color: #A3A3A3;
    font-size: 0.85rem;
    text-align: center;
    padding: 24px 16px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Bigger looks. */
    .look {
        flex: 0 0 270px;
    }

    /* Fields two per row. */
    .fields div {
        flex: 1 1 40%;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* More side padding. */
    .hero,
    .looks-head,
    .color,
    .menu,
    .book {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Strip lines up with the titles. */
    .strip {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Two menus side by side. */
    .menu-cols {
        flex-direction: row;
        gap: 60px;
    }

    /* Each menu half. */
    .menu-group {
        flex: 1 1 50%;
    }

    /* Level notes in a row. */
    .level-notes {
        display: flex;
        gap: 24px;
    }

    /* Each note a third. */
    .level-notes li {
        flex: 1 1 33%;
    }
}

/* ----- Laptops (992px and up) ----- */

@media (min-width: 992px) {

    /* No Menu button. */
    .menu-icon {
        display: none;
    }

    /* Nav in the header row. */
    .site-nav {
        display: block;
        width: auto;
    }

    /* Links in a row. */
    .site-nav ul {
        display: flex;
        gap: 26px;
        padding-top: 0px;
    }

    /* Smaller desktop links. */
    .site-nav a {
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    /* Giant word sized to the desktop. */
    .hero-word {
        font-size: 22rem;
        top: -40px;
    }

    /* Photo and text side by side. */
    .hero-row {
        flex-direction: row;
        align-items: flex-end;
        gap: 50px;
        margin-top: 150px;
    }

    /* Photo half. */
    .hero-row img {
        width: 55%;
        height: 480px;
    }

    /* Text half. */
    .hero-text {
        flex: 1 1 45%;
        padding-bottom: 20px;
    }

    /* Larger looks. */
    .look {
        flex: 0 0 300px;
    }

    /* Taller tall looks. */
    .look.tall img {
        height: 400px;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Center content at 1140px. */
    .header-inner,
    .hero,
    .looks-head,
    .color,
    .menu,
    .book {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }

    /* Strip starts at the content edge and runs off the right side. */
    .strip {
        padding-left: calc((100% - 1140px) / 2);
    }
}
