/* =========================================
   STITCHY DAYS
   Main Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:opsz,wght@17..18,400..700&display=swap');


/* =========================================
   VARIABLES
   ========================================= */

:root {

    --cream: #faf6f2;

    --warm-white: #fffdfb;

    --pink: #d98f9d;

    --pink-dark: #b96f7d;

    --pink-light: #f3dfe2;

    --brown: #3d3331;

    --muted: #766b68;

    --sage: #dfe5da;

    --line: #e8ded9;

}


/* =========================================
   RESET
   ========================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--cream);

    color: var(--brown);

    font-family:
        'Google Sans',
        Arial,
        sans-serif;

}


body.menu-open {

    overflow: hidden;

}


a {

    color: inherit;

    text-decoration: none;

}


img {

    display: block;

    max-width: 100%;

}


button,
input {

    font: inherit;

}


/* =========================================
   TOP SOCIAL BAR
   ========================================= */

.top-bar {

    height: 38px;

    background: var(--pink-light);

    padding: 0 35px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.top-bar .social-links {

    width: 100%;

    max-width: 1200px;

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 15px;

}


.social-links a {

    width: 18px;

    height: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--brown);

    transition:
        color 0.2s ease;

}


.social-links a:hover {

    color: var(--pink-dark);

}


.social-links svg {

    width: 16px;

    height: 16px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;

}


.social-links svg path:last-child {

    fill: currentColor;

    stroke: none;

}


/* =========================================
   HEADER
   ========================================= */

.site-header {

    background: var(--warm-white);

    border-bottom:
        1px solid var(--line);

    position: sticky;

    top: 0;

    z-index: 100;

}


.header-inner {

    max-width: 1200px;

    height: 82px;

    margin: auto;

    padding: 0 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =========================================
   LOGO
   ========================================= */

.logo {

    display: flex;

    align-items: center;

}


.logo img {
    width: 225px;
    height: 72px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
}


/* =========================================
   NAVIGATION
   ========================================= */

.navigation {

    display: flex;

    align-items: center;

    gap: 30px;

    transform: translateX(46px);

}


.navigation a {

    position: relative;

    font-size: 12px;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    transition:
        color 0.2s ease;

}

.navigation a[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    width: 24px;
    height: 2px;
    margin: auto;
    border-radius: 2px;
    background: var(--pink-dark);
    content: "";
}


.navigation a:hover {

    color: var(--pink-dark);

}


/* =========================================
   HAMBURGER
   ========================================= */

.menu-button {

    width: 38px;

    height: 38px;

    border: none;

    background: transparent;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-end;

    gap: 5px;

}


.menu-button span {

    display: block;

    height: 1.5px;

    background: var(--brown);

    transition:
        width 0.2s ease;

}


.menu-button span:nth-child(1) {

    width: 24px;

}


.menu-button span:nth-child(2) {

    width: 17px;

}


.menu-button span:nth-child(3) {

    width: 24px;

}


.menu-button:hover span:nth-child(2) {

    width: 24px;

}


/* =========================================
   SIDE MENU
   ========================================= */

.menu-overlay {

    position: fixed;

    inset: 0;

    background:
        rgba(61, 51, 49, 0.28);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease;

    z-index: 150;

}


.menu-overlay.show {

    opacity: 1;

    visibility: visible;

}


.side-menu {

    position: fixed;

    top: 0;

    right: 0;

    width:
        min(420px, 88vw);

    height: 100vh;

    background:
        var(--warm-white);

    padding: 45px 38px;

    z-index: 200;

    transform:
        translateX(100%);

    transition:
        transform 0.35s ease;

    overflow-y: auto;

}


.side-menu.open {

    transform:
        translateX(0);

}


.close-menu {

    position: absolute;

    top: 25px;

    right: 30px;

    border: none;

    background: none;

    font-size: 32px;

    font-weight: 300;

    color: var(--brown);

    cursor: pointer;

}


.menu-label {

    color: var(--pink-dark);

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 0.18em;

    margin-top: 30px;

}


.side-menu h2 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size: 38px;

    font-weight: normal;

    line-height: 1.1;

    margin:
        12px 0 30px;

}


/* =========================================
   POPULAR PATTERNS IN SIDE MENU
   ========================================= */

.popular-patterns {

    display: flex;

    flex-direction: column;

}


.popular-pattern {

    display: grid;

    grid-template-columns: 88px 1fr;

    gap: 17px;

    align-items: center;

    padding: 17px 0;

    border-bottom:
        1px solid var(--line);

    transition:
        opacity 0.2s ease;

}


.popular-pattern:first-child {

    padding-top: 0;

}


.popular-pattern:hover {

    opacity: 0.7;

}


.popular-pattern-image {

    width: 88px;

    height: 88px;

    overflow: hidden;

    background: var(--pink-light);

}


.popular-pattern-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.3s ease;

}


.popular-pattern:hover
.popular-pattern-image img {

    transform: scale(1.04);

}


.popular-pattern-info span {

    display: block;

    color: var(--pink-dark);

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 0.14em;

    margin-bottom: 6px;

}


.popular-pattern-info h3 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size: 20px;

    font-weight: normal;

    line-height: 1.2;

}


/* =========================================
   GENERAL
   ========================================= */

.section {

    max-width: 1200px;

    margin: auto;

    padding: 85px 35px;

}


.eyebrow {

    color: var(--pink-dark);

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 0.18em;

    text-transform: uppercase;

}


.section-heading {

    max-width: 650px;

    margin:
        0 auto 45px;

    text-align: center;

}


.section-heading h2 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size:
        clamp(38px, 5vw, 58px);

    line-height: 1.1;

    font-weight: normal;

    margin:
        12px 0 15px;

}


.section-heading p:last-child {

    color: var(--muted);

    line-height: 1.6;

}


/* =========================================
   BUTTONS
   ========================================= */

.primary-button {

    display: inline-block;

    background: var(--pink-dark);

    color: var(--warm-white);

    padding:
        11px 18px;

    border-radius: 3px;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;

}


.primary-button:hover {

    color: var(--brown);

    background:
        var(--pink);

}


.text-button {

    display: inline-block;

    color: var(--pink-dark);

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    border-bottom:
        1px solid var(--pink-dark);

    padding-bottom: 5px;

}


.center-button {

    text-align: center;

    margin-top: 40px;

}


/* =========================================
   HERO
   ========================================= */

.hero {

    max-width: 1200px;

    margin: auto;

    padding:
        35px 35px 85px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    min-height: 610px;

}


.hero-content {

    background:
        var(--pink-light);

    padding:
        70px 9%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

}


.hero h1 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size:
        clamp(52px, 6vw, 78px);

    font-weight: normal;

    line-height: 1.02;

    letter-spacing: -3px;

    margin:
        18px 0;

}


.hero h1 span {

    color:
        var(--pink-dark);

    font-style: italic;

}


.hero-description {

    color: var(--muted);

    max-width: 420px;

    margin-bottom: 30px;

    line-height: 1.7;

}


.hero-image {
    min-height: 560px;
    overflow: hidden;
}

.hero-image .project-image {
    height: 100%;
    min-height: inherit;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.homepage-hero-photo {
    visibility: hidden;
}

.homepage-hero-photo.is-decoded {
    visibility: visible;
}


/* =========================================
   IMAGE PLACEHOLDER
   ========================================= */

.image-placeholder {

    width: 100%;

    height: 100%;

    background:
        linear-gradient(
            135deg,
            #ead8d4,
            #f4e9e4
        );

    display: flex;

    align-items: center;

    justify-content: center;

    color: #987d76;

    font-family: 'Google Sans', Arial, sans-serif;

    font-style: italic;

    font-size: 18px;

    text-align: center;

}


/* =========================================
   LATEST PROJECTS
   ========================================= */

.project-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


.project-card {

    background:
        var(--warm-white);

    display: flex;
    flex-direction: column;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.project-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 15px 35px
        rgba(61, 51, 49, 0.08);

}


.project-image {

    height: 320px;

    overflow: hidden;

}


.project-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

}


.project-info {

    padding: 22px;

    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;

}


.project-category {

    color:
        var(--pink-dark);

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 0.15em;

}


.project-info h3 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size: 24px;

    font-weight: normal;

    margin:
        8px 0;

}


.project-info p:not(.project-category) {

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.6;

}


.project-info a {

    display: inline-block;

    margin-top: auto;
    padding: 11px 18px;

    color: var(--warm-white);
    background: var(--pink-dark);
    border-radius: 3px;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    transition: background-color 0.2s ease, color 0.2s ease;

}

.project-info a:hover {
    color: var(--brown);
    background: var(--pink);

}


/* =========================================
   CATEGORIES
   ========================================= */

.categories-section {

    background:
        var(--sage);

    padding:
        85px 35px;

}


.category-grid {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}


.category-card {

    background: #fff9e8;

    padding:
        45px 20px;

    min-height: 190px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    transition:
        transform 0.2s ease,
        background 0.2s ease;

}


.category-card:hover {

    transform:
        translateY(-5px);

    background:
        white;

}

.categories-section .category-card {
    cursor: pointer;
}

.categories-section .category-card:focus-visible {
    outline: 2px solid var(--pink-dark);
    outline-offset: 3px;
}

