/* ---------- Fonts (self-hosted, latin subset, variable weight) ----------
   Served from our own domain instead of Google Fonts: no extra connections,
   and the heading font is preloaded in each page's <head>. All four are SIL OFL. */
@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-display: swap;
    font-weight: 300 900;
    src: url('../fonts/rubik.woff2') format('woff2-variations'), url('../fonts/rubik.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../fonts/inter.woff2') format('woff2-variations'), url('../fonts/inter.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-display: swap;
    font-weight: 200 1000;
    src: url('../fonts/nunito.woff2') format('woff2-variations'), url('../fonts/nunito.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-display: swap;
    font-weight: 400 700;
    src: url('../fonts/caveat.woff2') format('woff2-variations'), url('../fonts/caveat.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* =========================================================
   Sarah Reilly's Creations — styles.css
   =========================================================

   TABLE OF CONTENTS  (search for the number, e.g. "6.3", to jump there)

    1. Tokens ........................ colors, fonts, spacing, shadows
    2. Reset & base
    3. Shared components
       3.1 Text, headings & highlights
       3.2 Buttons & links
       3.3 Paper, tape & torn edges
       3.4 Phone frames & TikTok-style videos
    4. Site header ................... announcement bar, header, nav
    5. Site footer
    6. Home page
       6.1 Hero          6.4 How it works     6.7 Reviews
       6.2 What I make   6.5 Recent work      6.8 Follow along
       6.3 Pricing       6.6 Meet Sarah       6.9 Order CTA
    7. About page .................... 7.7 = Privacy & Terms pages
    8. Order page .................... steps, price cards, request form
    9. Portfolio page ................ filters, flyers, videos, invites, lightbox
   10. Utilities
   11. Responsive .................... 1300px, 900px, 700px, reduced motion
   ========================================================= */

/* =========================================================
   1. TOKENS
   Change brand values here and they update everywhere.
   ========================================================= */
   
   
:root {
    /* brand colors */
    --Deep-green: #2E5248;
    --Sage-teal: #6F9598;
    --Sage: #9DB9A6;
    --Sage-mist: #B4C9BA;
    --Light-Sage: #DCE8DF;
    --cream: #FBF7EC;
    --white: #ffffff;
    --Accent: #B84C36;
    --Tape: #E2D5B0;
    --Note-yellow: #F6E7A1;

    /* fonts */
    --font-Headings: 'Rubik', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-ui: 'Inter', sans-serif;
    --display-script: 'Caveat', cursive;

    /* font sizes */
    --fs-body: 18px;
    --fs-h1: 56px;
    --fs-h2: 36px;
    --fs-h3: 24px;
    --fs-small-text: 14px;
    --fs-button: 16px;
    --fs-display-script: 44px;
    --fs-caption-script: 26px;

    /* spacing */
    --space-2xs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* layout */
    --container: 1280px;
    --gutter: 80px;
    --section-pad: var(--space-4xl);
    --heading-gap: var(--space-xl);
    --button-pad: 8px 26px;

    /* radius */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    /* borders */
    --border-thin: 1.5px solid var(--Deep-green);
    --border: 2.5px solid var(--Deep-green);

    /* shadows */
    --shadow-hard-sm: 3px 3px 0 var(--Deep-green);
    --shadow-hard: 4px 4px 0 var(--Deep-green);
    --shadow-tape: 0 1px 2px rgba(0, 0, 0, 0.10);
    --shadow-card: 2px 6px 12px rgba(0, 0, 0, 0.14);
    --shadow-photo: 0 4px 8px rgba(26, 36, 28, 0.28);
    --shadow-lifted: 3px 10px 18px rgba(0, 0, 0, 0.20);
    --shadow-paper: 0 1px 2px rgba(0, 0, 0, 0.10), 4px 12px 18px -4px rgba(46, 82, 71, 0.18);

    /* paper grain (matches the Figma noise effect) */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='luminanceToAlpha'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 .12 .12 .12 .12 .12 .12 .12 .12 .12 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

    /* motion */
    --ease: cubic-bezier(.34, 1.56, .64, 1);
    --duration: 200ms;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--grain) var(--cream);
    color: var(--Deep-green);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto; /* lets width/height attributes reserve space without stretching images */
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
}

.container {
    position: relative;
    max-width: var(--container);
    margin-inline: auto;
}

/* =========================================================
   3. SHARED COMPONENTS
   Pieces used on more than one page.
   ========================================================= */

/* ---------- 3.1 Text, headings & highlights ---------- */
.section-heading h2,
.about-text h2,
.cta h2,
.social h2 {
    position: relative;
    isolation: isolate;
    color: var(--Deep-green);
    font-family: var(--font-Headings);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.4;
}

.section-heading p {
    margin-top: var(--space-xs);
    font-size: var(--fs-body);
    line-height: 1.4;
}

.heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.script-sub,
.section-heading .script-sub {
    margin-top: 4px;
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.section-heading.centered {
    text-align: center;
}

.section-heading .eyebrow {
    margin: 0 0 4px;
    font-size: 26px;
}

.page-hero h1 {
    color: var(--Deep-green);
    font-family: var(--font-Headings);
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: 1.15;
}

.lead {
    font-size: var(--fs-body);
    line-height: 1.6;
}

.giving h2,
.story-card h2,
.portfolio-cta h2,
.simple-cta h2 {
    color: var(--Deep-green);
    font-family: var(--font-Headings);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.25;
}

/* red marker highlight behind words */
mark {
    position: relative;
    background: none;
    color: inherit;
}

mark::after {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: 0.18em;
    height: 0.45em;
    z-index: -1;
    background: var(--Accent);
    opacity: 0.3;
    border-radius: 6px;
    transform: rotate(1.5deg);
}

/* handwritten notes */
.note,
.eyebrow {
    color: var(--Accent);
    font-family: var(--display-script);
    font-weight: 700;
    line-height: 1.25;
}
/* ---------- 3.2 Buttons & links ---------- */
/* taped scrapbook button (header, pricing, how it works, CTAs) */
.btn-tape {
    --tilt: 2deg;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--button-pad);
    background: var(--Accent);
    color: var(--cream);
    font-family: var(--display-script);
    font-size: var(--fs-caption-script);
    font-weight: 700;
    line-height: 1.27;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 3px;
    box-shadow: var(--shadow-hard);
    transform: rotate(var(--tilt));
    transition: transform var(--duration) var(--ease), box-shadow var(--duration);
}

.btn-tape::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 54px;
    height: 18px;
    background: var(--Tape);
    opacity: 0.85;
    box-shadow: var(--shadow-tape);
    transform: translateX(-50%) rotate(-4deg);
}

.btn-tape:hover,
.btn-tape:focus-visible {
    transform: rotate(var(--tilt)) translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--Deep-green);
}

/* rounded-corner button (home hero) */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-Headings);
    font-size: var(--fs-button);
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--duration) var(--ease);
}

.btn-primary {
    background: var(--Deep-green);
    color: var(--cream);
}

.btn-outline {
    border: var(--border-thin);
    color: var(--Deep-green);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

/* pill button (about, order, portfolio) */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--Accent);
    color: var(--cream);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform var(--duration) var(--ease), background var(--duration);
}

.btn-pill:hover,
.btn-pill:focus-visible {
    transform: translateY(-2px);
    background: #a23f2b;
}



.btn-pill-light:hover,
.btn-pill-light:focus-visible {
    background: rgba(184, 76, 54, 0.18);
}

/* plain text button (form Back) */
.btn-link {
    padding: 4px 0;
    background: none;
    border: none;
    color: var(--Deep-green);
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

/* handwritten link with wavy underline */
.wavy-link {
    display: inline-block;
    padding-bottom: 14px;
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    background: url("../images/wavy-underline.svg") no-repeat left bottom / 165px 10px;
}

.wavy-link:hover,
.wavy-link:focus-visible {
    color: var(--Deep-green);
}

.wavy-link.small {
    margin-top: 20px;
    font-size: 24px;
}
/* ---------- 3.3 Paper, tape & torn edges ---------- */
/* torn paper edges at the top of sections */
.edge-cream,
.edge-sage,
.edge-sage-dark {
    position: relative;
}

.edge-cream::before,
.edge-sage::before,
.edge-sage-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background: url("../images/torn-edge-section.svg") no-repeat top / 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.edge-sage::before      { background-image: url("../images/torn-edge-sage.svg"); }

.edge-sage-dark::before { background-image: url("../images/torn-edge-sage-dark.svg"); }

/* white paper card with two tape strips */
.paper-card {
    position: relative;
    background: var(--white);
    border-radius: 3px;
    box-shadow: var(--shadow-card);
}

.paper-card::before,
.paper-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 30px;
    background: var(--Tape);
    opacity: 0.85;
    box-shadow: var(--shadow-tape);
}

.paper-card::before { top: -14px; left: 30px;  transform: rotate(3deg); }

.paper-card::after  { top: -24px; right: 40px; transform: rotate(-4deg); }

/* polaroid with a caption and tape */
.polaroid-photo {
    position: relative;
    padding: 12px 12px 14px;
    background: var(--white);
    border-radius: 2px;
    box-shadow: var(--shadow-lifted);
}

