/*
    Name:       Joseph Medeiros
    Business:   Medeiros Web Design
    Date:       November 11, 2026
    Project:    Concept Site - Solid Ground Concrete (fictional business)
    Filename:   styles.css

    Layout plan: mobile-first, heavy and industrial. Giant Bebas Neue type
    in the hero. Finish samples are pure CSS textures: repeating-linear-
    gradient for broom lines, layered radial-gradient dots for aggregate,
    and a radial "cobble" pattern for stamped. The cure timeline places
    its markers at a percent of 28 days with position: absolute (at 768px
    and up). The quote form looks like a paper job ticket with a
    perforated top edge drawn by a radial-gradient. Media queries at
    576px, 768px, 992px and 1200px, in ascending order.

    Colors (WebAIM checked, AA):
      #18181B asphalt   #52525B concrete grey   #C2410C safety orange
      (darker than #EA580C so text passes)   #F4F4F5 light   #E4E4E7 line
*/

/* ----- Browser reset (universal) ----- */

/* border-box sizing and zero default spacing. */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

/* ----- Page defaults (element) ----- */

/* Light grey page with asphalt text. */
body {
    background-color: #F4F4F5;
    color: #18181B;
    font-family: Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Responsive images. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Tall condensed headings. */
h1,
h2,
h3 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.02em;
}

/* Section titles. */
h2 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
}

/* Orange links. */
a {
    color: #C2410C;
    font-weight: 700;
}

/* Orange focus ring. */
a:focus-visible,
button:focus-visible,
.menu-check:focus-visible + .menu-icon {
    outline: 3px solid #C2410C;
    outline-offset: 3px;
}

/* Grey intro paragraph. */
.lead {
    color: #52525B;
    max-width: 40rem;
    margin: 8px 0px 26px 0px;
}

/* Small notes. */
.small {
    font-size: 0.85rem;
    color: #52525B;
    margin-top: 10px;
}

/* ----- Header (class) ----- */

/* Asphalt header. */
.site-header {
    background-color: #18181B;
    color: #FFFFFF;
}

/* Logo and menu in a row. */
.header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

/* Logo. */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

/* Small orange word. */
.logo small {
    color: #FB923C;
    font-size: 2rem;
}

/* A little grey block as the logo mark, with an orange corner. */
.logo-block {
    width: 26px;
    height: 26px;
    background-color: #A1A1AA;
    border-right: 8px solid #FB923C;
}

/* Hidden menu checkbox (opacity keeps it keyboard reachable). */
.menu-check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

/* Menu button. */
.menu-icon {
    border: 2px solid #FB923C;
    color: #FFFFFF;
    padding: 5px 12px;
    font-weight: 700;
    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: #FFFFFF;
    text-decoration: none;
    padding: 9px 0px;
    border-top: 1px solid #3F3F46;
}

/* Orange on hover. */
.site-nav a:hover {
    color: #FB923C;
}

/* Concept notice. */
.concept-note {
    background-color: #3F3F46;
    font-size: 0.85rem;
    text-align: center;
    padding: 4px 16px;
}

/* ----- Hero (class) ----- */

/* Photo with a dark gradient at the bottom for the text. */
.hero {
    background-image: linear-gradient(180deg, rgba(24, 24, 27, 0.35) 0%, rgba(24, 24, 27, 0.92) 70%), url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 60px 20px 48px 20px;
}

/* Giant stacked headline, one phrase per line. */
.hero h1 {
    font-size: clamp(4rem, 17vw, 11rem);
    line-height: 0.85;
    margin-bottom: 26px;
}

/* Each phrase on its own line. */
.hero h1 span {
    display: block;
}

/* Last line in orange. */
.hero h1 span:last-child {
    color: #FB923C;
}

/* Paragraph under the headline. */
.hero-bottom p {
    max-width: 34rem;
    margin-bottom: 22px;
}

/* Orange square button with white text on the darker orange. */
.button,
button {
    display: inline-block;
    background-color: #C2410C;
    color: #FFFFFF;
    border: none;
    padding: 12px 26px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
}

/* Darker on hover. */
.button:hover,
button:hover {
    background-color: #9A3412;
}

/* ----- Finishes (class) ----- */

/* Section spacing. */
.finishes {
    padding: 56px 20px;
}

