/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 12, 2026
    Project:    Concept Site - Ink Ozarks Screen Printing (fictional business)
    Filename:   styles.css

    Theme: the print shop floor. The header is a screen: a wooden
    frame (a thick tan border) stretched with fine mesh (two crossing
    repeating-linear-gradients). The hero headline is printed in three
    inks slightly off register, using offset text-shadows in orange and
    sky blue behind navy letters. Price breaks are stacks of folded
    shirts that grow taller as the price per shirt drops. The
    signature shows color separation: three screens, each one ink,
    added together into the finished print. The footer is a shop rag
    with ink smudges.

    Mobile-first; media queries at 576px, 768px, 992px and 1200px.

    Colors (WebAIM contrast checked, AA):
      #0F172A text on #F8FAFC page (17.1:1)
      #A24B0E orange text (5.9:1 on the page)
      #FFFFFF on #0F172A navy (17.9:1)
      #020617 on #F97316 orange (7.3:1)
*/

/* ----- Browser reset (universal) ----- */

/* Border-box sizing and no default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Off-white like a blank tee. */
body {
    background-color: #F8FAFC;
    color: #0F172A;
    font-family: "Work Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Photos never spill out. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Thick poster headings. */
h1,
h2 {
    font-family: "Black Han Sans", Impact, sans-serif;
    font-weight: 400;
    line-height: 1.05;
}

/* Section titles. */
h2 {
    font-size: clamp(1.8rem, 4.8vw, 2.8rem);
    margin-bottom: 10px;
}

/* Links in orange-brown. */
a {
    color: #A24B0E;
}

/* Orange outline for keyboard users. */
a:focus-visible,
button:focus-visible,
.menu-check:focus-visible + .frame-row .menu-icon {
    outline: 3px solid #A24B0E;
    outline-offset: 3px;
}

/* ----- Screen frame header (class) ----- */

/* Wood frame around fine mesh. */
.frame {
    position: relative;
    background-color: #E5E8EB;
    background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(15, 23, 42, 0.09) 2px, rgba(15, 23, 42, 0.09) 3px), repeating-linear-gradient(90deg, transparent 0px, transparent 2px, rgba(15, 23, 42, 0.09) 2px, rgba(15, 23, 42, 0.09) 3px);
    border: 12px solid #B8875A;
    border-top-color: #C99A6B;
    border-bottom-color: #9C6E44;
    padding: 12px 16px;
}

/* Hidden checkbox that keeps focus. */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Logo and menu in a row. */
.frame-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo: two words, the second in orange ink. */
.logo {
    font-family: "Black Han Sans", Impact, sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    color: #0F172A;
}

/* Orange word, printed a hair off. */
.logo span {
    color: #A24B0E;
    margin-left: 4px;
    text-shadow: 2px 2px 0px #F97316;
}

/* Menu button. */
.menu-icon {
    background-color: #0F172A;
    color: #FFFFFF;
    font-weight: 700;
    padding: 4px 12px;
    cursor: pointer;
}

/* Nav hidden on phones until opened. */
.mesh-nav {
    display: none;
}

/* Open menu shows the nav. */
.menu-check:checked ~ .mesh-nav {
    display: block;
}

/* Nav list. */
.mesh-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
}

/* Nav links. */
.mesh-nav a {
    color: #0F172A;
    font-weight: 700;
    text-decoration: none;
}

/* Hover: orange ink underline. */
.mesh-nav a:hover {
    box-shadow: inset 0px -6px 0px #F97316;
}

/* ----- Concept note (class) ----- */

/* Small note. */
.concept {
    font-size: 0.8rem;
    padding: 6px 16px;
}

/* ----- Press hero (class) ----- */

/* Words then photo. */
.press {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 30px 16px 56px 16px;
}

