/* ===================================
   LITTLE LAMBS — Home & Repair
   Bold Editorial Style
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-900: #0B1F16;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --cream-100: #F5F0E8;
    --cream-200: #EDE8DC;
    --cream-300: #E8E0D0;
    --warm-white: #FAF7F2;
    --text-dark: #0B1F16;
    --text-mid: #2C3E35;
    --text-light: #5C7065;
    --text-muted: #8A9E93;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream-100);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

em {
    font-style: italic;
}

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.3s ease;
}

#main-header.scrolled {
    box-shadow: 0 4px 40px rgba(11, 31, 22, 0.08);
}

#main-header.hide {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.logo-mark {
    color: var(--green-700);
}

#main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--green-700);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--green-800);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--green-700) !important;
    font-weight: 600 !important;
}

.nav-phone:hover::after {
    width: 100% !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-800);
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px clamp(1.5rem, 4vw, 3rem) 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 5rem);
    font-weight: 500;
    color: var(--green-800);
    line-height: 1.05;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
}

.hero-headline em {
    color: var(--green-600);
}

.hero-sub {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-light);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(27, 67, 50, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--green-800);
    border: 1.5px solid var(--green-800);
}

.btn-ghost:hover {
    background: var(--green-800);
    color: var(--cream-100);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--cream-100);
    color: var(--green-800);
}

.btn-white:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    color: var(--cream-100);
    border: 1.5px solid rgba(245, 240, 232, 0.4);
}

.btn-outline:hover {
    background: var(--cream-100);
    color: var(--green-800);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Image Stack */
.hero-image-col {
    position: relative;
}

.hero-image-stack {
    position: relative;
}

.hero-img {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(11, 31, 22, 0.15);
}

.hero-img-primary {
    width: 100%;
}

.hero-img-primary img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.hero-img-primary:hover img {
    transform: scale(1.03);
}

.hero-img-secondary {
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 400px;
    border: 6px solid var(--cream-100);
}

.hero-img-secondary img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.hero-img-secondary:hover img {
    transform: scale(1.03);
}

.hero-badge {
    position: absolute;
    top: 30px;
    right: -30px;
    background: var(--green-800);
    color: var(--cream-100);
    padding: 14px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 40px rgba(11, 31, 22, 0.3);
    z-index: 2;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--green-700);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* --- Intro Strip --- */
.intro-strip {
    background: var(--green-800);
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
}

.intro-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.intro-divider {
    flex-shrink: 0;
    width: 3px;
    height: 60px;
    background: var(--green-500);
    border-radius: 2px;
}

.intro-text p {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: var(--cream-200);
    line-height: 1.7;
    font-weight: 400;
}

.intro-text strong {
    color: var(--cream-100);
    font-weight: 600;
}

/* --- Section Shared --- */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--green-800);
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.section-title em {
    color: var(--green-600);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Services --- */
.services {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 4vw, 3rem);
    max-width: 1400px;
    margin: 0 auto;
}

.services-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(11, 31, 22, 0.1);
}

.service-card .service-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--cream-300);
    padding: 2rem 2rem 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.service-card:hover .service-num {
    color: var(--green-200);
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--green-800);
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--text-light);
    line-height: 1.7;
    padding: 0 2rem 1.5rem;
}

.service-card .service-img {
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.service-card .service-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

/* --- About --- */
.about {
    background: var(--green-800);
    padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 4vw, 3rem);
}

.about-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.about-img-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    position: relative;
}

.about-img-main img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-img-main:hover img {
    transform: scale(1.02);
}

.about-stat-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--cream-100);
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.about-stat-card .stat-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-800);
}

.about-stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-content-col .section-eyebrow {
    color: var(--green-500);
}

.about-content-col .section-title {
    color: var(--cream-100);
}

.about-content-col .section-title em {
    color: var(--green-400);
}

.about-body {
    margin: 2rem 0 2.5rem;
}

.about-body p {
    font-size: 1rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cream-200);
}

.value-item svg {
    color: var(--green-500);
    flex-shrink: 0;
}

/* --- Work Gallery --- */
.work {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 4vw, 3rem);
    max-width: 1400px;
    margin: 0 auto;
}

.work-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.work-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1rem;
}

.work-header-left .section-eyebrow {
    margin-bottom: 0.75rem;
}

.work-header-left .section-title {
    margin-bottom: 0;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-item-wide {
    grid-column: span 8;
    height: 420px;
}

.work-item-tall {
    grid-column: span 4;
    grid-row: span 2;
    height: 100%;
    min-height: 840px;
}

.work-item:not(.work-item-wide):not(.work-item-tall) {
    height: 380px;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 31, 22, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 0.5rem;
}

.work-desc {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--cream-100);
    line-height: 1.4;
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--green-700);
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--green-400);
    margin-bottom: 1.25rem;
}

.cta-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--cream-100);
    margin-bottom: 2.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.cta-headline em {
    color: var(--green-300);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 4vw, 3rem);
    max-width: 1400px;
    margin: 0 auto;
}

.contact-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-icon {
    width: 44px;
    height: 44px;
    background: var(--cream-200);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.detail-value a {
    color: var(--green-700);
    transition: color 0.2s ease;
}

.detail-value a:hover {
    color: var(--green-500);
}

/* --- Contact Form --- */
.contact-form {
    background: white;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 16px;
    border: 1px solid rgba(27, 67, 50, 0.06);
    box-shadow: 0 10px 50px rgba(11, 31, 22, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-300);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--warm-white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C7065' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(27, 67, 50, 0.06);
}

.form-success svg {
    color: var(--green-600);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--green-800);
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Footer --- */
#footer {
    background: var(--green-900);
    color: var(--cream-200);
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: clamp(2rem, 5vw, 5rem);
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.footer-brand .logo {
    color: var(--cream-100);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.25s ease;
}

.footer-col ul li a:hover {
    color: var(--cream-100);
}

.footer-col address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col address p {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.6;
}

.footer-col address a {
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.25s ease;
}

.footer-col address a:hover {
    color: var(--cream-100);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.35);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-col {
        max-width: 500px;
    }

    .hero-img-primary img {
        height: 500px;
    }

    .hero-img-secondary {
        left: -20px;
        bottom: -20px;
    }

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

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

    .about-img-main img {
        height: 500px;
    }

    .about-stat-card {
        right: 20px;
    }

    .work-item-wide {
        grid-column: span 12;
        height: 350px;
    }

    .work-item-tall {
        grid-column: span 6;
        min-height: 500px;
    }

    .work-item:not(.work-item-wide):not(.work-item-tall) {
        grid-column: span 6;
        height: 300px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--cream-100);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out-expo);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }

    .hero-img-secondary {
        display: none;
    }

    .hero-badge {
        right: 0;
    }

    .intro-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-divider {
        width: 40px;
        height: 3px;
    }

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

    .service-card .service-num {
        font-size: 2rem;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .work-item-tall {
        grid-column: span 12;
        min-height: 400px;
    }

    .work-item:not(.work-item-wide):not(.work-item-tall) {
        grid-column: span 12;
        height: 280px;
    }

    .work-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

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