/* Sample cards wrap. */
.samples {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* One sample card. */
.sample {
    flex: 1 1 220px;
    background-color: #FFFFFF;
    border: 1px solid #E4E4E7;
}

/* Card title and text padding. */
.sample h3,
.sample p {
    padding: 0px 16px;
}

/* Card title. */
.sample h3 {
    font-size: 2rem;
    margin-top: 12px;
}

/* Card text. */
.sample p {
    padding-bottom: 16px;
}

/* Orange price note. */
.sample strong {
    display: block;
    color: #C2410C;
}

/* Every texture tile shares a size and a base concrete color. */
.texture {
    height: 160px;
    background-color: #B8B8BC;
}

/* Broom: fine diagonal grooves from a repeating gradient. */
.texture-broom {
    background-image: repeating-linear-gradient(100deg, rgba(0, 0, 0, 0.10) 0px, rgba(0, 0, 0, 0.10) 1px, transparent 1px, transparent 4px);
}

/* Smooth trowel: a soft sheen across a darker grey. */
.texture-trowel {
    background-color: #9C9CA3;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0) 70%);
}

/* Exposed aggregate: three sizes of brown and grey pebbles layered. */
.texture-aggregate {
    background-color: #A8A29E;
    background-image:
        radial-gradient(circle, #6B5B4B 3px, transparent 4px),
        radial-gradient(circle, #D6D3D1 4px, transparent 5px),
        radial-gradient(circle, #44403C 2px, transparent 3px);
    background-size: 17px 17px, 23px 23px, 11px 11px;
    background-position: 0px 0px, 7px 9px, 3px 5px;
}

/* Stamped: rounded "cobblestones" from a radial gradient with dark grout. */
.texture-stamped {
    background-color: #57534E;
    background-image: radial-gradient(ellipse at center, #A8A29E 0%, #8C857D 55%, transparent 58%);
    background-size: 36px 30px;
}

/* ----- Cure timeline (ID and class) ----- */

/* Concrete grey band. */
#cure {
    background-color: #52525B;
    color: #FFFFFF;
    padding: 56px 20px;
}

/* Light intro on grey. */
#cure .lead {
    color: #E4E4E7;
}

/* The track is the positioning parent for the markers at wide sizes. */
.track {
    position: relative;
    margin-bottom: 30px;
}

/* The 28-day bar, darker to lighter as concrete gains strength. Hidden
   on phones, where the markers just stack. */
.track-bar {
    display: none;
    height: 14px;
    background-image: linear-gradient(90deg, #A1A1AA, #FB923C);
}

/* Marker list. */
.marks {
    list-style: none;
}

/* One marker on phones: a row with an orange left edge. */
.mark {
    border-left: 5px solid #FB923C;
    padding: 6px 12px;
    margin-bottom: 10px;
    background-color: #3F3F46;
}

/* The day number. */
.mark strong {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    color: #FB923C;
}

/* Pour photo. */
.pour-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* Caption under the photo. */
.pour-photo figcaption {
    font-size: 0.9rem;
    color: #E4E4E7;
    margin-top: 6px;
}

/* ----- Yardage (class) ----- */

/* Text then photo on phones. */
.yards {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 56px 20px;
}

/* Space under the heading. */
.yards h2 {
    margin-bottom: 12px;
}

/* The formula as a row of chips. */
.formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-family: "Roboto Mono", monospace;
}

/* One number in the formula. */
.formula span {
    background-color: #FFFFFF;
    border: 1px solid #D4D4D8;
    padding: 4px 8px;
}

/* Operators have no box. */
.formula .op {
    background-color: transparent;
    border: none;
    font-weight: 700;
}

/* The answer stands out in orange. */
.formula .answer {
    background-color: #C2410C;
    border-color: #C2410C;
    color: #FFFFFF;
}

/* Driveway photo. */
.yards img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* ----- Job ticket (class) ----- */

/* Asphalt band behind the ticket. */
.ticket-wrap {
    display: flex;
    flex-direction: column;
    gap: 26px;
    background-color: #18181B;
    padding: 56px 20px;
}

/* The ticket: off-white paper with a perforated top edge made of a row
   of small circles cut out by a radial gradient. */
.ticket {
    background-color: #FFFBEB;
    background-image: radial-gradient(circle at 10px -2px, #18181B 7px, transparent 8px);
    background-size: 20px 20px;
    background-repeat: repeat-x;
    color: #18181B;
    padding: 34px 22px 24px 22px;
}

/* Ticket title. */
.ticket h2 {
    font-size: 3rem;
}

/* Ticket number line in monospace. */
.ticket-no {
    font-family: "Roboto Mono", monospace;
    font-size: 0.85rem;
    border-bottom: 2px dashed #A1A1AA;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

/* Fields stack on phones. */
.ticket-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* One field. */
.ticket-fields div {
    flex: 1 1 100%;
}

/* Labels in small monospace caps like a printed form. */
.ticket label {
    display: block;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Fields as underlined blanks. */
.ticket input,
.ticket select {
    width: 100%;
    border: none;
    border-bottom: 2px solid #18181B;
    background-color: transparent;
    padding: 6px 2px;
    font-family: Roboto, sans-serif;
    font-size: 1.05rem;
}

/* Space above the button. */
.ticket button {
    margin-top: 20px;
}

/* Stamped concrete photo. */
.stamp-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* ----- Footer (class) ----- */

/* Footer. */
.site-footer {
    text-align: center;
    font-size: 0.85rem;
    color: #52525B;
    padding: 22px 20px;
}

/* ----- Small tablets (576px and up) ----- */

@media (min-width: 576px) {

    /* Ticket fields in two columns. */
    .ticket-fields div {
        flex: 1 1 40%;
    }

    /* Taller photos. */
    .yards img,
    .pour-photo img {
        height: 320px;
    }
}

/* ----- Tablets (768px and up) ----- */

@media (min-width: 768px) {

    /* More side padding. */
    .hero,
    .finishes,
    #cure,
    .yards,
    .ticket-wrap {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Taller hero. */
    .hero {
        padding-top: 140px;
    }

    /* Show the bar. */
    .track-bar {
        display: block;
    }

    /* Room under the bar for the markers. */
    .track {
        padding-bottom: 110px;
        margin-top: 10px;
    }

    /* Markers hang under the bar at their day's position. */
    .mark {
        position: absolute;
        top: 24px;
        width: 150px;
        background-color: transparent;
        padding: 18px 0px 0px 10px;
        border-left: 3px solid #FB923C;
    }

    /* Day 1 is at the very start (1 of 28 days). */
    .mark-1 {
        left: 0%;
    }

    /* Day 3. */
    .mark-3 {
        left: 22%;
    }

    /* Day 7 (a quarter of the way). */
    .mark-7 {
        left: 45%;
    }

    /* Day 28 is the end of the bar; it hangs to the left of its line. */
    .mark-28 {
        right: 0%;
        border-left: none;
        border-right: 3px solid #FB923C;
        padding: 18px 10px 0px 0px;
        text-align: right;
    }

    /* Formula text and photo side by side. */
    .yards {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    /* Each half. */
    .yards-text,
    .yards img {
        flex: 1 1 50%;
    }

    /* Photo matches the row width. */
    .yards img {
        width: 50%;
    }
}

/* ----- 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: 24px;
        padding-top: 0px;
    }

    /* No dividers on desktop. */
    .site-nav a {
        border-top: none;
    }

    /* Hero text in a row: headline left, paragraph right. */
    .hero {
        display: flex;
        align-items: flex-end;
        gap: 40px;
        padding-top: 90px;
    }

    /* Headline column. */
    .hero h1 {
        flex: 1 1 60%;
        margin-bottom: 0px;
    }

    /* Paragraph column. */
    .hero-bottom {
        flex: 1 1 35%;
    }

    /* Ticket and photo side by side, slightly rotated photo like a
       snapshot clipped to the ticket. */
    .ticket-wrap {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    /* Ticket column. */
    .ticket {
        flex: 1 1 60%;
    }

    /* Photo column. */
    .stamp-photo {
        flex: 1 1 35%;
        width: 35%;
        height: 380px;
        transform: rotate(3deg);
        border: 8px solid #FFFFFF;
    }

    /* Three ticket fields per row. */
    .ticket-fields div {
        flex: 1 1 28%;
    }
}

/* ----- Wide screens (1200px and up) ----- */

@media (min-width: 1200px) {

    /* Center content at 1140px. */
    .header-inner,
    .hero,
    .finishes,
    #cure,
    .yards,
    .ticket-wrap {
        padding-left: calc((100% - 1140px) / 2);
        padding-right: calc((100% - 1140px) / 2);
    }
}