/* Headline in navy, with orange and blue layers off register. */
.offset {
    font-size: clamp(2.4rem, 7vw, 4.6rem);
    color: #0F172A;
    text-shadow: -4px 3px 0px #F97316, 4px -2px 0px #38BDF8;
    margin-bottom: 18px;
}

/* Hero paragraph. */
.press-text p {
    max-width: 34rem;
    margin-bottom: 22px;
}

/* Photo with a thick navy border like a print flash. */
.press-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border: 8px solid #0F172A;
}

/* Orange button with a navy misprint behind it. */
.ink-btn,
button {
    display: inline-block;
    background-color: #F97316;
    color: #020617;
    font-family: "Work Sans", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    box-shadow: 5px 5px 0px #0F172A;
    padding: 12px 24px;
    cursor: pointer;
}

/* Button hover. */
.ink-btn:hover,
button:hover {
    box-shadow: 2px 2px 0px #0F172A;
}

/* ----- Price breaks (ID) ----- */

/* Navy band. */
#breaks {
    background-color: #0F172A;
    color: #FFFFFF;
    padding: 56px 16px;
}

/* Title in orange on navy. */
#breaks h2 {
    color: #F97316;
}

/* Intro. */
.intro {
    max-width: 42rem;
    margin-bottom: 26px;
}

/* Stacks sit on a shelf along the bottom. */
.stacks {
    list-style: none;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    border-bottom: 6px solid #B8875A;
    padding-bottom: 6px;
}

/* One stack: pile, quantity, price. */
.stack {
    flex: 1 1 20%;
    min-width: 0px;
    text-align: center;
}

/* Pile of folded shirts: stacked stripes of white and gray. */
.pile {
    display: block;
    width: 100%;
    height: var(--pile);
    background-image: repeating-linear-gradient(180deg, #F8FAFC 0px, #F8FAFC 10px, #94A3B8 10px, #94A3B8 12px);
    border-radius: 4px 4px 0px 0px;
}

/* Quantity. */
.stack strong {
    display: block;
    font-family: "Black Han Sans", Impact, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-top: 6px;
}

/* Price each. */
.each {
    display: block;
    font-size: 0.78rem;
    line-height: 1.3;
    color: #F97316;
    font-weight: 700;
}

/* Pile heights. */
.q12 {
    --pile: 36px;
}

/* 24 shirts. */
.q24 {
    --pile: 60px;
}

/* 48 shirts. */
.q48 {
    --pile: 96px;
}

/* 96 shirts. */
.q96 {
    --pile: 144px;
}

/* 144 shirts. */
.q144 {
    --pile: 192px;
}

/* Note under the shelf. */
.note {
    margin-top: 16px;
    font-size: 0.92rem;
}

/* ----- Color separation (class) ----- */

/* Section spacing. */
.layers {
    padding: 56px 16px;
}

/* Screens and plus signs wrap. */
.seps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
}

/* One screen. */
.sep {
    text-align: center;
}

/* Screen: mesh inside a wood frame, with one ink layer of the design. */
.art {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid #B8875A;
    background-color: #E5E8EB;
    background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(15, 23, 42, 0.08) 2px, rgba(15, 23, 42, 0.08) 3px), repeating-linear-gradient(90deg, transparent 0px, transparent 2px, rgba(15, 23, 42, 0.08) 2px, rgba(15, 23, 42, 0.08) 3px);
    font-family: "Black Han Sans", Impact, sans-serif;
    font-size: 3rem;
}

