/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 11, 2026
    Project:    Concept Site - Black Oak Tattoo (fictional business)
    Filename:   styles.css

    Layout plan: mobile-first, dark studio. Blackletter Pirata One for
    headings. Artist photos are greyscale with filter: grayscale(1) and
    turn color on hover or focus (transition on filter). The flash sheet
    is a row of aged paper cards, each with two strips of "tape" made from
    rotated ::before and ::after pseudo-elements, and every other card
    tilted with :nth-child. The booking form includes a range slider and a
    file input. Media queries at 576px, 768px, 992px and 1200px.

    Colors (WebAIM checked, AA):
      #0A0A0A black   #171717 ink   #E5E5E5 light text   #F87171 red on
      dark (accent text)   #B91C1C blood red (behind white text)
      #EADFC8 aged paper   #A3A3A3 muted on dark
*/

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

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

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

/* Ink page with light text. */
body {
    background-color: #171717;
    color: #E5E5E5;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

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

/* Blackletter headings. */
h1,
h2,
h3 {
    font-family: "Pirata One", serif;
    font-weight: 400;
    line-height: 1;
}

/* Section titles. */
h2 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    color: #FFFFFF;
}

/* Red links. */
a {
    color: #F87171;
    font-weight: 600;
}

/* Red focus ring. */
a:focus-visible,
button:focus-visible,
.menu-check:focus-visible + .menu-icon {
    outline: 3px solid #F87171;
    outline-offset: 3px;
}

/* Muted intro text. */
.lead {
    color: #A3A3A3;
    max-width: 38rem;
    margin: 8px 0px 26px 0px;
}

/* Small print. */
.small {
    font-size: 0.85rem;
    color: #A3A3A3;
    margin-top: 12px;
}

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

/* Black header. */
.site-header {
    background-color: #0A0A0A;
    border-bottom: 1px solid #262626;
}

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

/* Blackletter logo. */
.logo {
    font-family: "Pirata One", serif;
    font-size: 2rem;
    color: #FFFFFF;
    line-height: 1;
}

/* Small red word. */
.logo small {
    font-family: Inter, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #F87171;
}

/* Hidden menu checkbox (opacity keeps it keyboard reachable). */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Menu button. */
.menu-icon {
    border: 1px solid #525252;
    padding: 5px 14px;
    cursor: pointer;
}

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

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

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

/* Phone nav links. */
.site-nav a {
    display: block;
    color: #E5E5E5;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    padding: 9px 0px;
    border-top: 1px solid #262626;
}

/* Red on hover. */
.site-nav a:hover {
    color: #F87171;
}

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

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

/* Dark photo hero, centered text. */
.hero {
    background-image: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9)), url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 90px 20px 80px 20px;
}

/* Small line above the title. */
.since {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: #F87171;
}

/* Giant blackletter title. */
.hero h1 {
    font-size: clamp(4.5rem, 18vw, 10rem);
    color: #FFFFFF;
    margin: 6px 0px 12px 0px;
}

/* Hero paragraph. */
.hero-sub {
    max-width: 30rem;
    margin: 0px auto 26px auto;
}

/* Red button. */
.button,
button {
    display: inline-block;
    background-color: #B91C1C;
    color: #FFFFFF;
    border: none;
    padding: 13px 28px;
    font-family: Inter, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    cursor: pointer;
}

/* Darker red on hover. */
.button:hover,
button:hover {
    background-color: #7F1D1D;
}

/* ----- Artists (class) ----- */

/* Section spacing. */
.artists {
    padding: 64px 20px;
}

/* Artist cards wrap. */
.artist-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 22px;
}

/* One artist. */
.artist {
    flex: 1 1 260px;
}

/* Greyscale photo that turns to color on hover or focus. */
.artist img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    transition: filter 0.5s;
}

/* Color comes back on hover. */
.artist:hover img {
    filter: grayscale(0);
}

/* Artist name. */
.artist h3 {
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-top: 12px;
}

/* Styles line. */
.styles {
    color: #F87171;
    font-weight: 600;
}

/* Wait time. */
.wait {
    color: #A3A3A3;
    font-size: 0.9rem;
}

/* ----- Flash sheet (ID and class) ----- */

/* Black band. */
#flash {
    background-color: #0A0A0A;
    padding: 64px 20px;
}

/* The sheet: cards wrap. */
.sheet {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 28px 20px;
    padding-top: 10px;
}

/* One flash card on aged paper; parent for the tape strips. */
.sheet li {
    position: relative;
    flex: 1 1 140px;
    background-color: #EADFC8;
    background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5), rgba(234, 223, 200, 0) 60%);
    color: #171717;
    text-align: center;
    padding: 20px 10px 14px 10px;
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.5);
    transform: rotate(-2deg);
}