.polaroid-photo::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    width: 90px;
    height: 26px;
    background: var(--Tape);
    opacity: 0.85;
    transform: translateX(-50%) rotate(-2deg);
}

.polaroid-photo img {
    width: 100%;
    object-fit: cover;
}

.polaroid-photo figcaption {
    margin-top: 10px;
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}
/* ---------- 3.4 Phone frames & TikTok-style videos ---------- */
/* phone frame (home Follow along + portfolio videos) */
.phone {
    position: absolute;
    display: block;
    width: 180px;
    height: 350px;
    padding: 8px;
    background: var(--Deep-green);
    border-radius: 28px;
    box-shadow: var(--shadow-lifted);
}

.phone img, .phone video {
    width: 164px;
    height: 334px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: #1f3a33;
}

/* notch */
.phone::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 65px;
    z-index: 1;
    width: 50px;
    height: 8px;
    background: var(--Deep-green);
    border-radius: 4px;
}

/* play button */
.phone::after {
    content: "";
    position: absolute;
    top: 148px;
    left: 63px;
    width: 54px;
    height: 54px;
    background: url("../images/play-icon.svg") no-repeat center / contain;
}

/* phones that sit in a row instead of being positioned */
.phone.phone-static {
    position: relative;
    margin-inline: auto;
}

.phone-static img, .phone-static video {
    width: 100%;
    height: 100%;
}

.phone-static::before {
    left: calc(50% - 25px);
}

.phone-static::after {
    top: calc(50% - 27px);
    left: calc(50% - 27px);
}

/* phones that play video */
button.phone{
    border: none;
    cursor: pointer;
}

.phone-static video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: #1f3a33;
}

/* simple caption over the cover */
.reel-caption {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 28px 12px 10px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    pointer-events: none;
}

/* hide the play icon and caption while playing */
.phone.is-playing::after,
.phone.is-playing .reel-caption {
    display: none;
}

/* TikTok overlay */
.phone-tt {
    background: #111;          /* TikTok's black screen edge */
    overflow: hidden;
}

.phone-tt video {
    background: #000;
}

/* TikTok's see-through white play triangle */
.phone-tt::after {
    top: calc(50% - 22px);
    left: calc(50% - 18px);
    width: 40px;
    height: 44px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 44'%3E%3Cpath d='M4 2l34 20L4 42z' fill='white' fill-opacity='.75'/%3E%3C/svg%3E") no-repeat center / contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.tt-ui {
    position: absolute;
    display: block;
    inset: 8px;
    border-radius: var(--radius-lg);
    color: #fff;
    font-family: var(--font-ui);
    text-align: left;
    pointer-events: none;
    /* dark fades so the white text is readable on any video */
    background:
        linear-gradient(rgba(0, 0, 0, 0.35), transparent 18%),
        linear-gradient(transparent 60%, rgba(0, 0, 0, 0.55));
}

.tt-top {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 22px;
    font-size: 10px;
    font-weight: 600;
}

.tt-top span {
    opacity: 0.7;
}

.tt-top b {
    padding-bottom: 2px;
    border-bottom: 2px solid #fff;
}

.tt-actions {
    position: absolute;
    right: 6px;
    bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tt-actions svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.tt-actions small {
    display: block;
    font-size: 8px;
    font-weight: 600;
    text-align: center;
}

.tt-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    background: var(--Accent);
    border: 2px solid #fff;
    border-radius: 50%;
    font-family: var(--display-script);
    font-size: 16px;
    font-weight: 700;
}

.tt-info {
    position: absolute;
    display: block;
    left: 10px;
    right: 40px;
    bottom: 14px;
    font-size: 9px;
    line-height: 1.35;
}

.tt-info strong {
    font-size: 10px;
}

.tt-ui .tt-info p,
.tt-info > span {
    display: block;
    margin-top: 3px;
}

.tt-sound {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* spinning record in the corner */
.tt-disc {
    position: absolute;
    right: 8px;
    bottom: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--Accent) 0 4px, #222 5px 100%);
    border: 3px solid #333;
}

.phone-tt.is-playing .tt-disc {
    animation: tt-spin 4s linear infinite;
}

@keyframes tt-spin {
    to { transform: rotate(360deg); }
}

/* progress bar along the bottom */
.tt-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: var(--progress, 0%);
    background: #fff;
    border-radius: 2px;
}

/* =========================================================
   4. SITE HEADER
   Announcement bar, logo, nav and Order now button.
   ========================================================= */
.announcement-bar {
    display: flex;
    justify-content: center;
    padding: 10px var(--gutter);
    background-color: var(--Deep-green);
}

.announcement-bar p {
    color: var(--cream);
    font-family: var(--font-ui);
    font-size: var(--fs-small-text);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 2px var(--gutter);
    background: var(--grain) var(--cream);
}

/* torn paper edge under the header */
header::after {
    content: "";
    position: absolute;
    top: calc(100% - 11px);
    left: 0;
    width: 100%;
    height: 31px;
    background: url("../images/torn-edge-cream.svg") no-repeat top / 100% 100%;
    pointer-events: none;
}

.navbar-brand {
    position: relative;
    z-index: 1;          /* sit above the torn paper edge so the ribbon isn't cut off */
    display: flex;
    align-items: center;
    width: 100px;
}

.navbar-brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