.patterns-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.patterns-filter a {
    padding: 9px 14px;
    border: 1px solid var(--line);
    color: var(--brown);
    font-size: 11px;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.patterns-filter a:hover,
.patterns-filter a[aria-current="page"] {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    color: white;
}

.patterns-filter a:focus-visible {
    outline: 2px solid var(--pink-dark);
    outline-offset: 3px;
}

.patterns-grid .project-card.is-filtered {
    display: none;
}


.category-icon {

    font-size: 42px;

    margin-bottom: 15px;

}


.category-card h3 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size: 24px;

    font-weight: normal;

}


.category-card p {

    color:
        var(--muted);

    font-size: 13px;

    margin-top: 5px;

}


/* =========================================
   YOUTUBE
   ========================================= */

.youtube-section {

    max-width: 1200px;

    margin: auto;

    padding:
        85px 35px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;

}


.youtube-image {

    height: 460px;

    overflow: hidden;

}


.youtube-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.youtube-content h2 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size:
        clamp(42px, 5vw, 60px);

    line-height: 1.05;

    font-weight: normal;

    margin:
        15px 0 20px;

}


.youtube-content p {

    color:
        var(--muted);

    max-width: 450px;

    margin-bottom: 28px;

    line-height: 1.7;

}


/* =========================================
   ABOUT
   ========================================= */

.about-section {

    background:
        #f0ddd8;

    padding:
        55px max(
            35px,
            calc((100vw - 1200px) / 2)
        );

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 48px;

    align-items: center;

}


.about-image {

    height: 320px;

    overflow: hidden;

}


.about-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.about-image.image-placeholder {

    background-image:
        url("../images/about.jpg"),
        linear-gradient(135deg, #ead8d4, #f4e9e4);

    background-size: cover;

    background-position: center;

}


.about-content h1,
.about-content h2 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size:
        clamp(38px, 4.5vw, 50px);

    line-height: 1.05;

    font-weight: normal;

    margin:
        12px 0 18px;

}


.about-content p {

    color:
        #665b58;

    max-width: 520px;

    margin-bottom: 15px;

    line-height: 1.7;

}


.about-content .primary-button {

    margin-top: 5px;

}


/* =========================================
   SUPPLIES PREVIEW
   ========================================= */

.supplies-section {

    max-width: 1200px;

    margin: auto;

    padding:
        85px 35px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 65px;

    align-items: stretch;

}


.supplies-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

}


.supplies-content h2 {

    font-family: 'Google Sans', Arial, sans-serif;

    font-size:
        clamp(42px, 5vw, 60px);

    line-height: 1.05;

    font-weight: normal;

    margin:
        15px 0 20px;

}


.supplies-content > p {

    color:
        var(--muted);

    max-width: 470px;

    margin-bottom: 28px;

    line-height: 1.7;

}


.supplies-image {

    min-height: 450px;

    overflow: hidden;

}


.supplies-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


.supplies-image .image-placeholder {

    min-height: 450px;

}


/* =========================================
   FOOTER
   ========================================= */

footer {

    background:
        var(--brown);

    color: white;

    padding:
        65px 35px 25px;

}


.footer-inner {

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr;

    gap: 80px;

    padding-bottom: 50px;

}


.footer-column h4 {

    font-size: 11px;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    margin-bottom: 18px;

}


.footer-column p {

    color:
        #c7bfbc;

    font-size: 13px;

    max-width: 320px;

    line-height: 1.7;

}


.footer-column a {

    display: block;

    color:
        #c7bfbc;

    font-size: 13px;

    margin-bottom: 10px;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;

}


.footer-column a:hover {

    color: white;

    padding-left: 3px;

}


.footer-bottom {

    max-width: 1100px;

    margin: auto;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.15);

    padding-top: 20px;

    color:
        #aaa19d;

    font-size: 11px;

    line-height: 1.5;

}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 950px) {

    .navigation {

        gap: 16px;

        transform: translateX(12px);

    }


    .navigation a {

        font-size: 10px;

    }


    .project-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .category-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .footer-inner {

        grid-template-columns:
            1fr 1fr;

        gap: 50px;

    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 750px) {

    .top-bar {

        padding:
            0 20px;

    }


    .header-inner {

        height: 70px;

        padding:
            0 20px;

    }


    .logo img {

        width: 165px;

    }


    .navigation {

        display: none;

        transform: none;

    }


    .hero {

        grid-template-columns:
            1fr;

        padding:
            20px 20px 65px;

    }


    .hero-content {

        padding:
            60px 35px;

    }


    .hero-image {

        min-height: 450px;

    }

    .hero-image .project-image {

        min-height: inherit;

    }


    .youtube-section {

        grid-template-columns:
            1fr;

        gap: 40px;

    }


    .about-section {

        grid-template-columns:
            1fr;

        gap: 28px;

        padding:
            45px 20px;

    }


    .supplies-section {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    .supplies-image {

        min-height: 400px;

    }


    .supplies-image .image-placeholder {

        min-height: 400px;

    }


    .footer-inner {

        grid-template-columns:
            1fr 1fr;

        gap: 45px 30px;

    }


    .popular-pattern {

        grid-template-columns:
            82px 1fr;

        gap: 15px;

    }


    .popular-pattern-image {

        width: 82px;

        height: 82px;

    }


    .popular-pattern-info h3 {

        font-size: 19px;

    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 600px) {

    .top-bar {

        height: 34px;

    }


    .header-inner {

        padding:
            0 20px;

    }


    .logo img {

        width: 145px;

    }


    .section,
    .youtube-section {

        padding:
            65px 20px;

    }


    .hero {

        padding:
            15px 20px 65px;

    }


    .hero-content {

        padding:
            50px 25px;

    }


    .hero h1 {

        font-size: 53px;

        letter-spacing: -2px;

    }


    .hero-image {

        min-height: 360px;

    }

    .hero-image .project-image {

        min-height: inherit;

    }


    .project-grid,
    .category-grid {

        grid-template-columns:
            1fr;

    }


    .project-image {

        height: 340px;

    }


    .youtube-image {

        height: 360px;

    }


    .about-image {

        height: 280px;

    }


    .supplies-section {

        padding:
            65px 20px;

    }


    .supplies-image {

        min-height: 330px;

    }


    .supplies-image .image-placeholder {

        min-height: 330px;

    }


    .side-menu {

        width: 90vw;

        padding:
            35px 28px;

    }


    .side-menu h2 {

        font-size: 34px;

        margin-bottom: 25px;

    }


    .popular-pattern {

        grid-template-columns:
            76px 1fr;

        gap: 14px;

        padding: 15px 0;

    }


    .popular-pattern-image {

        width: 76px;

        height: 76px;

    }


    .popular-pattern-info h3 {

        font-size: 18px;

    }


    .footer-inner {

        grid-template-columns:
            1fr;

        gap: 35px;

    }


    footer {

        padding:
            55px 20px 25px;

    }

}


/* WRITTEN PATTERNS PAGE */

.patterns-intro {
    max-width: 760px;
    margin: 0 auto;
    padding: 88px 25px 52px;
    text-align: center;
}

.patterns-intro h1,
.contact-intro h1 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: normal;
    line-height: 1.1;
    margin: 12px 0 16px;
}

.patterns-intro > p:last-child,
.contact-intro > p:last-child {
    color: var(--muted);
    line-height: 1.7;
}

.patterns-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 35px 90px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.patterns-grid .project-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
}
.patterns-grid .project-image {
    display: block;
    width: 100%;
    height: 320px;
    flex: 0 0 320px;
    overflow: hidden;
}
.patterns-grid .project-image img { width: 100%; height: 320px; object-fit: cover; }
.patterns-grid .project-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
}
.patterns-grid .project-info > p:not(.project-category) {
    margin: 0 0 16px;
}
.patterns-grid .project-info > a:last-child {
    margin-top: auto;
}
.patterns-grid .project-info h2 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 24px;
    font-weight: normal;
    margin: 8px 0;
}

@media (max-width: 950px) {
    .patterns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .patterns-intro { padding: 64px 22px 38px; }
    .patterns-grid { grid-template-columns: 1fr; padding: 0 20px 65px; gap: 20px; }
}


/* CONTACT PAGE */

.contact-intro {
    max-width: 760px;
    margin: 0 auto;
    padding: 88px 25px 55px;
    text-align: center;
}

.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 35px 100px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 75px;
    align-items: start;
}

.contact-details {
    padding: 38px;
    background: var(--pink-light);
}

.contact-details h2 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 38px;
    font-weight: normal;
    margin: 12px 0;
}

.contact-details > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.75;
}

.contact-email,
.contact-social {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(61, 51, 49, .14);
}

.contact-email > span,
.contact-social > span {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.contact-email a {
    color: var(--pink-dark);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 21px;
    overflow-wrap: anywhere;
}

.contact-social a {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(61, 51, 49, .1);
    font-size: 13px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-field { display: grid; gap: 7px; }

.contact-field label {
    color: var(--brown);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--warm-white);
    color: var(--brown);
    padding: 13px 14px;
    outline: none;
}

.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--pink-dark); }
.contact-field textarea { resize: vertical; min-height: 150px; }
.contact-form .primary-button { justify-self: start; border: 0; cursor: pointer; }
.form-note { color: var(--muted); font-size: 11px; }

@media (max-width: 750px) {
    .contact-intro { padding: 64px 22px 40px; }
    .contact-layout { grid-template-columns: 1fr; gap: 35px; padding: 0 22px 70px; }
}

@media (max-width: 600px) {
    .contact-intro h1 { font-size: 42px; }
    .contact-details { padding: 28px 24px; }
}