/* Every other card tilts the other way. */
.sheet li:nth-child(even) {
    transform: rotate(2deg);
}

/* Tape on the top-left corner. */
.sheet li::before {
    content: "";
    position: absolute;
    left: -10px;
    top: -8px;
    width: 54px;
    height: 18px;
    background-color: rgba(240, 230, 200, 0.75);
    transform: rotate(-35deg);
}

/* Tape on the top-right corner. */
.sheet li::after {
    content: "";
    position: absolute;
    right: -10px;
    top: -8px;
    width: 54px;
    height: 18px;
    background-color: rgba(240, 230, 200, 0.75);
    transform: rotate(35deg);
}

/* The design, a bold symbol in red. */
.art {
    display: block;
    font-size: 3.6rem;
    line-height: 1.1;
    color: #991B1B;
}

/* Design name. */
.sheet h3 {
    font-size: 1.6rem;
}

/* Size and price. */
.sheet p {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ----- Aftercare (class) ----- */

/* Section spacing. */
.aftercare {
    padding: 64px 20px;
}

/* Healing stages with a red line down the left. */
.heal {
    list-style: none;
    border-left: 3px solid #B91C1C;
    margin: 26px 0px 26px 8px;
}

/* One stage. */
.heal li {
    position: relative;
    padding: 0px 0px 24px 24px;
}

/* A red dot on the line for each stage. */
.heal li::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 6px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #171717;
    border: 3px solid #F87171;
}

/* The day range. */
.day {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    color: #F87171;
    font-weight: 600;
}

/* Stage title. */
.heal h3 {
    font-size: 1.8rem;
    color: #FFFFFF;
}

/* ID policy line. */
.policy {
    display: inline-block;
    border: 1px solid #F87171;
    padding: 8px 14px;
    font-weight: 600;
}

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

/* Black band. */
.book {
    background-color: #0A0A0A;
    padding: 64px 20px;
}

/* The form. */
.book-form {
    max-width: 620px;
    margin-top: 18px;
}

/* Labels. */
.book-form label {
    display: block;
    font-weight: 600;
    margin-top: 14px;
}

/* Text fields, selects and the file field on dark. */
.book-form input[type="email"],
.book-form input[type="file"],
.book-form select,
.book-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    background-color: #171717;
    color: #E5E5E5;
    border: 1px solid #525252;
    font-family: Inter, sans-serif;
    font-size: 1rem;
}

/* The size slider, tinted red. */
.book-form input[type="range"] {
    width: 100%;
    margin-top: 8px;
    accent-color: #F87171;
}

/* Scale labels under the slider. */
.range-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #A3A3A3;
}

/* Age checkbox line. */
.check input {
    width: 18px;
    height: 18px;
    accent-color: #F87171;
    margin-right: 6px;
}

/* Space above the button. */
.book-form button {
    margin-top: 20px;
}

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

/* Footer. */
.site-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #A3A3A3;
    padding: 24px 20px;
}

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

@media (min-width: 576px) {

    /* Three flash cards per row. */
    .sheet li {
        flex: 1 1 28%;
    }
}

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

@media (min-width: 768px) {

    /* More side padding. */
    .artists,
    #flash,
    .aftercare,
    .book {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Healing stages become a row along a top line. */
    .heal {
        display: flex;
        border-left: none;
        border-top: 3px solid #B91C1C;
        margin-left: 0px;
    }

    /* Each stage takes a quarter. */
    .heal li {
        flex: 1 1 25%;
        padding: 26px 16px 0px 0px;
    }

    /* Dots sit on the top line. */
    .heal li::before {
        left: 0px;
        top: -10px;
    }
}

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

@media (min-width: 992px) {

    /* No Menu button on desktop. */
    .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;
    }

    /* No dividers on desktop. */
    .site-nav a {
        border-top: none;
    }

    /* Taller hero. */
    .hero {
        padding-top: 140px;
        padding-bottom: 130px;
    }

    /* Six flash cards in one row. */
    .sheet li {
        flex: 1 1 14%;
    }

    /* Booking heading on the left, form on the right. */
    .book {
        display: flex;
        gap: 60px;
    }

    /* Heading column. */
    .book h2 {
        flex: 0 0 280px;
    }

    /* Form column. */
    .book-form {
        flex: 1 1 auto;
        margin-top: 0px;
    }

    /* Taller artist photos. */
    .artist img {
        height: 380px;
    }
}

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

@media (min-width: 1200px) {

    /* Center content at 1140px. */
    .header-inner,
    .artists,
    #flash,
    .aftercare,
    .book {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }
}