header nav a {
    position: relative;
    isolation: isolate;
    color: var(--Deep-green);
    font-family: var(--display-script);
    font-size: var(--fs-caption-script);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

/* marker highlight: always on for the current page, sweeps in on hover for the rest */
header nav ul a::after {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: 6px;
    height: 14px;
    z-index: -1;
    background: var(--Accent);
    opacity: 0.28;
    border-radius: 6px;
    transform: rotate(2deg);
    transform-origin: left center;
    scale: 0 1;
    transition: scale 0.25s cubic-bezier(.22, 1, .36, 1);
}

header nav a[aria-current="page"]::after,
header nav ul a:hover::after,
header nav ul a:focus-visible::after {
    scale: 1 1;
}

/* current page gets a sage green marker so it looks different from the pink hover */
header nav a[aria-current="page"]::after {
    background: var(--Sage);
    opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
    header nav ul a::after { transition: none; }
}

/* hamburger button (shows at 900px and below) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: var(--cream);
    border: 2px solid var(--Deep-green);
    border-radius: 10px;
    box-shadow: var(--shadow-hard-sm);
    cursor: pointer;
    transform: rotate(-3deg);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--Deep-green);
    border-radius: 2px;
    transition: transform var(--duration), opacity var(--duration);
}

/* turns into an X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-close,
.nav-order{
    display: none;
}
/* =========================================================
   5. SITE FOOTER
   ========================================================= */
.site-footer {
    padding: 88px var(--gutter) 56px;
    background: var(--grain) var(--Deep-green);
    color: var(--Light-Sage);
}

.credit{
    color: var(--Accent);
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-brand img {
    width: 150px;
    height: 132px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--cream);
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.site-footer h2 {
    margin-bottom: 10px;
    color: var(--cream);
    font-family: var(--display-script);
    font-size: var(--fs-caption-script);
    font-weight: 700;
    line-height: 1.4;
}

.site-footer ul,
.site-footer address {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-style: normal;
}
.site-footer address h2 {
    margin-bottom: 0;
}

.site-footer li,
.site-footer address a,
.site-footer address p {
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 20px;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--cream);
    text-decoration: underline;
}

.site-footer hr {
    height: 1px;
    margin: var(--space-xl) 0;
    border: none;
    background: rgba(220, 232, 223, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.footer-bottom small {
    font-family: var(--font-ui);
    font-size: 16px;
}

.footer-bottom .credit {
    color: #D9654D;   /* light coral, close to the accent but readaFble on the dark green */
    font-size: 16px;
}

.made-with-love {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--Tape);
    color: var(--Deep-green);
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    border-radius: var(--radius-xs);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transform: rotate(2deg);
}

.made-with-love img {
    width: 20px;
}

/* =========================================================
   6. HOME PAGE
   index.html
   ========================================================= */

/* ---------- 6.1 Hero ---------- */
.hero {
    position: relative;
    min-height: 739px;
    background: var(--grain) var(--cream);
    overflow: hidden;
}

.location-label {
    position: absolute;
    top: 54px;
    left: calc(50% - 652px);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 16px 8px 12px;
    background: var(--Light-Sage);
    border-radius: var(--radius-xs);
    box-shadow: 1px 3px 4px rgba(46, 82, 71, 0.14);
    transform: rotate(1.5deg);
    color: var(--Deep-green);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
}

.location-label .pin {
    width: 14px;
    height: 18px;
}

.location-label::before {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    width: 44px;
    height: 16px;
    background: var(--Tape);
    transform: rotate(-24deg);
}

.hero-text {
    width: 600px;
    margin-left: calc(50% - 657px);
    padding-top: 151px;
}

.hero-text h1 {
    position: relative;
    isolation: isolate;
    color: var(--Deep-green);
    font-family: var(--font-Headings);
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: 1.4;
}

.hero-text mark::after {
    bottom: 8px;
    height: 24px;
    transform: rotate(1deg);
}

.hero-intro {
    max-width: 560px;
    margin-top: 20px;
    font-size: var(--fs-body);
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: 28px;
}

.hero-note {
    position: absolute;
    top: 14px;
    left: calc(50% + 258px);
    font-size: 30px;
    white-space: nowrap;
    transform: rotate(-2deg);
}

/* note sits on one line, centered over where the flyer and reel meet */
.hero-note br {
    display: none;
}

/* two arrows from the note: one down to the flyer, one down to the reel */
.hero-arrow {
    position: absolute;
    top: 58px;
    width: 72px;
}

.hero-arrow-left {
    left: calc(50% + 228px);
    transform: scaleX(-1);
}

.hero-arrow-right {
    left: calc(50% + 462px);
}

.collage-photo {
    position: absolute;
    top: 152px;
    height: 384px;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: var(--shadow-photo);
}

.collage-1 {
    left: calc(50% + 76px);
    width: 297px;
    transform: rotate(6deg);
}

.collage-2 {
    left: calc(50% + 398px);
    width: 218px;
    transform: rotate(-6deg);
}

.paperclip {
    position: absolute;
    top: 66px;
    left: calc(50% + 362px);
    width: 32px;
    z-index: 2;
}

/* hero sticky note */
.hero-sticky {
    position: absolute;
    top: 574px;
    left: calc(50% - 640px);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    width: 175px;
    padding: 26px 20px 20px;
    background: linear-gradient(180deg, #faeda0, #f2dc7a);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10), 2px 10px 14px -4px rgba(64, 51, 13, 0.18);
    transform: rotate(-3deg);
}

.hero-sticky .stars {
    color: var(--Accent);
    font-family: var(--font-Headings);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-sticky p:last-child {
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.hero-sticky::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 64px;
    height: 20px;
    background: var(--Tape);
    opacity: 0.85;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    transform: translateX(-50%) rotate(5deg);
}

.hero-sticky::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(315deg, var(--cream) 50%, #e8cf66 50%);
}

/* stamp */
.stamp {
    position: absolute;
    top: 579px;
    left: calc(50% + 319px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 128px;
    height: 128px;
    border: 3.4px dashed var(--Accent);
    border-radius: 50%;
    color: var(--Accent);
    text-align: center;
    transform: rotate(-0.5deg);
}

.stamp::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1.7px solid var(--Accent);
    border-radius: 50%;
}

.stamp span:first-child {
    font-family: var(--font-Headings);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.stamp strong {
    font-family: var(--font-Headings);
    font-size: 29px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.stamp span:last-child {
    font-family: var(--display-script);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.sparkle-1 {
    position: absolute;
    top: 76px;
    left: calc(50% - 174px);
    width: 48px;
}

.sparkle-2 {
    position: absolute;
    top: 40px;
    left: calc(50% + 593px);
    width: 38px;
}
/* ---------- 6.2 What I make ---------- */
.categories {
    padding: var(--section-pad) var(--gutter);
    background: var(--grain) var(--Sage-mist);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--heading-gap);
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

.tile:nth-child(1) { transform: rotate(1.5deg); }

.tile:nth-child(2) { transform: rotate(-1.2deg); }

.tile:nth-child(3) { transform: rotate(1deg); }

.tile:nth-child(4) { transform: rotate(-1.5deg); }

.tile::before {
    content: "";
    position: absolute;
    top: -13px;
    left: 50%;
    z-index: 2;
    width: 70px;
    height: 22px;
    background: var(--Tape);
    opacity: 0.85;
    box-shadow: var(--shadow-tape);
    transform: translateX(-50%) rotate(-4deg);
}

.tile:nth-child(even)::before {
    transform: translateX(-50%) rotate(4deg);
}

.tile > img,
.video-thumbs {
    width: 100%;
    height: 383px;
    border: 10px solid var(--white);
    border-radius: 3px;
    box-shadow: var(--shadow-card);
}

.tile > img {
    object-fit: cover;
    background: var(--white);
}

.tile h3 {
    font-family: var(--font-Headings);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.tile-link {
    display: inline-block;
    padding-bottom: 10px;
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    background: url("../images/scribble.svg") no-repeat left bottom / 100% 12px;
    transform: rotate(1.5deg);
}

.tile-link:hover,
.tile-link:focus-visible {
    color: var(--Deep-green);
}

.video-thumbs {
    position: relative;
    background: #f2ede2;
    overflow: hidden;
}

/* two reels side by side, sized as a % of the card so they always fit inside it */
.video-thumbs img, .video-thumbs video {
    position: absolute;
    top: 50%;
    width: 44%;
    height: auto;
    max-height: 88%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.video-thumbs img:first-child, .video-thumbs video:first-child {
    left: 6%;
    transform: translateY(-48%) rotate(-4deg);
}

.video-thumbs img:last-child, .video-thumbs video:last-child {
    left: 50%;
    transform: translateY(-52%) rotate(3deg);
}


.tag {
    position: absolute;
    top: -35px;
    right: -50px;
    z-index: 3;
    padding: 4px 14px;
    background: var(--Accent);
    color: var(--cream);
    font-family: var(--display-script);
    font-size: var(--fs-caption-script);
    font-weight: 700;
    line-height: 1.3;
    border-radius: 3px;
    box-shadow: var(--shadow-hard-sm);
    transform: rotate(-8deg);
}
/* ---------- 6.3 Pricing ---------- */
.pricing {
    padding: var(--section-pad) var(--gutter) 121px;
    background:
        linear-gradient(90deg, rgba(107, 149, 152, 0.14) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(180deg, rgba(107, 149, 152, 0.14) 1px, transparent 1px) 0 0 / 32px 32px,
        var(--grain),
        var(--cream);
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--heading-gap);
}

.price-card {
    --card-tilt: -1deg;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 417px;
    padding: 36px;
    background: var(--white);
    border: 1px solid #d0d0d0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    transform: rotate(var(--card-tilt));
}

.price-card:nth-child(2) {
    --card-tilt: 1deg;
}

/* tape on the card's top-left corner */
.price-card::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 12px;
    width: 70px;
    height: 22px;
    background: var(--Tape);
    opacity: 0.85;
    box-shadow: var(--shadow-tape);
    transform: rotate(-3deg);
}

.price-card h3 {
    font-family: var(--font-Headings);
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.4;
}

/* price with two hand-drawn circles */
.price {
    position: relative;
    color: var(--Accent);
    font-family: var(--font-Headings);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.4;
}

.price::before,
.price::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--Accent);
    pointer-events: none;
}

.price::before {
    top: -11px;
    left: -28px;
    width: 145px;
    height: 86px;
    transform: rotate(4deg);
}

.price::after {
    top: -7px;
    left: -22px;
    width: 137px;
    height: 80px;
    border-width: 2px;
    transform: rotate(-3deg);
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    color: var(--Sage-teal);
    font-family: var(--font-ui);
    font-size: 15px;
}

.checklist li::before {
    content: "✓";
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.price-card .btn-tape {
    margin-top: 20px;
}

.price-card:nth-child(2) .btn-tape {
    --tilt: -2deg;
}

/* sample flyer/video pinned to the card */
.sample img, .sample video {
    position: absolute;
    top: 38px;
    right: 48px;
    width: 271px;
    height: 346px;
    padding: 10px;
    object-fit: cover;
    background: var(--Light-Sage);   /* sage mat so the sample stands out from the white card */
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-photo), var(--shadow-paper);
    transform: rotate(-4deg);
}

.sample figcaption {
    position: absolute;
    top: 46px;
    left: 136px;
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    transform: rotate(5deg);
}

.sample figcaption::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 131px;
    width: 54px;
    height: 22px;
    background: url("../images/price-arrow.svg") no-repeat center / contain;
}

.sample-video img, .sample-video video {
    width: 202px;
    transform: rotate(4deg);
}

/* flyer card: caption sits beside the $30 on two lines so it doesn't touch the flyer */
.sample:not(.sample-video) figcaption {
    top: 104px;
    left: 160px;
    width: 88px;   /* wraps as "a real one / I made!" */
    transform: rotate(-4deg);
}

.sample:not(.sample-video) figcaption::after {
    top: 10px;
    left: 84px;
    width: 34px;   /* short arrow that stops before the flyer */
}

.sample-video figcaption {
    top: 104px;
    left: 168px;
}

.sample-video figcaption::after {
    left: 129px;
}

/* ---------- 6.4 How it works ---------- */
.how {
    padding: var(--section-pad) var(--gutter) 88px;
    background: var(--grain) var(--Sage-mist);
}

.how .heading-row {
    justify-content: flex-start;
    gap: var(--space-lg);
}

.section-heading .easy-note {
    position: relative;
    top: -12px;
    margin-top: 0;
    font-size: 34px;
    transform: rotate(4deg);
}

.easy-note::after {
    content: "";
    position: absolute;
    top: 46px;
    left: 150px;
    width: 49px;
    height: 50px;
    background: url("../images/easy-arrow.svg") no-repeat center / contain;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 360px);
    justify-content: space-between;
    margin-top: var(--space-3xl);
    /* dashed arrows between the cards */
    background:
        url("../images/dashed-arrow.svg") no-repeat 360px 95px / 102px 36px,
        url("../images/dashed-arrow.svg") no-repeat 820px 95px / 102px 36px;
}

.step {
    --step-tilt: 1.5deg;
    position: relative;
    min-height: 240px;
    padding: 69px 28px 28px;
    background:
        linear-gradient(transparent 44px, rgba(184, 76, 54, 0.6) 44px, rgba(184, 76, 54, 0.6) 46px, transparent 46px),
        repeating-linear-gradient(transparent 0 27px, rgba(140, 173, 217, 0.35) 27px 28px) 0 50px / 100% calc(100% - 50px) no-repeat,
        var(--white);
    border-radius: 3px;
    box-shadow: var(--shadow-card);
    transform: rotate(var(--step-tilt));
}

.step:nth-child(2) { --step-tilt: -1deg; }

.step:nth-child(3) { --step-tilt: 1deg; }

/* tape */
.step::before {
    content: "";
    position: absolute;
    top: -11px;
    left: 50%;
    width: 70px;
    height: 22px;
    background: var(--Tape);
    opacity: 0.85;
    box-shadow: var(--shadow-tape);
    transform: translateX(-50%) rotate(-3deg);
}

/* doodle icon on each card */
.step::after {
    content: "";
    position: absolute;
    top: 56px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: no-repeat center / contain;
}

.step-idea::after   { background-image: url("../images/lightbulb.svg"); }

.step-pay::after    { background-image: url("../images/card.svg"); }

.step-design::after { background-image: url("../images/envelope.svg"); }

.step h3 {
    font-family: var(--font-Headings);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.step p {
    max-width: 250px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.75;
}

/* circled step number */
.step-num {
    --num-tilt: 6deg;
    position: absolute;
    top: -34px;
    left: -22px;
    display: grid;
    place-items: center;
    width: 80px;
    height: 72px;
    color: var(--Deep-green);
    font-family: var(--display-script);
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    transform: rotate(var(--num-tilt));
}

.step-num::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 3px;
    width: 74px;
    height: 62px;
    border: 3px solid var(--Accent);
    border-radius: 50%;
    transform: rotate(5deg);
}

.step-num::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    width: 68px;
    height: 58px;
    border: 2px solid var(--Accent);
    border-radius: 50%;
    transform: rotate(-4deg);
}

.step:nth-child(2) .step-num { --num-tilt: -5deg; }

.step:nth-child(3) .step-num { --num-tilt: 4deg; }

.how-cta {
    display: flex;          /* block-level so auto margins can center it */
    width: fit-content;
    margin: 44px auto 0;
}
/* ---------- 6.5 Recent work ---------- */
.work {
    padding: var(--section-pad) var(--gutter) 102px;
    background: var(--grain) var(--cream);
}

.polaroids {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 268px);
    justify-content: space-between;
    align-items: start;
    margin-top: 111px;
}

/* twine the polaroids hang from */
.polaroids::before {
    content: "";
    position: absolute;
    top: -57px;
    left: -20px;
    width: calc(100% + 40px);
    height: 104px;
    background: url("../images/twine.svg") no-repeat center / 100% 100%;
}

.polaroid {
    --tilt: 3deg;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 10px 10px 14px;
    background: var(--white);
    border-radius: 2px;
    box-shadow: 1.8px 7.2px 12.6px rgba(0, 0, 0, 0.16);
    transform: rotate(var(--tilt));
}

.polaroid:nth-child(2) { --tilt: -2deg; margin-top: 52px; }

.polaroid:nth-child(3) { --tilt: 2deg;  margin-top: 52px; }

.polaroid:nth-child(4) { --tilt: -3deg; }

/* clothespin */
.polaroid::before {
    content: "";
    position: absolute;
    top: -34px;
    left: 50%;
    z-index: 2;
    width: 25px;
    height: 60px;
    background: url("../images/clothespin.svg") no-repeat center / contain;
    transform: translateX(-50%);
}

.polaroid img, .polaroid video {
    width: 248px;
    height: 321px;
    object-fit: cover;
}

.polaroid p {
    font-family: var(--display-script);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
}

.badge {
    position: absolute;
    top: -25px;
    left: -44px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 87px;
    height: 86px;
    padding-bottom: 4px;
    color: var(--cream);
    font-family: var(--display-script);
    font-size: 28px;
    font-weight: 700;
    background: url("../images/burst.svg") no-repeat center / contain;
    transform: rotate(9deg);
}
/* ---------- 6.6 Meet Sarah ---------- */
.about {
    min-height: 678px;
    padding: var(--section-pad) var(--gutter);
    background: var(--grain) var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 610px) minmax(0, 620px);   /* can shrink just above the 1300px breakpoint */
    justify-content: space-between;
    column-gap: 24px;
}

.about-photo {
    position: relative;
    padding: 14px 0 0 7px;
}

.about-photo > img:first-child {
    width: 420px;
    height: 420px;
    object-fit: cover;
    border: 14px solid var(--white);
    border-radius: 3px;
    box-shadow: 2px 8px 14px rgba(0, 0, 0, 0.16);
    transform: rotate(3deg);
}

/* two tape strips */
.about-photo::before,
.about-photo::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 90px;
    height: 26px;
    background: var(--Tape);
    opacity: 0.85;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.about-photo::before {
    top: 0;
    left: -8px;
    transform: rotate(-12deg);
}

.about-photo::after {
    top: 18px;
    left: 370px;
    transform: rotate(10deg);
}

.about-sticky {
    position: absolute;
    top: 349px;
    left: 332px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 200px;
    padding: 28px 20px 20px;
    background: var(--Note-yellow);
    box-shadow: 2px 6px 10px -2px rgba(0, 0, 0, 0.18);
    transform: rotate(-5deg);
    font-family: var(--display-script);
    font-weight: 700;
    line-height: 1.25;
}

.about-sticky::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 68px;
    width: 64px;
    height: 20px;
    background: var(--Tape);
    opacity: 0.85;
    transform: rotate(4deg);
}