/* =========================================
   ABOUT PAGE
   ========================================= */

.about-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
    min-height: 0;
    margin: 0;
    padding: 44px;
    overflow: hidden;
    border: 1px solid rgba(60, 50, 45, 0.08);
    border-radius: 10px;
    background: #f7f2ee;
    box-shadow: 0 8px 24px rgba(61, 51, 49, 0.045);
}

.about-page {
    display: grid;
    max-width: 1200px;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin: 0 auto;
    padding: 72px 35px 82px;
}


.about-detail-image {
    height: 460px;
    overflow: hidden;
    background: var(--pink-light);
    border-radius: 8px;
}


.about-detail-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.about-detail-content {
    max-width: 540px;
    align-self: center;
    padding-top: 0;
}


.about-detail-content h1 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 72px;
    font-weight: normal;
    line-height: 0.95;
    letter-spacing: -2px;
    color: var(--brown);
    margin: 0 0 32px;
}


.about-detail-content p {

    color: var(--muted);

    max-width: 520px;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 18px;

}


.about-detail-content .primary-button {

    margin-top: 10px;

}

.about-contact {
    width: 100%;
    text-align: center;
    padding: 42px 40px 44px;
    border: 1px solid rgba(60, 50, 45, 0.08);
    border-radius: 10px;
    background: #f7f2ee;
    box-shadow: 0 8px 24px rgba(61, 51, 49, 0.045);
}

.about-contact h2 {
    margin: 0 0 9px;
    color: var(--brown);
    font-size: 27px;
    font-weight: normal;
    line-height: 1.2;
}

.about-contact p {
    max-width: 700px;
    margin: 0 auto 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.about-contact .about-contact-email {
    display: inline-block;
    margin-bottom: 11px;
    color: var(--pink-dark);
    font-size: 17px;
}

.about-contact-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
}

.about-contact-socials span {
    color: var(--muted);
}

.about-contact-socials a:hover,
.about-contact .about-contact-email:hover {
    color: var(--brown);
}


/* =========================================
   ABOUT PAGE — MOBILE
   ========================================= */

@media (max-width: 850px) {

    .about-page {
        gap: 20px;
        padding: 46px 20px 58px;
    }

    .about-detail {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 26px;
    }

    .about-contact {
        padding: 36px 24px 38px;
    }


    .about-detail-image {

        height: clamp(280px, 72vw, 400px);

    }


    .about-detail-content h1 {

        font-size: 68px;

        letter-spacing: -2px;

        margin-bottom: 25px;

    }

    .about-detail-content {
        align-self: auto;
        padding-top: 0;
    }

}


@media (max-width: 600px) {

    .about-detail-image {

        height: clamp(240px, 78vw, 340px);

    }


    .about-detail-content h1 {

        font-size: 60px;

    }


    .about-detail-content p {

        font-size: 15px;

        line-height: 1.75;

    }

}

/* =========================================
   SUPPLIES PAGE
   ========================================= */

.supplies-page {
    padding: clamp(28px, 4vw, 48px) 24px 64px;
}

.supplies-hero,
.supplies-categories {
    width: min(1180px, 100%);
    min-width: 0;
    margin: 0 auto;
}

.supplies-hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 0;
    margin-bottom: clamp(30px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--warm-white);
    box-shadow: 0 8px 24px rgba(61, 51, 49, 0.045);
}

.supplies-hero-image {
    overflow: hidden;
    background: var(--pink-light);
}

.supplies-hero-image {
    height: clamp(210px, 21vw, 270px);
}

.supplies-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supplies-hero-content {
    padding: clamp(24px, 4vw, 48px) clamp(28px, 5vw, 62px);
}

.supplies-hero-content h1 {
    margin: 0 0 12px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: normal;
    line-height: 1.08;
    letter-spacing: -1px;
}

.supplies-hero-content p,
.supplies-category-content p {
    max-width: 360px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.supplies-category {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--warm-white);
    box-shadow: 0 7px 20px rgba(61, 51, 49, 0.045);
}

.supplies-category-image {
    aspect-ratio: 1.35 / 1;
    min-width: 0;
    overflow: hidden;
    background: var(--pink-light);
}

.supplies-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.supplies-category:hover .supplies-category-image img {
    transform: scale(1.025);
}

.supplies-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.supplies-category-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 21px 20px 22px;
}

.supplies-category-content h2 {
    min-height: 2.25em;
    margin: 0 0 8px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: clamp(22px, 2.2vw, 27px);
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -0.35px;
}

.supplies-category-content p {
    min-height: 3.3em;
    margin-bottom: 18px;
    font-size: 15px;
}

.supplies-page .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding: 11px 18px;
    border-radius: 3px;
    font-size: 11px;
}

@media (max-width: 850px) {
    .supplies-page {
        padding: 28px 20px 56px;
    }

    .supplies-hero {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .supplies-hero-content {
        padding: 24px 28px;
    }

    .supplies-hero-image {
        height: 220px;
    }

    .supplies-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .supplies-category-content {
        padding: 19px 18px 20px;
    }
}

@media (max-width: 620px) {
    .supplies-page {
        padding: 22px 16px 42px;
    }

    .supplies-hero {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
    }

    .supplies-hero-image {
        height: clamp(190px, 55vw, 270px);
    }

    .supplies-hero-content {
        padding: 23px 22px 25px;
    }

    .supplies-hero-content h1 {
        font-size: 36px;
    }

    .supplies-categories {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .supplies-category-image {
        aspect-ratio: 1.55 / 1;
    }

    .supplies-category-content {
        padding: 18px 19px 19px;
    }

    .supplies-category-content h2 {
        min-height: 0;
        font-size: 25px;
    }

    .supplies-category-content p {
        min-height: 0;
        margin-bottom: 16px;
    }

    .supplies-page .primary-button {
        width: 100%;
    }
}
/* HOMEPAGE SECTION HIERARCHY */

/* Keep homepage content on the same centered 1200px grid. */
.hero,
.latest-patterns-section,
.home-youtube,
.home-about,
.supplies-section {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-youtube,
.home-about,
.supplies-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    padding-left: 35px;
    padding-right: 35px;
}

.home-youtube {
    padding-top: 65px;
    padding-bottom: 65px;
}

/* Preserve the About color band while its content follows the shared grid. */
.home-about {
    position: relative;
    isolation: isolate;
    background: transparent;
}

.home-about::before {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f0ddd8;
    content: "";
}

.home-about .about-image,
.home-youtube .youtube-image {
    width: 100%;
}

.home-about .about-content,
.home-youtube .youtube-content {
    min-width: 0;
}

.latest-patterns-section {
    padding-top: 65px;
    padding-bottom: 65px;
    padding-left: 35px;
    padding-right: 35px;
}

.latest-patterns-section .project-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
}

.latest-patterns-section .project-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
}

.latest-patterns-section .project-info > p:not(.project-category) {
    margin: 0 0 16px;
}

.latest-patterns-section .project-info > a:last-child {
    margin-top: auto;
}

.supplies-section {
    padding-top: 65px;
    padding-bottom: 65px;
}

.home-youtube .youtube-image {
    height: 520px;
}

.home-youtube .youtube-content h2 {
    font-size: clamp(52px, 6vw, 72px);
    margin-top: 0;
}

.home-about {
    padding-top: 45px;
    padding-bottom: 45px;
}

.home-about .about-image {
    height: 430px;
}

.home-about .about-content p:not(.eyebrow) {
    max-width: 560px;
    font-size: clamp(16px, 1.45vw, 18px);
    line-height: 1.8;
}

@media (max-width: 750px) {
    .home-youtube .youtube-image {
        height: 430px;
    }

    .home-about {
        gap: 28px;
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .home-about .about-image {
        height: 340px;
    }
}

@media (max-width: 600px) {
    .home-youtube .youtube-image {
        height: 360px;
    }

    .home-about .about-image {
        height: 280px;
    }
}

@media (max-width: 750px) {
    .hero,
    .home-youtube,
    .home-about,
    .supplies-section {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-youtube {
        gap: 40px;
    }

    .home-about {
        gap: 28px;
    }

    .supplies-section {
        gap: 35px;
    }

    .latest-patterns-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================
   CROCHET PATTERN PAGE
   ========================================= */

.pattern-page {
    background: var(--cream);
    padding: 70px 25px 100px;
}

.pattern-article {
    max-width: 900px;
    margin: 0 auto;
}

/* Pattern Header */

.pattern-header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.pattern-header .menu-label {
    margin-bottom: 18px;
}

.pattern-header h1 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: clamp(48px, 4.2vw, 60px);
    font-weight: normal;
    line-height: 1.08;
    letter-spacing: -1.8px;
    color: var(--brown);
    margin: 0 auto 26px;
}

.pattern-intro {
    max-width: 650px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.pattern-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: var(--pink-dark);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
}


/* Hero Image */

.pattern-hero-image {
    width: 100%;
    height: 620px;
    overflow: hidden;
    margin-bottom: 75px;
}

.pattern-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Pattern Sections */

.pattern-section {
    max-width: 620px;
    margin: 0 auto 70px;
}

.pattern-section h2,
.pattern-video h2,
.pattern-finish h2 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 38px;
    font-weight: normal;
    line-height: 1.15;
    color: var(--brown);
    margin: 0 0 25px;
}

.pattern-section h3 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: var(--brown);
    margin: 38px 0 14px;
}