/* Orange layer: a sun circle only. */
.art-1 {
    color: transparent;
    background-image: radial-gradient(circle, #F97316 0px, #F97316 38px, transparent 39px);
}

/* Blue layer: hills only. */
.art-2 {
    color: transparent;
    background-image: radial-gradient(ellipse 90px 40px at 30% 110%, #38BDF8 0px, #38BDF8 98%, transparent 100%), radial-gradient(ellipse 80px 34px at 80% 110%, #38BDF8 0px, #38BDF8 98%, transparent 100%);
}

/* Navy layer: the letters only. */
.art-3 {
    color: #0F172A;
}

/* All three layers on a white shirt. */
.art-all {
    color: #0F172A;
    border-color: #F8FAFC;
    outline: 2px solid #94A3B8;
    background-color: #FFFFFF;
    background-image: radial-gradient(ellipse 90px 40px at 30% 110%, #38BDF8 0px, #38BDF8 98%, transparent 100%), radial-gradient(ellipse 80px 34px at 80% 110%, #38BDF8 0px, #38BDF8 98%, transparent 100%), radial-gradient(circle, #F97316 0px, #F97316 38px, transparent 39px);
}

/* Captions. */
.sep figcaption {
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Plus and equals signs. */
.op {
    font-family: "Black Han Sans", Impact, sans-serif;
    font-size: 2rem;
    color: #A24B0E;
}

/* Two photos. */
.layer-photos {
    display: flex;
    gap: 10px;
}

/* Each photo. */
.layer-photos img {
    width: 50%;
    height: 220px;
    object-fit: cover;
}

/* ----- Order (class) ----- */

/* Form then shirt photo. */
.order {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #F8EAE0;
    padding: 56px 16px;
}

/* Shirt photo. */
.order img {
    height: 300px;
    object-fit: cover;
}

/* Form box. */
.order-form fieldset {
    border: 4px solid #0F172A;
    padding: 22px;
    background-color: #FFFFFF;
    box-shadow: 8px 8px 0px #F97316;
}

/* Form title. */
.order-form legend {
    font-family: "Black Han Sans", Impact, sans-serif;
    font-size: 1.5rem;
    padding: 0px 8px;
}

/* Labels. */
.order-form label {
    display: block;
    font-weight: 700;
    margin-top: 12px;
}

/* Inputs. */
.order-form input {
    width: 100%;
    font-family: "Work Sans", Arial, sans-serif;
    font-size: 1rem;
    padding: 9px;
    border: 2px solid #626570;
}

/* Submit spacing. */
.order-form button {
    margin-top: 18px;
}

/* ----- Rag footer (class) ----- */

/* Navy rag with orange and blue ink smudges. */
.rag {
    background-color: #0F172A;
    background-image: radial-gradient(ellipse 140px 40px at 15% 30%, rgba(249, 115, 22, 0.35), transparent), radial-gradient(ellipse 120px 50px at 85% 70%, rgba(56, 189, 248, 0.3), transparent);
    color: #FFFFFF;
    font-size: 0.82rem;
    text-align: center;
    padding: 30px 16px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Taller hero photo. */
    .press-photo img {
        height: 400px;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* Form beside the photo. */
    .order {
        flex-direction: row;
        align-items: center;
    }

    /* Each half. */
    .order-form,
    .order img {
        width: 50%;
    }

    /* Taller photo. */
    .order img {
        height: 420px;
    }
}

/* ----- Laptops (992px and up) ----- */

@media (min-width: 992px) {

    /* No menu button. */
    .menu-icon {
        display: none;
    }

    /* Logo left, nav right. */
    .frame {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 30px;
        padding-right: 30px;
    }

    /* Nav always shown. */
    .mesh-nav {
        display: block;
    }

    /* Nav in a row. */
    .mesh-nav ul {
        flex-direction: row;
        gap: 26px;
        padding-top: 0px;
    }

    /* Words beside the photo. */
    .press {
        flex-direction: row;
        align-items: center;
        padding: 50px 40px 70px 40px;
    }

    /* Words column. */
    .press-text {
        flex: 1 1 55%;
    }

    /* Photo column. */
    .press-photo {
        flex: 1 1 45%;
    }

    /* Taller photo. */
    .press-photo img {
        height: 480px;
    }

    /* Wider sections. */
    #breaks,
    .layers,
    .order {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Content in a 1140px column. */
    .press,
    #breaks,
    .layers,
    .order {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }
}