.about-sticky .fun-fact {
    color: var(--Accent);
    font-size: 22px;
}

.about-sticky p:last-child {
    font-size: 26px;
}

.flower {
    position: absolute;
    top: 290px;
    left: -62px;
    width: 160px;
    z-index: 2;
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    padding-top: 59px;
}

.about-text .eyebrow {
    font-size: 40px;
}

.about-text mark::after {
    bottom: 10px;
    height: 16px;
}

.about-text > p:not([class]) {
    font-size: var(--fs-body);
    line-height: 1.4;
}

.signature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-family: var(--display-script);
    font-size: var(--fs-display-script);
    font-weight: 700;
    line-height: 1.25;
}

.signature::after {
    content: "";
    width: 24px;
    height: 23px;
    margin-top: 16px;
    background: url("../images/heart.svg") no-repeat center / contain;
    transform: rotate(10deg);
}
/* ---------- 6.7 Reviews ---------- */
.reviews {
    padding: var(--space-3xl) var(--gutter) 90px;
    background: var(--grain) var(--cream);
}

.review {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    width: 820px;
    max-width: 100%;
    margin: var(--space-3xl) auto 0;
    padding: 30px 28px 26px;
    background: var(--Note-yellow);
    border-radius: 3px;
    box-shadow: 2px 7px 12px rgba(0, 0, 0, 0.15);
    transform: rotate(1deg);
}

/* push pin */
.review::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    width: 33px;
    height: 33px;
    background: url("../images/push-pin.svg") no-repeat center / contain;
    transform: translateX(-50%);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 44px;
}

.quote-mark {
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 72px;
    font-weight: 700;
    line-height: 0.9;
}

.review-source {
    margin-top: 13px;
    color: var(--Accent);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 700;
}

.review blockquote p {
    font-family: var(--font-ui);
    font-size: 20px;
    line-height: 1.5;
}

.review figcaption {
    font-family: var(--display-script);
    font-size: var(--fs-caption-script);
    font-weight: 700;
    line-height: 1.27;
}
/* ---------- 6.8 Follow along ---------- */
.social {
    min-height: 600px;
    padding: var(--section-pad) var(--gutter);
    background: var(--grain) var(--Sage-mist);
}

.social-grid {
    min-height: 408px;
}

.social-text {
    position: relative;
    max-width: 560px;
    padding-top: 74px;
}

.social h2 {
    font-size: 32px;
    line-height: 1.5;
}

.social h2 .script {
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 40px;
}

.social-text > p:not(.note) {
    margin-top: var(--space-md);
    font-size: var(--fs-body);
    line-height: 1.4;
}

.hi-note {
    position: absolute;
    top: 196px;
    left: 94px;
    font-size: 34px;
    transform: rotate(8deg);
}

.hi-note::before {
    content: "";
    position: absolute;
    top: 22px;
    left: -56px;
    width: 44px;
    height: 62px;
    background: url("../images/social-arrow.svg") no-repeat center / contain;
    transform: rotate(-8deg);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 18px;
    max-width: 430px;
    margin-top: 88px;
}