.pattern-section p,
.pattern-section li,
.pattern-video p,
.pattern-finish p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.pattern-section ul,
.pattern-section ol {
    padding-left: 24px;
    margin: 0;
}

.pattern-section li {
    padding-left: 7px;
    margin-bottom: 12px;
}

.pattern-section li::marker {
    color: var(--pink-dark);
}

/* Abbreviations */

.abbreviations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 35px;
    border-top: 1px solid var(--line);
}

.abbreviations p {
    padding: 15px 0;
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.abbreviations strong {
    color: var(--brown);
}


/* Video */

.pattern-video {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.pattern-video p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* Final Section */

.pattern-finish {
    max-width: 720px;
    margin: 20px auto 0;
    padding: 55px 45px;
    background: var(--pink-light);
    text-align: center;
}

.pattern-finish p {
    max-width: 560px;
    margin: 0 auto;
}


/* =========================================
   PATTERN PAGE — MOBILE
   ========================================= */

@media (max-width: 750px) {

    .pattern-page {
        padding: 55px 20px 75px;
    }

    .pattern-header {
        margin-bottom: 40px;
    }

    .pattern-header h1 {
        font-size: clamp(38px, 7vw, 48px);
        letter-spacing: -1px;
    }

    .pattern-intro {
        font-size: 15px;
        line-height: 1.75;
    }

    .pattern-hero-image {
        height: 430px;
        margin-bottom: 55px;
    }

    .pattern-section {
        margin-bottom: 55px;
    }

    .pattern-section h2,
    .pattern-video h2,
    .pattern-finish h2 {
        font-size: 32px;
    }

    .pattern-section h3 {
        font-size: 22px;
        margin-top: 30px;
    }

    .pattern-section p,
    .pattern-section li,
    .pattern-video p,
    .pattern-finish p {
        font-size: 16px;
        line-height: 1.8;
    }

    .abbreviations {
        grid-template-columns: 1fr;
    }

    .pattern-video {
        margin-bottom: 60px;
    }

    .pattern-finish {
        padding: 40px 25px;
    }
}


@media (max-width: 500px) {

    .pattern-header h1 {
        font-size: 38px;
    }

    .pattern-hero-image {
        height: 350px;
    }

    .pattern-meta {
        gap: 8px 15px;
    }
}

/* =========================================
   RECOMMENDED PATTERNS
   ========================================= */

.recommended-patterns {
    max-width: 1100px;
    margin: 100px auto 0;
    padding-top: 75px;
    border-top: 1px solid var(--line);
}

.recommended-heading {
    text-align: center;
    margin-bottom: 45px;
}

.recommended-heading h2 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 42px;
    font-weight: normal;
    color: var(--brown);
    margin: 0;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.recommended-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.recommended-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--pink-light);
}

.recommended-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.recommended-card:hover .recommended-image img {
    transform: scale(1.03);
}

.recommended-info {
    padding: 18px 2px 0;
}

.recommended-info span {
    color: var(--pink-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.recommended-info h3 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: var(--brown);
    margin: 7px 0 0;
}

.recommended-card {
    display: flex;
    flex-direction: column;
}

.recommended-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.recommended-view-button {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 18px;
    color: var(--warm-white);
    background: var(--pink-dark);
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.recommended-card:hover .recommended-view-button {
    color: var(--brown);
    background: var(--pink);
}

@media (max-width: 750px) {

    .recommended-patterns {
        margin-top: 70px;
        padding-top: 55px;
    }

    .recommended-heading h2 {
        font-size: 34px;
    }

    .recommended-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .recommended-image {
        height: 360px;
    }

}

/* =========================================
   UNIVERSAL CROCHET PATTERN PAGES
   ========================================= */

.pattern-page {
    background: var(--cream);
    padding: 80px 30px 100px;
}

.pattern-article {
    max-width: 1100px;
    margin: 0 auto;
}

/* Bandana editorial article and sidebar layout */
.pattern-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.9fr);
    align-items: start;
    gap: 42px;
    max-width: 1240px;
    margin: 0 auto;
}

.pattern-layout > .pattern-article {
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 46px 38px;
    background: var(--warm-white);
    border: 1px solid var(--line);
    border-radius: 5px;
    box-shadow: 0 8px 28px rgba(61, 51, 49, 0.035);
}

.pattern-article .pattern-info-box,
.pattern-article .pattern-note {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.pattern-sidebar {
    min-width: 0;
    display: grid;
    gap: 22px;
}

.pattern-sidebar-box {
    padding: 24px;
    background: var(--warm-white);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.pattern-sidebar-box h2 {
    margin: 0 0 18px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 21px;
    font-weight: normal;
}

.pattern-sidebar-popular {
    display: grid;
}

.pattern-sidebar-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--brown);
    font-size: 14px;
    line-height: 1.4;
}

.pattern-sidebar-card:first-child {
    padding-top: 0;
}

.pattern-sidebar-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.pattern-sidebar-card img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    background: var(--pink-light);
}

.pattern-sidebar-card:hover,
.pattern-sidebar-browse a:hover {
    color: var(--pink-dark);
}

.pattern-sidebar-browse {
    display: grid;
}

.pattern-sidebar-browse a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.pattern-sidebar-browse a:first-child {
    padding-top: 0;
}

.pattern-sidebar-browse a:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

@media (max-width: 900px) {
    .pattern-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 55px;
    }

    .pattern-layout > .pattern-article {
        width: 100%;
    }

    .pattern-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .pattern-sidebar-box:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .pattern-layout > .pattern-article {
        padding: 28px 20px;
    }

    .pattern-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .pattern-sidebar-box:last-child {
        grid-column: auto;
    }
}

/* ---------- PATTERN HEADER ---------- */

.pattern-header {
    max-width: 1000px;
    margin: 0 auto 65px;
    text-align: center;
}

.pattern-label {
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.pattern-title {
    font-family: 'Google Sans', Arial, sans-serif;
    max-width: 1050px;
    font-size: clamp(48px, 4.2vw, 60px);
    font-weight: normal;
    line-height: 1.08;
    letter-spacing: -1.8px;
    color: var(--brown);
    margin: 0 auto 28px;
}

.pattern-intro {
    max-width: 840px;
    margin: 0 auto 38px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}


/* ---------- PATTERN DETAILS ---------- */

.pattern-details {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pattern-details div {
    padding: 19px 12px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.pattern-details div:last-child {
    border-right: none;
}

.pattern-details span {
    display: block;
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.pattern-details strong {
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
}


/* ---------- HERO IMAGE ---------- */

.pattern-hero {
    width: 100%;
    height: 620px;
    margin: 0 0 90px;
    overflow: hidden;
}

.pattern-hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* ---------- GENERAL CONTENT ---------- */

.pattern-section {
    max-width: 720px;
    margin: 0 auto 85px;
}

.pattern-section h2 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 38px;
    font-weight: normal;
    line-height: 1.15;
    color: var(--brown);
    margin: 0 0 25px;
}

.pattern-section p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 20px;
}


/* ---------- VIDEO ---------- */

.pattern-video-section {
    max-width: 900px;
    text-align: center;
}

.pattern-video-section > p {
    max-width: 620px;
    margin: 0 auto 32px;
}

.pattern-video-section > .pattern-video-tip {
    max-width: 700px;
    margin: 0 auto 32px;
    padding: 16px 20px;
    border-left: 3px solid var(--pink-dark);
    background: rgba(255, 255, 255, 0.55);
    text-align: left;
}

.pattern-info-box > .pattern-video-tip,
.pattern-step > .pattern-video-tip {
    margin: 24px 0 0;
    padding: 16px 20px;
    border-left: 3px solid var(--pink-dark);
    background: rgba(255, 255, 255, 0.55);
    text-align: left;
}

.pattern-video-tip strong {
    color: var(--muted);
}

.pattern-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.pattern-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* ---------- MATERIALS ---------- */

.pattern-info-box {
    background: var(--warm-white);
    border: 1px solid var(--line);
    padding: 38px 42px;
}

.pattern-info-box ul {
    margin: 0;
    padding-left: 23px;
    columns: 2;
    column-gap: 55px;
}

.pattern-info-box li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 11px;
    break-inside: avoid;
}

.pattern-info-box li::marker {
    color: var(--pink-dark);
}


/* ---------- AMAZON MATERIALS LINK ---------- */

.pattern-materials-link {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.pattern-materials-link p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
}

.pattern-materials-link a {
    color: var(--pink-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.pattern-materials-link a:hover {
    text-decoration: underline;
}


/* ---------- ABBREVIATIONS ---------- */

.pattern-abbreviations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}

.pattern-abbreviations div {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 16px 5px;
    border-bottom: 1px solid var(--line);
}

.pattern-abbreviations div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.pattern-abbreviations strong {
    min-width: 45px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 17px;
    font-weight: normal;
}

.pattern-abbreviations span {
    color: var(--muted);
    font-size: 15px;
}


/* =========================================
   WRITTEN PATTERN
   ========================================= */

.pattern-written {
    max-width: 760px;
    margin-bottom: 50px;
}

.pattern-written-header {
    padding-bottom: 32px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--line);
}

.pattern-written-header .pattern-label {
    color: var(--pink-dark);
}

.pattern-written-header h2 {
    margin-bottom: 0;
}

.pattern-step {
    padding-bottom: 65px;
    margin-bottom: 65px;
    border-bottom: 1px solid var(--line);
}

.pattern-step:last-child {
    border-bottom: none;
}

.pattern-written .pattern-step:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.pattern-step h3 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 27px;
    font-weight: normal;
    color: var(--brown);
    line-height: 1.2;
    margin: 0 0 18px;
}

