/* ========================================
   Townedge Custom Woodworking
   Clean Minimalist · Burgundy & Blush
   ======================================== */

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

:root {
    --color-burgundy: #800020;
    --color-burgundy-dark: #5c0017;
    --color-burgundy-light: #a0314e;
    --color-blush: #f5e6e0;
    --color-blush-light: #faf3f0;
    --color-blush-dark: #e8d0c8;
    --color-cream: #fefcfb;
    --color-warm-gray: #6b5e5a;
    --color-dark: #1a1412;
    --color-text: #2c2020;
    --color-text-light: #6b5e5a;
    --color-border: #e8ddd8;
    --color-white: #ffffff;

    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

address {
    font-style: normal;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-sm);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ── Typography ───────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.text-accent-italic {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-burgundy);
}

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

/* ── Buttons ──────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-burgundy);
    color: var(--color-white);
    border: 1.5px solid var(--color-burgundy);
}

.btn--primary:hover {
    background: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 0, 32, 0.25);
}

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

.btn--ghost:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
}

.btn--sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
}

.btn--full {
    width: 100%;
}

/* ── Header ───────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 252, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(26, 20, 18, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-burgundy);
    border: 1.5px solid var(--color-burgundy);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-dark);
}

.nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-light);
    transition: color var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-burgundy);
    transition: width var(--transition);
}

.nav a:hover {
    color: var(--color-burgundy);
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.hamburger {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ── Hero ─────────────────────────────── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-cream);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--color-blush);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 40px,
        rgba(128, 0, 32, 0.03) 40px,
        rgba(128, 0, 32, 0.03) 41px
    );
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.hero-content {
    padding-right: var(--space-md);
}

.hero-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-md);
}

.hero-label .line {
    width: 40px;
    height: 1px;
    background: var(--color-burgundy);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.hero-title__pre {
    font-size: 0.5em;
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-text-light);
    display: block;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.hero-title__main {
    font-weight: 400;
}

.hero-title__accent {
    font-style: italic;
    color: var(--color-burgundy);
}

.hero-title__underline {
    position: relative;
}

.hero-title__underline::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-blush-dark);
    z-index: -1;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 440px;
    margin-bottom: var(--space-md);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-burgundy);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.hero-visual {
    position: relative;
    height: 700px;
}

.hero-img-wrap {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(26, 20, 18, 0.12);
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-img--main {
    width: 420px;
    height: 560px;
    top: 40px;
    right: 0;
    z-index: 2;
}

.hero-img--accent {
    width: 280px;
    height: 200px;
    bottom: 60px;
    left: -40px;
    z-index: 3;
    border: 4px solid var(--color-cream);
}

.img-caption {
    position: absolute;
    bottom: -32px;
    left: 0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

/* ── Section Spacing ──────────────────── */
.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ── Craft Section ────────────────────── */
.craft {
    background: var(--color-white);
}

.craft-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.craft-text {
    padding-right: var(--space-md);
}

.craft-text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    font-size: 1.0625rem;
}

.craft-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-text);
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.craft-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 20, 18, 0.1);
}

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

/* ── Services ─────────────────────────── */
.services {
    background: var(--color-blush-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(26, 20, 18, 0.1);
    border-color: transparent;
}

.service-card__img {
    overflow: hidden;
    height: 220px;
}

.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card__body {
    padding: var(--space-md);
}

.service-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--color-blush-dark);
    line-height: 1;
    margin-bottom: var(--space-sm);
    display: block;
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ── Gallery ──────────────────────────── */
.gallery {
    background: var(--color-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 20, 18, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay span {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--color-white);
}

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 420px;
}

.gallery-item:not(.gallery-item--large) {
    min-height: 200px;
}

.gallery-cta {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-blush);
    border-radius: var(--radius-lg);
}

.gallery-cta p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

/* ── About ────────────────────────────── */
.about {
    background: var(--color-white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(26, 20, 18, 0.1);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--color-blush);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-text {
    padding-left: var(--space-md);
}

.about-text p {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    margin-bottom: var(--space-sm);
}

.about-quote {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--color-blush-light);
    border-left: 3px solid var(--color-burgundy);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-mark {
    width: 32px;
    height: 32px;
    color: var(--color-burgundy);
    opacity: 0.3;
    margin-bottom: var(--space-xs);
}

.about-quote blockquote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-dark);
    line-height: 1.6;
}

/* ── Contact ──────────────────────────── */
.contact {
    background: var(--color-dark);
    color: var(--color-white);
}

.contact .section-label {
    color: var(--color-blush);
}

.contact .section-title {
    color: var(--color-white);
}

.contact .text-accent-italic {
    color: var(--color-blush);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
    max-width: 440px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-blush);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-blush);
    margin-bottom: 0.25rem;
}

.contact-detail address,
.contact-detail a,
.contact-detail p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.contact-detail a:hover {
    color: var(--color-white);
}

/* Form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-blush);
    background: rgba(255, 255, 255, 0.08);
}

.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='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--color-dark);
    color: var(--color-white);
}

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

.form-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    margin-top: var(--space-xs);
}

.form-success {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.success-icon {
    width: 48px;
    height: 48px;
    color: var(--color-blush);
    margin: 0 auto var(--space-sm);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.form-success p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
}

/* ── Footer ───────────────────────────── */
.footer {
    background: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: start;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand .logo-mark {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
}

.footer-brand .logo-text {
    font-size: 1rem;
    color: var(--color-white);
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--space-md);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .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; }
}

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

    .hero-visual {
        display: none;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero::before {
        display: none;
    }

    .craft-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .craft-text,
    .about-text {
        padding-right: 0;
        padding-left: 0;
    }

    .about-image-wrap {
        order: -1;
    }

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

    .gallery-item--large {
        grid-column: span 12;
    }

    .gallery-item {
        grid-column: span 6;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 252, 251, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .nav a {
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    .gallery-item {
        grid-column: span 12;
    }

    .gallery-item--large {
        min-height: 280px;
    }

    .gallery-item:not(.gallery-item--large) {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}