.sticker {
    --tilt: 3deg;
    display: inline-block;
    padding: 8px 22px;
    background: var(--cream);
    color: var(--Deep-green);
    font-family: var(--display-script);
    font-size: var(--fs-caption-script);
    font-weight: 700;
    line-height: 1.27;
    text-decoration: none;
    border: 2px solid var(--Deep-green);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-hard-sm);
    transform: rotate(var(--tilt));
    transition: transform var(--duration) var(--ease), box-shadow var(--duration);
}

.social-links li:nth-child(2) .sticker { --tilt: -2deg; }

.social-links li:nth-child(3) .sticker { --tilt: 1deg; }

.social-links li:nth-child(4) .sticker { --tilt: -3deg; }

.social-links li:nth-child(5) .sticker { --tilt: 2deg; }

.sticker-red {
    background: var(--Accent);
    color: var(--cream);
}

.sticker:hover,
.sticker:focus-visible {
    transform: rotate(var(--tilt)) translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--Deep-green);
}

/* the three phones */
.phone-1 { top: 54px; right: 320px; transform: rotate(8deg); }   /* right-anchored: same spot at 1440, never off-screen narrower */

.phone-3 { top: 54px; right: 40px;  transform: rotate(-8deg); }

.phone-2 { top: 14px; right: 180px; z-index: 2; }
/* ---------- 6.9 Order CTA ---------- */
.cta {
    padding: var(--section-pad) var(--gutter) 95px;
    background: var(--grain) var(--Sage);
}

.flyer {
    position: relative;
    width: 754px;
    max-width: 100%;
    margin-inline: auto;
    background: var(--white);
    border-radius: var(--radius-xs);
    box-shadow: 3px 10px 18px rgba(0, 0, 0, 0.18);
    transform: rotate(1deg);
}

/* tape strip */
.flyer::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    z-index: 2;
    width: 90px;
    height: 26px;
    background: var(--Tape);
    opacity: 0.85;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
    transform: translateX(-50%) rotate(2deg);
}

.flyer-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 60px 64px 44px;
    text-align: center;
}

.flyer .eyebrow {
    font-size: 32px;
    transform: rotate(3deg);
}

.cta h2 {
    margin-top: 13px;
    font-size: 40px;
}

.cta mark::after {
    bottom: 12px;
    height: 18px;
}

.flyer-body > p:not(.eyebrow) {
    font-size: var(--fs-body);
    line-height: 1.4;
}

.flyer-body .btn-tape {
    margin-top: 12px;
}

.tear-tabs {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    height: 120px;
    border-top: 2px dashed rgba(46, 82, 72, 0.35);
}

.tear-tabs span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px dashed rgba(46, 82, 72, 0.35);
    color: var(--Deep-green);
    font-family: var(--display-script);
    font-size: 20px;
    font-weight: 700;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.tear-tabs span:last-child {
    border-right: none;
}

.cta-sparkle-1 {
    position: absolute;
    top: 40px;
    left: 193px;
    width: 44px;
}

.cta-sparkle-2 {
    position: absolute;
    top: 321px;
    left: 1047px;
    width: 31px;
}

/* =========================================================
   7. ABOUT PAGE
   about.html
   ========================================================= */

/* ---------- 7.1 Intro ---------- */
.about-hero {
    padding: 120px var(--gutter) 90px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    column-gap: 100px;
    align-items: center;
}

.about-hero-grid > div {
    grid-row: span 2;
    max-width: 840px;
}

.about-hero .eyebrow {
    margin-bottom: 12px;
    font-size: 26px;
}

.about-hero h1 {
    max-width: 680px;
}

.about-hero .lead {
    max-width: 840px;
    margin: 28px 0 24px;
}

.about-portrait {
    width: 260px;
    transform: rotate(3deg);
}

.about-portrait img {
    height: 240px;
}

.about-location {
    margin-top: 20px;
    color: var(--Deep-green);
    font-size: 28px;
    text-align: center;
    transform: rotate(6deg);
}
/* ---------- 7.2 A little about me ---------- */
.story {
    padding: 40px var(--gutter) 60px;
}

.story-card {
    max-width: 1120px;
    margin-inline: auto;
    padding: 52px 48px 44px;
}

.story-card p:not(.script-sub) {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.7;
}
/* ---------- 7.3 What working with me is like ---------- */
.values {
    padding: var(--section-pad) var(--gutter);
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1100px;
    margin: 56px auto 0;
}

.value-card {
    --tilt: -1deg;
    position: relative;
    padding: 44px 28px 32px;
    background: var(--white);
    border-radius: 2px;
    box-shadow: var(--shadow-card);
    transform: rotate(var(--tilt));
}

.value-card:nth-child(2) { --tilt: 1deg; }

.value-card:nth-child(3) { --tilt: -0.5deg; }

.value-card::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 120px;
    height: 30px;
    background: var(--Tape);
    opacity: 0.85;
    transform: translateX(-50%) rotate(-1deg);
}

.value-card h3 {
    font-family: var(--font-Headings);
    font-size: var(--fs-h3);
    font-weight: 600;
    line-height: 1.3;
}

.value-card p {
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.6;
}
/* ---------- 7.4 Giving back ---------- */
.giving {
    padding: 80px var(--gutter) 120px;
}

.giving-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 80px;
    align-items: center;
}

.giving-photo {
    transform: rotate(-4deg);
}

.giving-photo img {
    height: 400px;
}

.giving-grid p:not(.script-sub) {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.7;
}
/* ---------- 7.5 Quick facts band ---------- */
.facts {
    padding: 44px var(--gutter);
    background: var(--grain) var(--Deep-green);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.facts strong {
    display: block;
    color: var(--cream);
    font-family: var(--font-Headings);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.facts span {
    color: var(--Light-Sage);
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
}
/* ---------- 7.6 Closing CTA (also used on thank-you.html) ---------- */
.simple-cta {
    padding: 110px var(--gutter) 140px;
    text-align: center;
}

.simple-cta .eyebrow {
    font-size: 26px;
    margin-bottom: 14px;
}

.simple-cta h2,
.simple-cta h1 {
    margin-top: 6px;
    color: var(--Deep-green);
    font-family: var(--font-Headings);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
}

.simple-cta .lead {
    max-width: 600px;
    margin: 16px auto 0;
}

.simple-cta .btn-pill {
    margin-top: 26px;
    padding: 16px 36px;
    font-size:  18px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
}

.social-icons a {
    display: block;
    padding: 4px;
    border-radius: 50%;
    transition: transform var(--duration) var(--ease);
}

.social-icons a:hover,
.social-icons a:focus-visible {
    transform: translateY(-3px);
}

.social-icons img {
    width: 48px;
    height: 48px;
}

/* =========================================================
   8. ORDER PAGE
   order.html
   ========================================================= */

/* ---------- 8.1 How it works sticky notes ---------- */
.order-hero {
    padding: 100px var(--gutter) 50px;
}

.note-steps {
    display: flex;
    justify-content: center;
    gap: 82px;
    margin-top: 48px;
}

.note-step {
    --tilt: -2deg;
    position: relative;
    width: 200px;
    min-height: 162px;
    padding: 24px 22px;
    background: #f3efcf;
    box-shadow: var(--shadow-card);
    transform: rotate(var(--tilt));
}

.note-step:nth-child(even) { background: var(--Light-Sage); }

.note-step:nth-child(2)    { --tilt: 2deg; }

.note-step:nth-child(3)    { --tilt: -1deg; }

.note-step:nth-child(4)    { --tilt: 2.5deg; }

/* squiggle arrow to the next note */
.note-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 72px;
    right: -62px;
    width: 40px;
    height: 18px;
    background: url("../images/squiggle-arrow.svg") no-repeat center / contain;
}

.note-num {
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.note-step h3 {
    margin-top: 10px;
    font-family: var(--font-Headings);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.note-step p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
}
/* ---------- 8.2 Price cards ---------- */
.pick-cards {
    display: flex;
    justify-content: center;
    gap: 44px;
    margin-top: 96px;
}

.pick-card {
    width: 320px;
    padding: 28px 28px 30px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    transform: rotate(-1.5deg);
}

.pick-card:nth-child(2) {
    transform: rotate(1deg);
}

.pick-card h3 {
    font-family: var(--font-Headings);
    font-size: var(--fs-h3);
    font-weight: 600;
}

.pick-price {
    margin-top: 6px;
    color: var(--Accent);
    font-family: var(--font-Headings);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
}

.pick-meta {
    margin-top: 8px;
    font-family: var(--font-ui);
    font-size: 14px;
}

.pick-card .btn-pill {
    margin-top: 16px;
    padding: 14px 28px;
    font-size: 16px;
}

.custom-quote {
    margin-top: 40px;
    text-align: center;
}

.custom-quote a {
    font-family: var(--display-script);
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
}

.custom-quote a:hover,
.custom-quote a:focus-visible {
    color: var(--Accent);
}
/* ---------- 8.3 Request form ---------- */
.request {
    padding: 80px var(--gutter) 140px;
    scroll-margin-top: 110px;
}

.request .script-sub {
    color: var(--Sage-teal);
}

.progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 34px;
}

.progress li {
    width: 64px;
    height: 18px;
    background: var(--Tape);
    transform: rotate(1deg);
    transition: background var(--duration);
}

.progress li:nth-child(odd) { transform: rotate(-1deg); }

.progress li.is-active      { background: var(--Accent); }

/* lined notebook paper */
.notebook {
    position: relative;
    max-width: 860px;   /* wide enough for all 4 "What are we making?" options on one line */
    margin-inline: auto;
    padding: 44px 40px 30px 92px;
    background:
        linear-gradient(90deg, transparent 63px, rgba(111, 149, 152, 0.6) 63px 65px, transparent 65px),
        repeating-linear-gradient(transparent 0 43px, #e4e9ea 43px 44px),
        var(--white);
    box-shadow: var(--shadow-card);
    scroll-margin-top: 130px;
}

/* tape */
.notebook::before {
    content: "";
    position: absolute;
    top: -16px;
    right: 48px;
    width: 120px;
    height: 32px;
    background: var(--Tape);
    opacity: 0.9;
    transform: rotate(-3deg);
}

/* binder holes */
.notebook::after {
    content: "";
    position: absolute;
    top: 66px;
    bottom: 60px;
    left: 22px;
    width: 20px;
    background: radial-gradient(circle at 10px 10px, #f4f0e4 8px, #e0dbcd 9px, transparent 10px) 0 0 / 20px 236px repeat-y;
}

/* one step at a time (JavaScript adds .is-enhanced) */
.form-step {
    border: none;
}

.notebook.is-enhanced .form-step:not(.is-active) {
    display: none;
}

.notebook:not(.is-enhanced) .form-step + .form-step {
    margin-top: 48px;
}

.notebook:not(.is-enhanced) [data-next],
.notebook:not(.is-enhanced) [data-back] {
    display: none;
}

.notebook:not(.is-enhanced) [data-submit] {
    display: inline-flex;
}

/* fields */
.form-step legend {
    margin-bottom: 4px;
    font-family: var(--display-script);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
}

.field {
    display: block;
    margin-top: 22px;
}

.field > span,
.field-label {
    display: block;
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea {
    width: 100%;
    padding: 10px 0 8px;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--Deep-green);
    border-radius: 0;
    color: var(--Deep-green);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.5;
}

.field textarea {
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9bb2b3;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--Accent);
}

.field input[type="file"] {
    border-bottom-style: dashed;
}

/* pill-style radio buttons and checkboxes */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.pill-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill-option span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 2px solid var(--Deep-green);
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--duration), color var(--duration);
}