.pattern-step h4 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 19px;
    font-weight: normal;
    color: var(--brown);
    margin: 35px 0 12px;
}

.pattern-step p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.pattern-step ol,
.pattern-step ul {
    margin: 0 0 25px;
    padding-left: 28px;
}

.pattern-step li {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    padding-left: 8px;
    margin-bottom: 12px;
}

.pattern-step li::marker {
    color: var(--pink-dark);
}

.pattern-step strong {
    color: var(--brown);
}

/* ---------- FINISHED ---------- */

.pattern-finish {
    max-width: 760px;
    margin: 10px auto 0;
    padding: 60px 45px;
    background: var(--pink-light);
    text-align: center;
}

.pattern-finish h2 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 40px;
    font-weight: normal;
    color: var(--brown);
    margin: 0 0 18px;
}

.pattern-finish p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}


/* ---------- CREATOR NOTE ---------- */

.pattern-note {
    max-width: 760px;
    margin: 40px auto 70px;
    padding: 42px 48px;
    background: var(--warm-white);
    border: 1px solid var(--line);
}

.pattern-note h2 {
    margin: 0 0 24px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 34px;
    font-weight: normal;
    line-height: 1.2;
}

.pattern-note p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.pattern-note p:last-child {
    margin-bottom: 0;
}

.pattern-note a {
    color: var(--pink-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pattern-note a:hover {
    color: var(--brown);
}


/* ---------- FINISHED PROJECT GALLERY ---------- */

.pattern-gallery {
    max-width: 1000px;
    margin: 0 auto 10px;
}

.pattern-gallery-heading {
    margin-bottom: 24px;
}

.pattern-gallery-heading .pattern-label {
    margin-bottom: 12px;
}

.pattern-gallery-heading h2 {
    margin: 0;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 36px;
    font-weight: normal;
    line-height: 1.15;
}

.pattern-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

.pattern-gallery-grid figure {
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: var(--pink-light);
}

.pattern-gallery-grid figure:first-child {
    grid-row: 1 / span 2;
}

.pattern-gallery-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   RECOMMENDED PATTERNS
   ========================================= */

.recommended-patterns {
    max-width: 1100px;
    margin: 110px auto 0;
    padding-top: 75px;
    border-top: 1px solid var(--line);
}

.recommended-heading {
    text-align: center;
    margin-bottom: 45px;
}

.recommended-heading h2 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 44px;
    font-weight: normal;
    color: var(--brown);
    margin: 0;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.recommended-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.recommended-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--pink-light);
}

.recommended-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.recommended-card:hover .recommended-image img {
    transform: scale(1.03);
}

.recommended-info {
    padding: 17px 2px 0;
}