.pill-option span::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.pill-option input:checked + span {
    background: var(--Deep-green);
    color: var(--cream);
}

.pill-option input:checked + span::before {
    background: var(--cream);
    border-color: var(--cream);
}

.pill-option input:focus-visible + span {
    outline: 3px solid var(--Accent);
    outline-offset: 2px;
}

.field-note {
    margin-top: 22px;
    font-family: var(--display-script);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

/* review step + Back/Next buttons */
.review-list {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 18px;
    margin-top: 18px;
}

.review-list dt {
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.review-list dd {
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.form-nav {
    display: flex;
    align-items: center;
    margin-top: 36px;
}

.form-nav [data-next],
.form-nav [data-submit] {
    margin-left: auto;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

/* =========================================================
   9. PORTFOLIO PAGE
   portfolio.html
   ========================================================= */

/* ---------- 9.1 Intro card & filter buttons ---------- */
.portfolio-hero {
    padding: 100px var(--gutter) 40px;
}

.hero-card-stack {
    position: relative;
    max-width: 650px;
    margin-inline: auto;
}

.hero-card {
    z-index: 1;
    padding: 56px 60px 48px;
    text-align: center;
    transform: rotate(1deg);
}

.hero-card h1 {
    font-size: 52px;
}

.note-dark {
    margin-top: 12px;
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
}

.peek {
    position: absolute;
    top: 30px;
    width: 170px;
    height: 240px;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-card);
}

.peek-left  { left: -70px;  transform: rotate(-8deg); }

.peek-right { right: -70px; transform: rotate(7deg); }

.filters {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 80px;
}

.filter {
    --tilt: -2deg;
    width: 132px;
    height: 110px;
    background: #efe3c2;
    border: none;
    color: var(--Deep-green);
    font-family: var(--display-script);
    font-size: 28px;
    font-weight: 700;
    box-shadow: 3px 6px 10px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transform: rotate(var(--tilt));
    transition: transform var(--duration) var(--ease), background var(--duration);
}

.filter:nth-child(2) { --tilt: 1.5deg; }

.filter:nth-child(3) { --tilt: -1deg; }

.filter:nth-child(4) { --tilt: 2deg; width: 182px; }

.filter:hover,
.filter:focus-visible {
    transform: rotate(var(--tilt)) translateY(-3px);
}

.filter.is-active {
    background: var(--Accent);
    color: var(--cream);
}
/* ---------- 9.2 Flyers ---------- */
.work-group {
    padding: 60px var(--gutter) 40px;
}

.work-group h2 {
    color: var(--Deep-green);
}

.print-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 36px;
    align-items: start;
    margin-top: 40px;
}

.print {
    --tilt: -1deg;
    position: relative;
    text-align: center;
    transform: rotate(var(--tilt));
}

.print:nth-child(even) { --tilt: 1deg; }

.print:nth-child(3n)   { --tilt: -0.5deg; }

/* push pin */
.print::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    z-index: 1;
    width: 16px;
    height: 16px;
    background: var(--Deep-green);
    border-radius: 50%;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%);
}

.print-open {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--mat, var(--white));
    border: none;
    box-shadow: var(--shadow-card);
    cursor: zoom-in;
    transition: transform var(--duration) var(--ease);
}

.print-open:hover,
.print-open:focus-visible {
    transform: translateY(-4px);
}

.print-open img {
    width: 100%;
    height: auto;
}

.print p {
    margin-top: 14px;
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.mat-yellow   { --mat: #fbf3cf; }

.mat-peach    { --mat: #fbeee0; }

.mat-pink     { --mat: #fbe9ee; }

.mat-lavender { --mat: #efeaf7; }

.mat-blue     { --mat: #e8f0f7; }

.mat-white    { --mat: #ffffff; }

.mat-mint     { --mat: #eaf3ee; }
/* ---------- 9.3 Promo videos (phone styles are in 3.4) ---------- */
.phone-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.phone-row p {
    margin-top: 14px;
    font-family: var(--display-script);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}
/* ---------- 9.4 Invites + cards ---------- */
.invites-intro {
    max-width: 640px;
    margin-top: 14px;
}

.invite-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 70px;
    text-align: center;
}

.invite-row p {
    margin-top: 28px;
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
}

.mock {
    position: relative;
    width: 260px;
    height: 230px;
    margin-inline: auto;
}

/* birthday card */
.mock-birthday .card-front,
.mock-birthday .card-inside {
    position: absolute;
    top: 0;
    width: 125px;
    height: 200px;
    box-shadow: var(--shadow-card);
}

.mock-birthday .card-front {
    left: 22px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 16px;
    background: #f2b9cf;
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.05;
    text-align: left;
    transform: rotate(-5deg);
}

.mock-birthday .card-front small {
    margin-top: 12px;
    font-family: var(--font-ui);
    font-size: 10px;
}

.mock-birthday .card-inside {
    left: 128px;
    display: grid;
    place-items: center;
    padding: 0 18px;
    background: var(--white);
    font-family: var(--display-script);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

/* party invitation in an envelope */
.mock-invite .envelope {
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 230px;
    height: 120px;
    background:
        linear-gradient(to top right, transparent 49.5%, #b4c9ba 50%) right top / 50% 60% no-repeat,
        linear-gradient(to top left, transparent 49.5%, #b4c9ba 50%) left top / 50% 60% no-repeat,
        var(--Sage);
    box-shadow: var(--shadow-card);
    z-index: 1;
}

.mock-invite .invite-card {
    position: absolute;
    top: 0;
    left: 40px;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 180px;
    height: 150px;
    padding: 26px 12px 0;
    background: var(--white);
    outline: 2px solid #c9a54a;
    outline-offset: -8px;
    box-shadow: var(--shadow-card);
}

.mock-invite .invite-card small {
    font-family: var(--font-ui);
    font-size: 9px;
    letter-spacing: 0.06em;
}

.mock-invite .invite-card span {
    font-family: var(--display-script);
    font-size: 26px;
    font-weight: 700;
}

/* thank-you card */
.mock-thanks .card-back,
.mock-thanks .card-front {
    position: absolute;
    top: 6px;
    width: 150px;
    height: 200px;
    box-shadow: var(--shadow-card);
}

.mock-thanks .card-back {
    left: 100px;
    background: var(--white);
    transform: rotate(6deg);
}

.mock-thanks .card-front {
    left: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fbf3e3;
    transform: rotate(-3deg);
}

.mock-thanks .card-front span {
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    border-bottom: 2px solid var(--Accent);
    padding-bottom: 10px;
}

.mock-thanks .card-front small {
    font-family: var(--font-ui);
    font-size: 9px;
}
/* ---------- 9.5 Closing CTA ---------- */
.portfolio-cta {
    padding: 80px var(--gutter) 130px;
}

.portfolio-cta-grid {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 70px;
    align-items: center;
    max-width: 900px;
}

.empty-frame {
    display: grid;
    place-items: center;
    height: 270px;
    padding: 30px;
    border: 2.5px dashed var(--Sage-teal);
    font-family: var(--display-script);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transform: rotate(-4deg);
}

.portfolio-cta h2 {
    max-width: 440px;
}

.portfolio-cta .btn-pill {
    margin-top: 22px;
}
/* ---------- 9.6 Lightbox (click a flyer to see it big) ---------- */
.lightbox {
    max-width: 92vw;
    max-height: 92vh;
    margin: auto;
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(20, 32, 28, 0.78);
}

.lightbox img {
    max-width: 90vw;
    max-height: 86vh;
    width: auto;
    border: 10px solid var(--white);
    box-shadow: var(--shadow-lifted);
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 42px;
    height: 42px;
    background: var(--Accent);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- 7.7 Legal pages (privacy.html, terms.html) ---------- */
.legal-hero {
    padding: 100px var(--gutter) 24px;
    text-align: center;
}

.legal-hero .eyebrow {
    font-size: 26px;
    margin-bottom: 4px;
}

.legal-updated {
    margin-top: var(--space-sm);
    font-family: var(--font-ui);
    font-size: var(--fs-small-text);
    opacity: 0.8;
}

.legal {
    padding: var(--space-xl) var(--gutter) 120px;
}

.legal-body {
    max-width: 760px;
    padding: var(--space-3xl) var(--space-3xl) var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-paper);
}

.legal-body h2 {
    margin: var(--space-2xl) 0 var(--space-sm);
    font-family: var(--font-Headings);
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.3;
}

.legal-body p,
.legal-body li {
    line-height: 1.65;
}

.legal-body p + p,
.legal-body ul + p,
.legal-body p + ul {
    margin-top: var(--space-sm);
}

.legal-body ul {
    padding-left: 1.3em;
    list-style: disc;
}

.legal-body li + li {
    margin-top: var(--space-2xs);
}

.legal-body li::marker {
    color: var(--Accent);
}

.legal-body a {
    color: var(--Accent);
    font-weight: 700;
}

.legal-intro {
    font-size: 20px;
}

.legal-see-also {
    margin-top: var(--space-2xl) !important;
    padding-top: var(--space-lg);
    border-top: 1.5px dashed var(--Sage);
}

.form-terms {
    font-size: var(--fs-small-text);
}

.form-terms a {
    color: var(--Accent);
    font-weight: 700;
}

@media (max-width: 700px) {
    .legal-hero {
        padding-top: 64px;
    }

    .legal {
        padding-bottom: 80px;
    }

    .legal-body {
        padding: var(--space-xl) var(--space-lg);
    }

    .legal-intro {
        font-size: var(--fs-body);
    }
}

/* =========================================================
   10. UTILITIES
   ========================================================= */
[hidden] {
    display: none !important;
}

/* =========================================================
   11. RESPONSIVE
   Desktop styles above are built for 1300px+. These override them on smaller screens.
   ========================================================= */

/* ---------- 11.1 Tablet: 1300px and below ---------- */
@media (max-width: 1300px) {
    /* home */
    :root {
        --gutter: 40px;
    }

    /* hero goes back into normal flow */
    .hero {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--space-xl) var(--space-3xl);
        min-height: 0;
        padding: 72px var(--gutter) 64px;
    }

    .location-label,
    .hero-sticky,
    .stamp {
        position: relative;
        top: auto;
        left: auto;
        align-self: flex-start;
    }

    .hero-text,
    .hero-collage {
        flex: 1 0 100%;
    }

    .hero-text {
        width: auto;
        max-width: 600px;
        margin: 0;
        padding: 0;
    }

    .hero-collage {
        position: relative;
        height: 440px;
    }

    .collage-1 { left: 0; top: 20px; }
    .collage-2 { left: 320px; top: 20px; }
    .paperclip { left: 292px; top: 24px; }

    .hero-note,
    .hero-arrow,
    .sparkle-1,
    .sparkle-2 {
        display: none;
    }

    .tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 56px 32px;
    }

    .tag {
        right: -8px;
    }

    .price-cards {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .steps {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 64px;
        padding-left: 22px;
        background: none;
    }

    .step {
        width: min(100%, 420px);
    }


    .polaroids {
        grid-template-columns: repeat(2, 268px);
        justify-content: space-around;
        row-gap: 64px;
    }

    .polaroids::before {
        display: none;
    }

    .polaroid:nth-child(n) {
        margin-top: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 140px;
    }

    .social-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-2xl);
    }

    .phones {
        position: relative;
        height: 420px;
        width: 480px;
        max-width: 100%;
    }

    .phone-1 { left: 0; right: auto; top: 40px; }
    .phone-2 { left: 140px; right: auto; top: 0; }
    .phone-3 { left: 280px; right: auto; top: 40px; }

    .cta-sparkle-1,
    .cta-sparkle-2 {
        display: none;
    }

    .footer-columns {
        grid-template-columns: repeat(2, auto);
        gap: var(--space-xl);
    }

    /* order + portfolio */
    .note-steps {
        flex-wrap: wrap;
        gap: 48px 40px;
    }

    .note-step::after {
        display: none;
    }

    .print-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .phone-row {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 40px;
    }
}

/* ---------- 11.2 Small tablet: 900px and below ---------- */
@media (max-width: 900px) {
    .about-hero-grid,
    .giving-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-hero-grid > div {
        grid-row: auto;
    }

    .about-portrait {
        justify-self: center;
    }

    .value-cards,
    .invite-row {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .giving-photo {
        max-width: 330px;
        justify-self: center;   /* center the flyer when the grid stacks */
    }

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

    .peek {
        display: none;
    }
        /* --- mobile menu --- */
    .nav-toggle {
        display: flex;
    }

    .header-cta {
        margin-left: auto;
        margin-right: 20px;
    }

    #site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 20px var(--gutter) 40px;
        background: var(--grain) var(--cream);
        box-shadow: 0 12px 18px rgba(0, 0, 0, 0.12);
    }

    #site-nav.is-open {
        display: block;
    }

    /* torn edge at the bottom of the dropdown */
    #site-nav::after {
        content: "";
        position: absolute;
        top: calc(100% - 11px);
        left: 0;
        width: 100%;
        height: 31px;
        background: url("../images/torn-edge-cream.svg") no-repeat top / 100% 100%;
    }

    #site-nav ul {
        flex-direction: column;
        gap: 14px;
    }

    #site-nav a {
        font-size: 34px;
    }
        /* --- mobile menu (floating card) --- */
    .nav-toggle {
        display: flex;
    }

    .header-cta {
        margin-left: auto;
        margin-right: 20px;
    }

    #site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        z-index: 200;
        width: 270px;
        padding: 20px var(gutter) 40px;
        background: var(--cream);
        border-radius: 14px;
        /* card shadow + dims the page behind it */
        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.25),
            0 0 0 100vmax rgba(20, 32, 28, 0.55);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
        transition: opacity var(--duration), transform var(--duration), visibility var(--duration);
    }

    #site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
        display: block;
    }

    /* ✕ button */
    .nav-close {
        position: absolute;
        top: 18px;
        right: 18px;
        display: block;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-close::before,
    .nav-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 6px;
        width: 20px;
        height: 2px;
        background: var(--Deep-green);
        border-radius: 2px;
    }

    .nav-close::before { transform: rotate(45deg); }
    .nav-close::after  { transform: rotate(-45deg); }

    #site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 20px;
    }

    #site-nav ul a {
        font-size: 34px;
    }

    .nav-order {
        display: inline-flex;
        margin-top: 22px;
    }
}