.recommended-info span {
    color: var(--pink-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.recommended-info h3 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: var(--brown);
    margin: 7px 0 0;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 750px) {

    .pattern-page {
        padding: 55px 20px 75px;
    }

    .pattern-header {
        margin-bottom: 50px;
    }

    .pattern-title {
        font-size: clamp(38px, 7vw, 48px);
        letter-spacing: -1px;
    }

    .pattern-intro {
        font-size: 16px;
        line-height: 1.75;
    }

    .pattern-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .pattern-details div:nth-child(2) {
        border-right: none;
    }

    .pattern-details div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .pattern-hero {
        height: 450px;
        margin-bottom: 60px;
    }

    .pattern-section {
        margin-bottom: 60px;
    }

    .pattern-section h2 {
        font-size: 32px;
    }

    .pattern-info-box {
        padding: 28px 25px;
    }

    .pattern-info-box ul {
        columns: 1;
    }

    .pattern-abbreviations {
        grid-template-columns: 1fr;
    }

    .pattern-step {
        padding-bottom: 45px;
        margin-bottom: 45px;
    }

    .pattern-step h3 {
        font-size: 25px;
    }

    .pattern-step h4 {
        font-size: 19px;
    }

    .pattern-step li {
        font-size: 16px;
        line-height: 1.8;
    }

    .bandana-pattern-page .pattern-section {
        margin-bottom: 48px;
    }

    .bandana-pattern-page .pattern-written-header {
        margin-bottom: 34px;
    }

    .bandana-pattern-page .pattern-step {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .pattern-finish {
        padding: 45px 25px;
    }

    .pattern-finish h2 {
        font-size: 32px;
    }

    .recommended-patterns {
        margin-top: 75px;
        padding-top: 55px;
    }

    .recommended-heading h2 {
        font-size: 35px;
    }

    .recommended-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .recommended-image {
        height: 360px;
    }
}


@media (max-width: 500px) {

    .pattern-title {
        font-size: 38px;
    }

    .pattern-details {
        grid-template-columns: 1fr;
    }

    .pattern-details div {
        border-right: none !important;
        border-bottom: 1px solid var(--line);
    }

    .pattern-details div:last-child {
        border-bottom: none;
    }

    .pattern-hero {
        height: 350px;
    }
}

/* Lily tutorial hero image sizing */
.lily-pattern-page .pattern-hero {
    height: 520px;
}

/* Tighter spacing between sections on the lily tutorial */
.lily-pattern-page .pattern-header {
    margin-bottom: 42px;
}

.lily-pattern-page .pattern-title {
    margin-bottom: 20px;
}

.lily-pattern-page .pattern-intro {
    margin-bottom: 0;
}

.lily-pattern-page .pattern-hero {
    margin-bottom: 55px;
}

.lily-pattern-page .pattern-section {
    margin-bottom: 55px;
}

.lily-pattern-page .pattern-written-header {
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.tweed-bag-pattern-page .pattern-written-header {
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.crochet-pouch-pattern-page .pattern-written-header {
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.lily-pattern-page .pattern-step {
    padding-bottom: 42px;
    margin-bottom: 42px;
}

.tweed-bag-pattern-page .pattern-step {
    padding-bottom: 42px;
    margin-bottom: 42px;
}

.crochet-pouch-pattern-page .pattern-step {
    padding-bottom: 42px;
    margin-bottom: 42px;
}

.lily-pattern-page .pattern-section h2 {
    margin-bottom: 18px;
}

.lily-pattern-page .pattern-section p {
    margin-bottom: 14px;
}

.tweed-bag-pattern-page .pattern-section {
    margin-bottom: 55px;
}

.tweed-bag-pattern-page .pattern-section p {
    margin-bottom: 14px;
}

.crochet-pouch-pattern-page .pattern-section {
    margin-bottom: 55px;
}

.crochet-pouch-pattern-page .pattern-section p {
    margin-bottom: 14px;
}

.lily-pattern-page .pattern-step h3 {
    margin: 0 0 22px;
    padding: 12px 16px;
    color: var(--pink-dark);
    background: var(--cream);
    border-left: 4px solid var(--pink-dark);
}

.tweed-bag-pattern-page .pattern-step h3 {
    margin: 0 0 22px;
    padding: 12px 16px;
    color: var(--pink-dark);
    background: var(--cream);
    border-left: 4px solid var(--pink-dark);
}

.crochet-pouch-pattern-page .pattern-step h3 {
    margin: 0 0 22px;
    padding: 12px 16px;
    color: var(--pink-dark);
    background: var(--cream);
    border-left: 4px solid var(--pink-dark);
}

.bow-hair-clip-pattern-page .pattern-step h3 {
    margin: 0 0 22px;
    padding: 12px 16px;
    color: var(--pink-dark);
    background: var(--cream);
    border-left: 4px solid var(--pink-dark);
}

.lily-pattern-page .pattern-step h4 {
    margin: 28px 0 10px;
    padding: 0;
    color: var(--brown);
    background: transparent;
    border: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0;
}

.tweed-bag-pattern-page .pattern-step h4 {
    margin: 28px 0 10px;
    padding: 0;
    color: var(--brown);
    background: transparent;
    border: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0;
}

.crochet-pouch-pattern-page .pattern-step h4 {
    margin: 28px 0 10px;
    padding: 0;
    color: var(--brown);
    background: transparent;
    border: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0;
}

.planter-pattern-page .pattern-step h3 {
    margin: 0 0 22px;
    padding: 12px 16px;
    color: var(--pink-dark);
    background: var(--cream);
    border-left: 4px solid var(--pink-dark);
}

.planter-pattern-page .pattern-step h4 {
    margin: 28px 0 10px;
    padding: 0;
    color: var(--brown);
    background: transparent;
    border: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0;
}

.planter-pattern-page .pattern-rounds,
.lily-pattern-page .pattern-rounds,
.bow-hair-clip-pattern-page .pattern-rounds,
.tweed-bag-pattern-page .pattern-rounds {
    margin: 16px 0 20px;
    padding: 10px 18px;
    background: var(--cream);
    border-radius: 10px;
}

.planter-pattern-page .pattern-rounds p,
.lily-pattern-page .pattern-rounds p,
.bow-hair-clip-pattern-page .pattern-rounds p,
.tweed-bag-pattern-page .pattern-rounds p {
    margin: 7px 0;
}

.planter-pattern-page .pattern-rounds p strong,
.lily-pattern-page .pattern-rounds p strong,
.bow-hair-clip-pattern-page .pattern-rounds p strong,
.tweed-bag-pattern-page .pattern-rounds p strong {
    color: var(--pink-dark);
}

.pattern-page .pattern-round-line {
    margin: 12px 0;
    padding: 12px 18px;
    color: var(--brown);
    background: var(--cream);
    border-radius: 10px;
}

.pattern-page ol.pattern-round-line {
    padding-left: 40px;
}

.pattern-page .pattern-round-line strong {
    color: var(--pink-dark);
}

.pattern-page .pattern-round-line p {
    margin: 7px 0;
}

.lily-pattern-page .pattern-video-section {
    max-width: 720px;
    text-align: left;
}

.lily-pattern-page .pattern-video-section > p,
.lily-pattern-page .pattern-video-section > .pattern-video-tip {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.lily-pattern-page .pattern-video-section > p {
    margin-bottom: 18px;
}

.lily-pattern-page .pattern-video-section > .pattern-video-tip {
    margin-bottom: 32px;
    border-left-color: var(--pink-dark);
}

.tutorial-pattern-page .pattern-video-section > .pattern-video-tip {
    border-left-color: var(--pink-dark);
    text-align: left;
}

.pattern-faq {
    max-width: 760px;
    padding: 38px 44px;
    background: var(--warm-white);
    border: 1px solid var(--line);
}

.pattern-page .pattern-faq {
    margin: 55px auto 55px;
}

.pattern-faq > h2 {
    margin-bottom: 8px;
}

.pattern-faq .pattern-faq-item {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.pattern-faq .pattern-faq-item h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.35;
}

.pattern-faq .pattern-faq-item p {
    margin-bottom: 0;
}

@media (max-width: 750px) {
    .lily-pattern-page .pattern-header {
        margin-bottom: 32px;
    }

    .lily-pattern-page .pattern-hero {
        margin-bottom: 38px;
    }

    .lily-pattern-page .pattern-section {
        margin-bottom: 40px;
    }

    .lily-pattern-page .pattern-step {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .lily-pattern-page .pattern-hero {
        height: 400px;
    }

    .pattern-faq {
        padding: 28px 24px;
    }

    .pattern-faq .pattern-faq-item h3 {
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    .lily-pattern-page .pattern-hero {
        height: 320px;
    }
}

@media (max-width: 750px) {
    .pattern-note {
        margin: 60px auto 75px;
        padding: 35px 30px;
    }

    .pattern-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 14px;
    }

    .pattern-gallery-grid figure:first-child {
        grid-row: auto;
    }

    .pattern-gallery-grid img {
        height: 280px;
    }
}

@media (max-width: 500px) {
    .pattern-note {
        padding: 30px 24px;
    }

    .pattern-note h2 {
        font-size: 29px;
    }

    .pattern-gallery-heading h2 {
        font-size: 30px;
    }

    .pattern-gallery-grid img {
        height: 240px;
    }
}

/* Tighter spacing across tutorial pattern pages */
.tutorial-pattern-page .pattern-section {
    margin-bottom: 68px;
}

.tutorial-pattern-page .pattern-written-header {
    padding-bottom: 26px;
    margin-bottom: 44px;
}

.tutorial-pattern-page .pattern-step {
    padding-bottom: 44px;
    margin-bottom: 44px;
}

.tutorial-pattern-page .pattern-step h3 {
    margin-bottom: 14px;
}

.tutorial-pattern-page .pattern-step h4 {
    margin-top: 26px;
}

.tutorial-pattern-page .pattern-step p {
    margin-bottom: 16px;
}

.tutorial-pattern-page .pattern-step ol,
.tutorial-pattern-page .pattern-step ul {
    margin-bottom: 20px;
}

.tutorial-pattern-page .pattern-step li {
    margin-bottom: 10px;
}

@media (max-width: 750px) {
    .tutorial-pattern-page .pattern-section {
        margin-bottom: 48px;
    }

    .tutorial-pattern-page .pattern-written-header {
        margin-bottom: 34px;
    }

    .tutorial-pattern-page .pattern-step {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }
}

.orchid-pattern-page .pattern-header {
    margin-bottom: 42px;
}

.orchid-pattern-page .pattern-title {
    margin-bottom: 20px;
}

.orchid-pattern-page .pattern-intro {
    margin-bottom: 0;
}

.orchid-pattern-page .pattern-hero {
    height: 520px;
    margin-bottom: 55px;
}

@media (max-width: 750px) {
    .orchid-pattern-page .pattern-header {
        margin-bottom: 32px;
    }

    .orchid-pattern-page .pattern-hero {
        height: 400px;
        margin-bottom: 38px;
    }
}

@media (max-width: 500px) {
    .orchid-pattern-page .pattern-hero {
        height: 320px;
    }
}

@media (max-width: 750px) {
    .hero,
    .home-youtube,
    .home-about,
    .supplies-section {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-youtube {
        gap: 40px;
    }

    .home-about {
        gap: 28px;
    }

    .supplies-section {
        gap: 35px;
    }

    .latest-patterns-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================
   PRIVACY POLICY PAGE
   ========================================= */

.privacy-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 35px 88px;
}

.privacy-intro {
    margin: 0 auto 42px;
    text-align: center;
}

.privacy-intro .eyebrow {
    margin: 0 0 12px;
}

.privacy-intro h1 {
    margin: 0;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 56px;
    font-weight: normal;
    line-height: 1.08;
}

.privacy-content {
    max-width: 760px;
    margin: 0 auto;
}

.privacy-content section + section {
    margin-top: 28px;
}

.privacy-content > p + section {
    margin-top: 48px;
}

.privacy-content > p + p {
    margin-top: 12px;
}

.privacy-content > p:first-child {
    color: var(--pink-dark);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.privacy-content h2 {
    margin: 0 0 9px;
    color: var(--brown);
    font-size: 21px;
    font-weight: normal;
    line-height: 1.3;
}

.privacy-content p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.privacy-content section p + p {
    margin-top: 10px;
}

.privacy-content a {
    color: var(--pink-dark);
}

.privacy-content a:hover {
    color: var(--brown);
}

.footer-column h4 a {
    display: inline;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-column h4 a:hover {
    color: var(--pink-light);
    padding-left: 0;
    text-decoration: underline;
    text-decoration-color: var(--pink-light);
}

.footer-column h4 a:focus-visible {
    color: var(--pink-light);
    outline: 1px solid var(--pink-light);
    outline-offset: 4px;
}

@media (max-width: 750px) {
    .privacy-page {
        padding: 58px 20px 68px;
    }

    .privacy-intro {
        margin-bottom: 32px;
    }

    .privacy-intro h1 {
        font-size: 44px;
    }

    .privacy-content section + section {
        margin-top: 24px;
    }
}

/* Shared typography hierarchy for all crochet pattern pages. */
.pattern-page .pattern-section h2,
.pattern-page .pattern-written-header h2,
.pattern-page .pattern-video-section h2,
.pattern-page .pattern-finish h2,
.pattern-page .pattern-step h3 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 30px;
    font-weight: normal;
    line-height: 1.25;
    margin: 0 0 18px;
}

.pattern-page .pattern-section h3,
.pattern-page .pattern-step h4 {
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.4;
    margin: 28px 0 12px;
}

.pattern-page .pattern-section p,
.pattern-page .pattern-section li,
.pattern-page .pattern-step p,
.pattern-page .pattern-step li,
.pattern-page .pattern-video-section > p,
.pattern-page .pattern-finish p,
.pattern-page .pattern-info-box li,
.pattern-page .pattern-materials-link p,
.pattern-page .pattern-abbreviations span {
    font-size: 16px;
    line-height: 1.75;
}

.pattern-page .pattern-note p {
    font-size: 16px;
    line-height: 1.75;
}

.pattern-page .pattern-note h2 {
    font-size: 30px;
    line-height: 1.25;
}

.pattern-layout > .pattern-article .pattern-note {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 70px auto;
    padding: 50px 5%;
    background: var(--cream);
    border: 1px solid var(--line);
}

@media (max-width: 750px) {
    .pattern-page .pattern-section h2,
    .pattern-page .pattern-written-header h2,
    .pattern-page .pattern-video-section h2,
    .pattern-page .pattern-finish h2,
    .pattern-page .pattern-step h3 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .pattern-page .pattern-section h3,
    .pattern-page .pattern-step h4 {
        font-size: 18px;
        line-height: 1.4;
        margin: 24px 0 10px;
    }

    .pattern-page .pattern-section p,
    .pattern-page .pattern-section li,
    .pattern-page .pattern-step p,
    .pattern-page .pattern-step li,
    .pattern-page .pattern-video-section > p,
    .pattern-page .pattern-finish p,
    .pattern-page .pattern-info-box li,
    .pattern-page .pattern-materials-link p,
    .pattern-page .pattern-abbreviations span {
        font-size: 15px;
        line-height: 1.75;
    }

    .pattern-page .pattern-note p {
        font-size: 15px;
        line-height: 1.75;
    }

    .pattern-page .pattern-note h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .pattern-layout > .pattern-article .pattern-note {
        margin: 44px auto;
        padding: 30px 24px;
    }
}

/* Keep all pattern hero and gallery photos at their original proportions. */
.pattern-page .pattern-hero,
.pattern-page .pattern-hero-image {
    height: auto;
    min-height: 0;
}

.pattern-page .pattern-hero img,
.pattern-page .pattern-hero-image img,
.pattern-page .pattern-gallery img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Consistent responsive rectangles for pattern hero and gallery images. */
.pattern-page .pattern-hero,
.pattern-page .pattern-hero-image,
.pattern-page .pattern-gallery figure {
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
}

.pattern-page .pattern-hero img,
.pattern-page .pattern-hero-image img,
.pattern-page .pattern-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pattern-page .pattern-gallery-grid {
    grid-template-rows: auto auto;
}

.pattern-page .pattern-gallery-grid figure {
    min-height: 0;
    height: auto;
    overflow: visible;
}

@media (max-width: 750px) {
    .pattern-page .pattern-gallery-grid {
        grid-template-rows: none;
    }
}

/* Compact square image at the end of each pattern article. */
.pattern-page .pattern-gallery {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.pattern-page .pattern-gallery figure {
    width: 100%;
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: transparent;
}

.pattern-page .pattern-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Keep a visible break between the lily's closing photo and FAQ panel. */
.pattern-page .pattern-article > .pattern-gallery + .pattern-faq {
    margin-top: 56px;
}

.recommended-info .recommended-view-button {
    color: var(--warm-white);
    font-size: 11px;
    letter-spacing: 0.1em;
}

@media (max-width: 750px) {
    .pattern-page .pattern-article > .pattern-gallery + .pattern-faq {
        margin-top: 40px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .patterns-grid .project-card {
        transition: transform 0.32s ease, box-shadow 0.32s ease;
    }

    .patterns-grid .project-image img {
        transition: transform 0.32s ease;
    }

    .patterns-grid .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 38px rgba(61, 51, 49, 0.12);
    }

    .patterns-grid .project-card:hover .project-image img {
        transform: scale(1.03);
    }
}

/* Shared vertical spacing rhythm across the site. */
.section,
.categories-section,
.home-youtube,
.home-about,
.latest-patterns-section,
.supplies-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.about-page {
    gap: 24px;
    padding-top: 64px;
    padding-bottom: 64px;
}

.supplies-hero {
    margin-bottom: 40px;
}

.privacy-page {
    padding-top: 64px;
    padding-bottom: 72px;
}

/* Keep tutorial content sections on one predictable spacing scale. */
.pattern-page .pattern-header {
    margin-bottom: 48px;
}

.pattern-page .pattern-hero {
    margin-bottom: 56px;
}

.pattern-page .pattern-section {
    margin-bottom: 56px;
}

.pattern-page .pattern-section h2 {
    margin-bottom: 16px;
}

.pattern-page .pattern-section p {
    margin-bottom: 14px;
}

.pattern-page .pattern-written {
    margin-bottom: 56px;
}

.pattern-page .pattern-written-header {
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.pattern-page .pattern-step {
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.pattern-page .pattern-step h3 {
    margin-bottom: 16px;
}

.pattern-page .pattern-step h4 {
    margin: 20px 0 8px;
}

.pattern-page .pattern-step p {
    margin-bottom: 12px;
}

.pattern-page .pattern-step ol,
.pattern-page .pattern-step ul {
    margin-bottom: 16px;
}

.pattern-page .pattern-step li {
    margin-bottom: 8px;
}

.pattern-page .pattern-note {
    margin-top: 56px;
    margin-bottom: 56px;
}

.pattern-page .recommended-patterns {
    margin-top: 84px;
}

.tutorial-pattern-page .pattern-video-section {
    max-width: 720px;
    text-align: left;
}

.tutorial-pattern-page .pattern-video-section > p,
.tutorial-pattern-page .pattern-video-section > .pattern-video-tip {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 750px) {
    .section,
    .categories-section,
    .home-youtube,
    .home-about,
    .latest-patterns-section,
    .supplies-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .about-page {
        gap: 20px;
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .supplies-hero {
        margin-bottom: 28px;
    }

    .privacy-page {
        padding-top: 52px;
        padding-bottom: 56px;
    }

    .pattern-page .pattern-header {
        margin-bottom: 36px;
    }

    .pattern-page .pattern-hero {
        margin-bottom: 38px;
    }

    .pattern-page .pattern-section {
        margin-bottom: 40px;
    }

    .pattern-page .pattern-written-header {
        padding-bottom: 18px;
        margin-bottom: 22px;
    }

    .pattern-page .pattern-step {
        padding-bottom: 18px;
        margin-bottom: 24px;
    }

    .pattern-page .pattern-step h4 {
        margin-top: 18px;
    }

    .pattern-page .pattern-note {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .pattern-page .recommended-patterns {
        margin-top: 60px;
    }

}

.pattern-page .pattern-faq .pattern-faq-item h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.35;
}

.pattern-page .pattern-faq .pattern-faq-item p {
    margin-bottom: 0;
}

@media (max-width: 750px) {
    .pattern-page .pattern-faq .pattern-faq-item h3 {
        font-size: 20px;
    }
}


/* CONTACT OPTIONS */
.contact-options {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 35px 38px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--warm-white);
    box-shadow: 0 8px 24px rgba(61, 51, 49, 0.045);
}

.contact-option h2 {
    margin: 0 0 12px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 28px;
    font-weight: normal;
}

.contact-option p {
    flex: 1;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.contact-option .primary-button {
    margin-top: 24px;
}

@media (max-width: 750px) {
    .contact-options {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 22px 30px;
    }
}

.contact-gallery {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 35px 90px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contact-gallery figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--pink-light);
}

.contact-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 750px) {
    .contact-gallery {
        display: flex;
        gap: 14px;
        padding: 0 22px 70px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
    }

    .contact-gallery figure {
        flex: 0 0 min(78vw, 320px);
        aspect-ratio: 4 / 3;
        scroll-snap-align: start;
    }
}



/* Sunflower pattern round groups use the same soft instruction block style as planter patterns. */
.sunflower-pattern-page .pattern-rounds {
    margin: 16px 0 20px;
    padding: 10px 18px;
    background: var(--cream);
    border-radius: 10px;
}

.sunflower-pattern-page .pattern-rounds p {
    margin: 7px 0;
}

.sunflower-pattern-page .pattern-rounds p strong {
    color: var(--pink-dark);
}


/* ORGANIZED SUPPLIES GUIDE */
.supplies-guide-nav {
    width: min(1180px, 100%);
    margin: 0 auto clamp(28px, 4vw, 48px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.supplies-guide-nav a {
    padding: 10px 16px;
    color: var(--brown);
    background: var(--warm-white);
    border: 1px solid var(--line);
    font-size: 13px;
    transition: background-color .2s ease, color .2s ease;
}

.supplies-guide-nav a:hover {
    color: var(--brown);
    background: var(--pink-light);
}

.supplies-guide {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.supplies-guide-section {
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--warm-white);
    box-shadow: 0 8px 24px rgba(61, 51, 49, .045);
    scroll-margin-top: 120px;
}

.supplies-guide-overview {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(24px, 3vw, 36px);
    border-bottom: 1px solid var(--line);
    background: var(--cream);
}

.supplies-guide-image {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    justify-self: center;
    overflow: hidden;
    background: var(--pink-light);
}

.supplies-guide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supplies-guide-intro {
    min-width: 0;
}

.supplies-guide-intro .eyebrow {
    margin: 0 0 8px;
    color: var(--pink-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}

.supplies-guide-intro h2 {
    margin: 0 0 12px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: clamp(29px, 3vw, 38px);
    font-weight: normal;
    line-height: 1.15;
}

.supplies-guide-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.supplies-guide-content {
    min-width: 0;
    padding: clamp(24px, 3vw, 36px);
}

.supplies-guide-content > h3 {
    margin: 28px 0 10px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 22px;
    font-weight: normal;
}

.supplies-guide-content > p:not(.eyebrow) {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.supply-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.supply-type-card {
    min-width: 0;
    padding: 20px;
    background: var(--cream);
    border: 1px solid var(--line);
}

.supply-type-card h3 {
    margin: 0 0 10px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.3;
}

.supply-type-card h4 {
    margin: 18px 0 7px;
    color: var(--brown);
    font-size: 14px;
    font-weight: 700;
}

.supply-type-card p {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.supply-type-card p:last-child {
    margin-bottom: 0;
}

.supply-type-card .text-button {
    margin-top: 8px;
    line-height: 1.7;
}

.supply-table-wrap {
    max-width: 100%;
    margin: 18px 0 26px;
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--warm-white);
}

.supply-hook-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.supply-hook-table th,
.supply-hook-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.supply-hook-table thead th {
    color: var(--brown);
    background: var(--pink-light);
    font-weight: 700;
}

.supply-hook-table tbody th {
    color: var(--brown);
    font-weight: 600;
}

.supply-hook-table tbody tr:last-child th,
.supply-hook-table tbody tr:last-child td {
    border-bottom: 0;
}

.supply-bullet-list {
    margin: 0 0 22px;
    padding-left: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.supply-bullet-list li {
    margin-bottom: 8px;
    padding-left: 5px;
}

.supply-bullet-list li::marker {
    color: var(--pink-dark);
}

.supplies-final-note {
    margin: 38px 0 18px;
    padding: clamp(24px, 4vw, 42px);
    background: var(--pink-light);
    text-align: center;
}

.supplies-final-note h2 {
    margin: 0 0 14px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 30px;
    font-weight: normal;
}

.supplies-final-note p {
    max-width: 780px;
    margin: 0 auto 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.supplies-disclosure {
    margin: 0 auto;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 850px) {
    .supplies-guide-overview {
        grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
        gap: 24px;
        padding: 24px;
    }

    .supplies-guide-image {
        max-width: 290px;
    }

    .supplies-guide-content {
        padding: 24px;
    }
}

@media (max-width: 620px) {
    .supplies-guide-nav {
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

    .supplies-guide-nav a {
        flex: 0 0 auto;
        font-size: 12px;
    }

    .supplies-guide-section {
        margin-bottom: 18px;
    }

    .supplies-guide-overview {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .supplies-guide-image {
        width: min(100%, 300px);
        max-width: 300px;
    }

    .supplies-guide-intro h2 {
        font-size: 29px;
    }

    .supplies-guide-content {
        padding: 22px 20px;
    }

    .supply-type-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .supplies-guide-content .primary-button {
        width: 100%;
    }
}

/* Show the full original portrait supplies photo in the page hero. */
.supplies-guide-page .supplies-hero-image {
    height: auto;
    aspect-ratio: 3 / 4;
    align-self: center;
}

.supplies-guide-page .supplies-hero-image img {
    object-fit: contain;
}

.supplies-guide-page .supplies-hero-content > .eyebrow {
    color: var(--pink-dark);
}

/* ABOUT PAGE STORY AND FOLLOW-UP SECTIONS */
.about-page {
    gap: 24px;
    padding: 64px 35px 82px;
}

.about-detail {
    display: block;
    padding: clamp(26px, 4vw, 48px);
}

.about-story-opening {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}

.about-detail-content {
    max-width: 700px;
}

.about-detail-content .eyebrow,
.about-pattern-content .eyebrow,
.about-social-section > .eyebrow {
    margin: 0 0 10px;
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
}

.about-detail-content h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -1.4px;
}

.about-detail-content p,
.about-story-copy p {
    max-width: none;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.about-detail-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 1 / 1;
    justify-self: end;
}

.about-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-story-copy {
    max-width: 900px;
    margin: 40px auto 0;
}

.about-story-copy strong {
    color: var(--brown);
}

.about-pattern-promo {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(28px, 5vw, 62px);
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--warm-white);
    box-shadow: 0 8px 24px rgba(61, 51, 49, .045);
}

.about-pattern-image {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--pink-light);
}

.about-pattern-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-pattern-content h2,
.about-social-section h2 {
    margin: 0 0 14px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: normal;
    line-height: 1.15;
}

.about-pattern-content p:not(.eyebrow),
.about-social-section > p:not(.eyebrow) {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-contact .primary-button {
    margin-top: 12px;
}

.about-social-section {
    padding: 36px 24px 12px;
    text-align: center;
}

.about-social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 28px auto 0;
}

.about-social-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: var(--warm-white);
    color: var(--brown);
    font-size: 14px;
    transition: background-color .2s ease, color .2s ease;
}

.about-social-links a:hover {
    color: var(--pink-dark);
    background: var(--pink-light);
}

@media (max-width: 850px) {
    .about-page {
        padding: 46px 20px 58px;
    }

    .about-story-opening,
    .about-pattern-promo {
        grid-template-columns: 1fr;
    }

    .about-detail-image {
        max-width: 360px;
        justify-self: start;
    }

    .about-pattern-image {
        max-width: 360px;
        justify-self: center;
    }
}

@media (max-width: 600px) {
    .about-detail {
        padding: 22px;
    }

    .about-detail-content h1 {
        font-size: 40px;
    }

    .about-story-copy {
        margin-top: 28px;
    }

    .about-pattern-promo {
        gap: 22px;
        padding: 20px;
    }

    .about-social-links {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    .about-social-section {
        padding: 22px 0 0;
    }
}

/* Refined About page: keep the story editorial and reduce stacked card framing. */
.about-page {
    gap: 12px;
    padding: clamp(38px, 6vw, 72px) 35px 82px;
}

.about-detail {
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-story-opening {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: clamp(36px, 6vw, 76px);
}

.about-detail-content h1 {
    max-width: 650px;
    font-size: clamp(38px, 4.2vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.about-detail-image {
    max-width: 400px;
    border-radius: 6px;
}

.about-story-copy {
    max-width: 820px;
    margin-top: 42px;
}

.about-pattern-promo {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: clamp(30px, 6vw, 72px);
    padding: 42px 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-pattern-image {
    max-width: 340px;
    border-radius: 6px;
}

.about-contact {
    max-width: 980px;
    margin: 16px auto 0;
    padding: 38px 32px 40px;
    border: 0;
    border-radius: 6px;
    background: var(--pink-light);
    box-shadow: none;
}

.about-social-section {
    padding: 30px 24px 0;
}

.about-social-links {
    max-width: 780px;
    gap: 24px;
}

.about-social-links a {
    justify-content: center;
    gap: 14px;
    padding: 14px 8px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.about-social-links a:hover {
    border-bottom-color: var(--pink-dark);
    background: transparent;
}

@media (max-width: 850px) {
    .about-page {
        padding: 46px 24px 62px;
    }

    .about-story-opening {
        grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr);
        gap: 28px;
    }

    .about-detail-image {
        max-width: 340px;
    }

    .about-pattern-promo {
        grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
        gap: 28px;
        padding: 34px 0;
    }

    .about-pattern-image {
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .about-page {
        padding: 34px 20px 48px;
        gap: 8px;
    }

    .about-story-opening,
    .about-pattern-promo {
        grid-template-columns: 1fr;
    }

    .about-detail-image {
        max-width: 300px;
        justify-self: center;
    }

    .about-story-copy {
        margin-top: 28px;
    }

    .about-pattern-promo {
        gap: 22px;
        padding: 28px 0;
    }

    .about-pattern-image {
        max-width: 280px;
        justify-self: center;
    }

    .about-contact {
        padding: 30px 20px;
    }

    .about-social-section {
        padding: 24px 0 0;
    }

    .about-social-links {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* Consistent About page section sizing and order. */
.about-page {
    max-width: 1160px;
    gap: 24px;
    padding: clamp(32px, 5vw, 64px) 30px 76px;
}

.about-detail,
.about-pattern-promo,
.about-contact,
.about-social-section {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--warm-white);
    box-shadow: 0 7px 20px rgba(61, 51, 49, .045);
}

.about-detail {
    padding: clamp(24px, 4vw, 44px);
}

.about-story-heading {
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: center;
}

.about-story-heading .eyebrow {
    margin: 0 0 10px;
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
}

.about-story-heading h1 {
    margin: 0;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: normal;
    line-height: 1.08;
    letter-spacing: -1px;
}

.about-detail-image {
    width: min(100%, 500px);
    max-width: 500px;
    margin: 0 auto 32px;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
}

.about-story-copy {
    max-width: 780px;
    margin: 0 auto;
}

.about-story-copy p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.about-pattern-promo {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 56px);
    padding: clamp(24px, 4vw, 40px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--warm-white);
}

.about-pattern-image {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3 / 4;
    justify-self: center;
}

.about-contact {
    max-width: none;
    margin: 0;
    padding: 34px 30px;
    background: var(--pink-light);
    text-align: center;
}

.about-contact h2 {
    margin: 0 0 10px;
    color: var(--brown);
    font-family: 'Google Sans', Arial, sans-serif;
    font-size: 28px;
    font-weight: normal;
}

.about-contact p {
    max-width: 650px;
    margin: 0 auto 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.about-contact .primary-button {
    margin-top: 0;
}

.about-social-section {
    padding: 34px 30px;
    text-align: center;
}

.about-social-section > .eyebrow {
    margin: 0 0 8px;
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
}

.about-social-section h2 {
    margin-bottom: 8px;
    font-size: 30px;
}

.about-social-section > p:not(.eyebrow) {
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.about-social-links {
    max-width: 840px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto;
}

.about-social-links a {
    min-height: 54px;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--cream);
    color: var(--brown);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

.about-social-links a:hover {
    border-color: var(--pink-dark);
    background: var(--pink-light);
}

@media (max-width: 850px) {
    .about-page {
        padding: 42px 24px 58px;
    }

    .about-pattern-promo {
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
        gap: 26px;
        padding: 26px;
    }

    .about-pattern-image {
        max-width: 280px;
    }
}

@media (max-width: 600px) {
    .about-page {
        gap: 16px;
        padding: 30px 18px 44px;
    }

    .about-detail,
    .about-pattern-promo,
    .about-contact,
    .about-social-section {
        padding: 22px 18px;
    }

    .about-story-heading {
        margin-bottom: 22px;
    }

    .about-story-heading h1 {
        font-size: 36px;
    }

    .about-detail-image {
        width: min(100%, 340px);
        margin-bottom: 24px;
    }

    .about-pattern-promo {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-pattern-image {
        max-width: 270px;
    }

    .about-social-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* About page social cards */
.about-social-links {
    max-width: 960px;
    gap: 16px;
}

.about-social-links a {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    color: var(--brown);
    text-align: center;
    text-decoration: none;
}

.about-social-links a:hover {
    border-color: var(--pink-light);
    background: var(--pink-light);
    color: var(--brown);
}

.about-social-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pink-light);
    color: var(--pink-dark);
}

.about-social-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.about-social-links a:nth-child(2) .about-social-icon svg path:last-child {
    fill: currentColor;
    stroke: none;
}

.about-social-copy {
    display: grid;
    gap: 4px;
}

.about-social-copy strong {
    font-size: 14px;
    font-weight: 600;
}

.about-social-copy small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .about-social-links a {
        min-height: 110px;
    }
}