/* ---------- 11.3 Phone: 700px and below ---------- */
@media (max-width: 700px) {
    /* home */
    :root {
        --gutter: 20px;
        --fs-h1: 40px;
        --fs-h2: 30px;
        --section-pad: 72px;
    }

   
header{
    height: 80px;
}
    .navbar-brand img {
        width: 64px;
        height: 64px;
    }

  

    .header-cta {
        display: none;
    }

    .desktop-break {
        display: none;
    }

    .hero-text mark::after {
        bottom: 6px;
        height: 16px;
    }

    .hero-collage {
        height: 360px;
    }

    .collage-photo {
        height: 300px;
    }

    .collage-1 { width: 220px; }
    .collage-2 { width: 160px; left: 190px; }
    .paperclip { left: 175px; }

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

    .tag {
        right: 0;
    }

    .price-card {
        padding-bottom: 400px;
    }

    .sample img, .sample video {
        top: auto;
        bottom: 30px;
        right: 50%;
        translate: 50% 0;
    }

    .sample figcaption {
        display: none;
    }

    .how .heading-row {
        flex-wrap: wrap;
    }

    .easy-note::after {
        display: none;
    }

    .polaroids {
        grid-template-columns: 268px;
        justify-content: center;
    }

    .about-photo > img:first-child {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .about-photo::after {
        left: auto;
        right: 0;
    }

    .about-sticky {
        left: auto;
        right: 0;
    }

    .hi-note {
        display: none;
    }

    .phones {
        transform: scale(0.75);
        transform-origin: top left;
        height: 320px;
    }

    .flyer-body {
        padding: 48px 24px 36px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .tear-tabs {
        grid-template-columns: repeat(5, 1fr);
    }

    .tear-tabs span:nth-child(n + 6) {
        display: none;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    /* about + order + portfolio */
    .page-hero h1,
    .hero-card h1 {
        font-size: 38px;
    }

    .simple-cta h2,
    .simple-cta h1 {
        font-size: 30px;
    }

    .story-card {
        padding: 44px 24px 32px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pick-cards {
        flex-direction: column;
        align-items: center;
    }

    .pick-card {
        width: 100%;
        max-width: 340px;
    }

    .notebook {
        padding: 40px 20px 26px 52px;
        background:
            linear-gradient(90deg, transparent 37px, rgba(111, 149, 152, 0.6) 37px 39px, transparent 39px),
            repeating-linear-gradient(transparent 0 43px, #e4e9ea 43px 44px),
            var(--white);
    }

    .notebook::after {
        left: 8px;
    }

    .review-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .review-list dd {
        margin-bottom: 8px;
    }

    .hero-card {
        padding: 48px 24px 40px;
    }

    .filters {
        flex-wrap: wrap;
        gap: 16px;
    }

    .filter,
    .filter:nth-child(4) {
        width: 46%;
        height: 80px;
    }

    .print-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-inline: auto;
    }

    .phone-row {
        grid-template-columns: 1fr 1fr;
    }

    .phone.phone-static {
        width: 150px;
        height: 292px;
    }

    .portfolio-cta-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .empty-frame {
        width: 210px;
    }
}

/* ---------- 11.4 Reduced motion ---------- */
/* respect people who turn off motion in their settings */
@media (prefers-reduced-motion: reduce) {
    .phone-tt.is-playing .tt-disc {
        animation: none;
    }
    @media (prefers-reduced-motion: reduce) {
    #site-nav {
        transition: none;
    }
}
}
/* =========================================================
   MOBILE MENU — final rules (keep at the end of the file)
   ========================================================= */
@media (max-width: 900px) {
    /* drops down from under the hamburger */
    #site-nav {
        position: absolute;          /* moves with the sticky header */
        top: calc(100% + 8px);
        right: var(--gutter);
        left: auto;
        bottom: auto;
        display: block;
        z-index: 200;
        width: 260px;
        padding: 24px 28px 28px;
        background: var(--cream);
        border-radius: 14px;
        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.25),
            0 0 0 100vmax rgba(20, 32, 28, 0.55);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity var(--duration), transform var(--duration), visibility var(--duration);
    }

    #site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    /* keeps the hamburger above the dimmed page so it can close the menu */
    .nav-toggle {
        position: relative;
        z-index: 201;
    }

    /* the hamburger turns into the X, so hide the one in the card */
    .nav-close {
        display: none;
    }

    #site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 0;
    }

    #site-nav ul a {
        font-size: 34px;
    }

    /* normal-size pill button */
    #site-nav .nav-order {
        display: inline-flex;
        margin-top: 20px;
        padding: 12px 24px;
        font-size: 15px;
        line-height: 1.2;
    }

    #site-nav::after {
        content: none;
    }
}
/* ---------- Videos (temporary: everything autoplays for review) ---------- */
video.collage-photo,
.phone video,
.video-thumbs video,
.sample video,
.polaroid video {
    display: block;
    object-fit: cover;
}
/* hide the play-button overlay while a video is already playing */
.phone:has(video[autoplay])::after,
.phone:has(video[data-autoplay])::after,
.phone.is-playing::after {
    display: none;
}

/* ---------- Hero flyer + reel: scale the desktop pair down on tablet/mobile ---------- */
/* Built on the desktop layout: flyer 297px, reel 218px, 25px apart = 540px wide.
   Everything below is a % of that so the pair keeps the same look at any size. */
@media (max-width: 1300px) {
    .hero-collage {
        flex: 0 0 100%;
        max-width: 560px;
        height: auto;
        aspect-ratio: 540 / 440;
        margin-inline: auto;
    }

    .collage-photo {
        top: 4%;
        height: auto;
    }

    .collage-1 {
        left: 0;
        width: 55%;
        aspect-ratio: 297 / 384;
    }

    .collage-2 {
        left: 59.6%;
        width: 40.4%;
        aspect-ratio: 218 / 384;
    }

    .paperclip {
        top: -16%;
        left: 54%;
        width: 5.5%;
    }
}

/* ---------- Big screens (1440p / 4K): scale the whole 1440px layout up ---------- */
/* The design is built at 1440px wide. On wider monitors, zoom the page so it fills
   more of the screen instead of sitting small in the middle. Media queries still
   use the real screen width, so these steps never trigger the tablet layout. */
/* only 1440p-class screens (~2560px wide) get scaled; 1080p and 4K stay at normal size */
/* 1080p (1920px) and smaller stay at normal size. Wider windows scale up.
   2880px+ also covers a 2560 monitor with the browser zoomed out to ~80%. */
@media (min-width: 1921px) { html { zoom: 1.25; } }
@media (min-width: 2200px) { html { zoom: 1.5; } }
@media (min-width: 2880px) { html { zoom: 2; } }


/* ---------- Hero thumb tacks: one pinned at the top of the flyer and the reel ---------- */
.tack {
    position: absolute;
    z-index: 3;
    top: 136px;
    width: 33px;
}
.tack-1 { left: calc(50% + 230px); }
.tack-2 { left: calc(50% + 472px); }

@media (max-width: 1300px) {
    .tack { top: 0.4%; width: 6.1%; }
    .tack-1 { left: 28.5%; }
    .tack-2 { left: 73.3%; }
}

/* ---------- Hero buttons centered on tablet + mobile ---------- */
/* text column spans the full hero so the buttons center on the screen,
   while the heading and intro keep their 600px line length */
@media (max-width: 1300px) {
    .hero-text { max-width: none; }
    .hero-text h1,
    .hero-intro { max-width: 600px; }
    .hero-buttons { justify-content: center; }
}

/* ---------- Tablet + mobile hero: center the location tag, sticky note and badge ---------- */
@media (max-width: 1300px) {
    .hero { justify-content: center; }   /* centers the tag line and the note + badge line */
    .location-label,
    .hero-sticky,
    .stamp { align-self: center; }
}

/* ---------- Mobile: smaller flyer + reel so they don't fill the whole screen ---------- */
@media (max-width: 700px) {
    .hero-collage { max-width: 400px; }
}

/* ---------- Mobile "What I make" tiles: show the whole flyer, not a crop ---------- */
@media (max-width: 700px) {
    .tiles { justify-items: center; }
    .tile { width: 100%; max-width: 360px; }

    .tile > img,
    .video-thumbs {
        height: auto;
        aspect-ratio: 1545 / 1999;   /* same shape as the flyer images */
    }

    /* bigger reels so they fill the taller card */
    .video-thumbs video,
    .video-thumbs img {
        width: 44%;      /* leaves room for the tilt so the reels don't touch the card edges */
        max-height: 90%;
    }
    .video-thumbs video:first-child,
    .video-thumbs img:first-child { left: 6%; }
    .video-thumbs video:last-child,
    .video-thumbs img:last-child { left: 50%; }
}

/* ---------- Mobile footer: everything centered ---------- */
@media (max-width: 700px) {
    .site-footer { text-align: center; }

    .footer-columns { justify-items: center; }

    .footer-brand,
    .site-footer ul,
    .site-footer address { align-items: center; }

    .footer-bottom { align-items: center; }
}

/* footer credit: keep "Stoltz Web Design" together; on mobile give it its own line */
.footer-bottom a { white-space: nowrap; }   /* never split "Privacy policy" or "Stoltz Web Design" */

@media (max-width: 700px) {
    .footer-credit { display: block; margin-top: 4px; }
    .footer-credit .sep { display: none; }
}

/* ---------- Small phones (iPhone SE / 320-420px): keep everything on screen ---------- */
@media (max-width: 420px) {
    .phones {
        transform: scale(0.62);   /* TikTok phones fit inside the screen */
        height: 270px;
    }

    .badge {
        left: -8px;               /* "NEW!" badge stays inside the screen */
    }
}

@media (max-width: 360px) {
    .phone.phone-static {         /* Portfolio video phones, two per row */
        width: 130px;
        height: 253px;
    }
}

/* ---------- 404 page ---------- */
.not-found-code {
    color: var(--Accent);
    font-family: var(--display-script);
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    transform: rotate(-4deg);
}

.not-found .hero-buttons {
    justify-content: center;
    margin-top: 32px;
}

.not-found-order {
    margin-top: 28px;
}

@media (max-width: 700px) {
    .not-found-code { font-size: 88px; }
}
