/*
    CHAIR PORTFOLIO WEBSITE - REFINED MINIMALIST STYLESHEET
    Inspired by: On Being Project, Patagonia, Aesop, The Wilderness Project

    Design Philosophy:
    - Generous whitespace for contemplative browsing
    - Earth tones and natural palette
    - Sophisticated typography with clear hierarchy
    - Clean, understated elegance
    - Image-focused storytelling
*/

/* ============================================
   GLOBAL FOUNDATION
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
    REFINED COLOR PALETTE
    Inspired by Aesop's muted sophistication and Patagonia's natural tones
*/
:root {
    /* Primary earth tones - warm, sophisticated, natural */
    --primary-dark: #2b2520;        /* Deep espresso brown */
    --primary-medium: #4a4238;      /* Warm gray-brown */
    --accent-earth: #8b7355;        /* Muted caramel */
    --accent-sage: #8a9a7b;         /* Soft sage green */

    /* Neutral foundation */
    --cream: #f5f1eb;               /* Warm cream background */
    --off-white: #faf8f5;           /* Softer than pure white */
    --warm-gray: #d4cec5;           /* Subtle warm gray */
    --text-primary: #3a3530;        /* Soft black for text */
    --text-secondary: #6b6460;      /* Secondary text */

    /* Subtle accents */
    --divider: rgba(59, 53, 48, 0.12);  /* Very subtle dividers */

    /* Typography - Inspired by Aesop's refined approach */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Avenir Next', 'Helvetica Neue',
                    'Segoe UI', Arial, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;  /* For elegant accents */

    /* Spacing scale - Generous, contemplative */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;
}

/* Body - Clean foundation */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.75;              /* Generous line height for readability */
    color: var(--text-primary);
    background-color: var(--off-white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container - Narrower for elegance, like On Being */
.container {
    max-width: 1100px;              /* Slightly narrower than typical */
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   TYPOGRAPHY - Clear hierarchy, generous spacing
   ============================================ */

h1, h2, h3, h4 {
    font-weight: 400;               /* Light weight, refined */
    letter-spacing: -0.02em;        /* Tight tracking */
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);  /* Responsive, large */
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;           /* 17px - comfortable reading size */
    color: var(--text-primary);
    max-width: 65ch;                /* Optimal line length for reading */
}

.lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Links - Subtle, sophisticated */
a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--accent-earth);
    border-bottom-color: var(--accent-earth);
}

/* Images - Full respect for photography */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVIGATION - Minimal, refined
   ============================================ */

.navbar {
    background-color: var(--off-white);
    padding: var(--space-sm) 0;          /* Reduced padding for larger logo */
    border-bottom: 1px solid var(--divider);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(250, 248, 245, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;                    /* Ensure enough height for logo */
}

.logo {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

.logo-image {
    height: 60px;              /* Mobile-first: compact on phones (grows on desktop below) */
    width: auto;
    display: block;
}

/* The link wrapping the logo shouldn't get the underline that other links have */
.logo-link,
.logo-link:hover {
    border-bottom: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-menu a {
    font-size: 0.9375rem;           /* 15px */
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    padding: var(--space-xs) 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-dark);
    border-bottom-color: var(--accent-earth);
}

/* ============================================
   BUTTONS - Understated elegance
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: var(--primary-dark);
    color: var(--off-white);
    border: 1px solid var(--primary-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-dark);
    transform: none;                /* No lift - more subtle */
    box-shadow: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--off-white);
}

/* ============================================
   HOME PAGE - HERO SECTION
   ============================================ */

.hero {
    padding: var(--space-xxl) var(--space-lg);
    text-align: center;
    background-color: var(--cream);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--primary-dark);
    font-weight: 300;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.01em;
}

/* ============================================
   HOME PAGE - FEATURED SECTION
   ============================================ */

.featured {
    padding: var(--space-lg) 0 var(--space-xxl) 0;
    background-color: var(--off-white);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.featured h2 {
    text-align: center;
    font-weight: 300;
    margin-bottom: var(--space-xl);
    color: var(--primary-dark);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.featured-chair {
    display: grid;
    grid-template-columns: 1.2fr 1fr;   /* Image slightly larger */
    gap: var(--space-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.featured-chair img {
    width: 100%;
    object-fit: cover;
    /* No border radius or shadow - clean, editorial style */
}

.featured-info {
    padding-left: var(--space-md);
}

.featured-info h1 {
    font-weight: 300;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

.featured-info h3 {
    font-weight: 400;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

.featured-info .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.01em;
}

.featured-info p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

/* ============================================
   HOME PAGE - INTRO SECTION
   ============================================ */

.intro {
    background-color: var(--cream);
    padding: var(--space-xl) 0;
    text-align: center;
}

.intro h2 {
    font-weight: 300;
    margin-bottom: var(--space-lg);
}

.intro-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

.page-header {
    padding: var(--space-xl) 0 0 0;
    text-align: center;
    background-color: var(--off-white);
}

.page-header h1 {
    font-weight: 300;
    margin-bottom: 0;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 300;
    margin: 0 auto;
}

/* ============================================
   GALLERY PAGE - Editorial, clean
   ============================================ */

/* Gallery Introduction */
.gallery-intro {
    padding: var(--space-xl) 0;
    background-color: var(--cream);
    text-align: center;
}

.gallery-intro .lead {
    max-width: 750px;
    margin: 0 auto var(--space-lg) auto;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.option-category h3 {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
}

.option-category ul {
    list-style: none;
    padding: 0;
}

.option-category li {
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.option-category li strong {
    color: var(--text-primary);
}

/* ============================================
   COMBINATION TILES - Clickable category grid
   ============================================ */

.combination-tiles-section {
    padding: var(--space-lg) 0 var(--space-xxl) 0;
    background-color: var(--off-white);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.gallery-main-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.gallery-main-subtitle {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: var(--space-xl);
    color: var(--primary-dark);
}

.combination-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.combination-tile {
    background-color: var(--cream);
    border: 1px solid var(--divider);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.combination-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-earth);
}

.tile-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.combination-tile:hover .tile-image {
    transform: scale(1.05);
}

.tile-content {
    padding: var(--space-lg);
    text-align: center;
}

.tile-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.tile-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.tile-count {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--accent-earth);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   EXPANDED GALLERY - Shows after clicking tile
   ============================================ */

.expanded-gallery {
    padding: var(--space-xxl) 0;
    background-color: var(--cream);
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-lg);
}

.gallery-header h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-dark);
}

.close-gallery-btn {
    background: none;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-gallery-btn:hover {
    background-color: var(--primary-dark);
    color: var(--off-white);
    transform: rotate(90deg);
}

.gallery-description {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-xl) auto;
    font-size: 1.125rem;
    padding: 0 var(--space-lg);
}

/* Gallery Categories (Legacy - keep for expanded galleries) */
.gallery-section {
    padding: var(--space-xl) 0 var(--space-xxl) 0;
    background-color: var(--off-white);
}

.gallery-category {
    margin-bottom: var(--space-xxl);
}

.gallery-category:last-of-type {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
    text-align: center;
}

.category-description {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl) auto;
    font-size: 1.0625rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.gallery-item {
    background-color: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: none;                /* No lift - more editorial */
}

.gallery-item:hover .gallery-image {
    opacity: 0.85;                  /* Subtle fade on hover */
}

.gallery-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: opacity 0.4s ease;
    margin-bottom: var(--space-md);
}

.gallery-info {
    padding: 0;
}

.gallery-info h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.gallery-info p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Gallery CTA Section */
.gallery-cta {
    background-color: var(--cream);
    padding: var(--space-xxl) 0;
    text-align: center;
    border-top: 1px solid var(--divider);
}

.gallery-cta h2 {
    font-weight: 300;
    margin-bottom: var(--space-md);
}

.gallery-cta p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-lg) auto;
}

/* Modal - Clean, minimal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 37, 32, 0.96);  /* Dark warm overlay */
    backdrop-filter: blur(10px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85%;
    margin-top: 3%;
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: var(--off-white);
    font-size: 2.5rem;
    font-weight: 200;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.modal-close:hover {
    opacity: 1;
}

.modal-caption {
    text-align: center;
    color: var(--off-white);
    padding: var(--space-lg);
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* ============================================
   ABOUT PAGE - Editorial, story-focused
   ============================================ */

.about-content {
    padding: var(--space-md) 0 var(--space-xxl) 0;
    background-color: var(--off-white);
}

.about-intro {
    text-align: center;
    margin-bottom: var(--space-lg);
    margin-top: var(--space-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro h2 {
    font-size: 1.75rem;
    font-weight: 400;
}

.about-section {
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-section h3 {
    font-weight: 400;
    margin-bottom: var(--space-md);
    margin-top: var(--space-lg);
}

.about-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Founders Section */
.founders-section {
    margin: var(--space-xxl) 0;
}

.founder-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 2px;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .founder-images {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .founder-image {
        height: 320px;
    }
}

/* Process Gallery */
.process-gallery {
    margin: var(--space-xxl) 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.process-gallery h1 {
    text-align: center;
    font-weight: 300;
    margin-bottom: var(--space-lg);
    color: var(--primary-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.process-item {
    position: relative;
    overflow: hidden;
}

.process-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    display: block;
    background-color: var(--cream);
}

.process-image:hover {
    opacity: 0.85;
}

.process-hover-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(43, 37, 32, 0.92);
    color: var(--cream);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.process-item:hover .process-hover-text {
    opacity: 1;
    transform: translateY(0);
}

.about-cta {
    background-color: var(--cream);
    padding: var(--space-xl);
    text-align: center;
    margin-top: var(--space-xxl);
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.about-cta h3 {
    font-weight: 300;
    margin-bottom: var(--space-md);
}

.about-cta p {
    margin: 0 auto var(--space-lg) auto;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

/* ============================================
   CONTACT PAGE - Clean, approachable
   ============================================ */

.contact-section {
    padding: var(--space-xl) 0 var(--space-xxl) 0;
    background-color: var(--off-white);
}

.contact-intro {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xxl);
    max-width: 1100px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form-container h2 {
    font-weight: 400;
    margin-bottom: var(--space-lg);
    font-size: 1.75rem;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--warm-gray);
    background-color: var(--off-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-earth);
    background-color: white;
}

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

.btn-submit {
    width: 100%;
    margin-top: var(--space-md);
}

/* Contact Info */
.contact-info h2 {
    font-weight: 400;
    margin-bottom: var(--space-lg);
    font-size: 1.75rem;
}

.contact-item {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--divider);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-item h3 {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.contact-item p {
    font-size: 1.0625rem;
    margin: 0;
}

.contact-item a {
    color: var(--text-primary);
    border-bottom: 1px solid var(--divider);
}

.contact-item a:hover {
    color: var(--accent-earth);
    border-bottom-color: var(--accent-earth);
}

.contact-note {
    background-color: var(--cream);
    padding: var(--space-md);
    margin-top: var(--space-lg);
    border-left: 2px solid var(--accent-earth);
}

.contact-note p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   FOOTER - Minimal, refined
   ============================================ */

.footer {
    background-color: var(--primary-dark);
    color: var(--warm-gray);
    text-align: center;
    padding: var(--space-xl) 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin: 0;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 900px) {
    :root {
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-xxl: 4rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .featured-chair {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .featured-info {
        padding-left: 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .gallery-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;       /* logo on top, menu below */
        align-items: center;
        gap: var(--space-sm);
        min-height: 0;                /* compact sticky header on phones */
    }

    .nav-menu {
        gap: var(--space-md);
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: var(--space-xl) var(--space-md);
        min-height: 50vh;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .modal-close {
        top: 20px;
        right: 30px;
        font-size: 2rem;
    }
}

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

    .btn {
        padding: 0.75rem 2rem;
        font-size: 0.875rem;
    }

    .gallery-image {
        height: 300px;
    }

    .nav-menu {
        gap: var(--space-sm);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   MOBILE-FIRST ADDITIONS & NEW COMPONENTS
   --------------------------------------------
   The rules below are written phone-first: the
   plain rule is the mobile layout, and each
   `min-width` query layers on the desktop
   version. They live at the end so they are the
   final word on these elements.
   ============================================ */

/* --- Logo grows on wider screens --- */
@media (min-width: 700px) {
    .logo-image {
        height: 84px;
    }
}

/* --- Hero call-to-action buttons --- */
/* Phones: stacked, full-width, easy to tap. Wider: side by side. */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

@media (min-width: 560px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ============================================
   WAITING LIST
   ============================================ */

.waitlist {
    background-color: var(--cream);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.waitlist-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-inner h2 {
    font-weight: 300;
    margin-bottom: var(--space-sm);
}

.waitlist-lead {
    color: var(--text-secondary);
    max-width: 58ch;
    margin: 0 auto var(--space-lg);
}

.waitlist-form {
    text-align: left;
}

/* Name + email sit in one row on wider screens, stacked on phones */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 560px) {
    .form-row {
        flex-direction: row;
        gap: var(--space-md);
    }

    .form-row .form-group {
        flex: 1;
    }
}

.req {
    color: var(--accent-earth);
}

.optional {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.waitlist-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin: var(--space-sm) auto 0;
}

.waitlist-success {
    background-color: var(--off-white);
    border: 1px solid var(--divider);
    padding: var(--space-lg);
    text-align: center;
}

.waitlist-success h3 {
    margin-bottom: var(--space-sm);
}

.waitlist-success p {
    color: var(--text-secondary);
    margin: 0 auto;
}

/* ============================================
   CONTACT PAGE - simplified single column
   ============================================ */

.contact-content-single {
    max-width: 560px;
    margin: 0 auto;
}

.contact-cta {
    background-color: var(--cream);
    border-left: 2px solid var(--accent-earth);
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-cta p {
    margin: 0;
    font-size: 1.0625rem;
}

/* ============================================
   GALLERY - phone-first, no horizontal overflow
   --------------------------------------------
   The old grid forced a 300px-wide column, which
   is wider than a phone once padding is counted -
   that pushed the page sideways. Phones now get a
   single column; wider screens get two.
   ============================================ */

.combination-tiles-section {
    display: block;                 /* plain stacking on phones */
    min-height: 0;
    padding: var(--space-xl) 0 var(--space-xxl);
}

.combination-tiles-grid {
    grid-template-columns: 1fr;     /* one chair per row on phones */
    padding: 0;                     /* .container already pads the sides */
    gap: var(--space-lg);
    max-width: 900px;
}

@media (min-width: 700px) {
    .combination-tiles-grid {
        grid-template-columns: 1fr 1fr;   /* two chairs side by side */
    }
}

/* Expanded photo set: drop the doubled side padding on phones */
.gallery-grid,
.gallery-header,
.gallery-description {
    padding-left: 0;
    padding-right: 0;
}

/* Expanded photo set header: back link on top, title centred below */
.gallery-header {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-sm);
    text-align: center;
}

.gallery-header h2 {
    text-align: center;
}

/* Back link - subtle text button that matches the site */
.back-btn {
    align-self: flex-start;
    background: none;
    border: none;
    padding: var(--space-xs) 0;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: var(--accent-earth);
}

/* ============================================
   GALLERY PHOTOS - show the whole picture
   --------------------------------------------
   The old rule forced every photo into a fixed
   450px-tall box and cropped the sides, which
   squashed the upright (portrait) shots. Photos
   now keep their own shape.
   ============================================ */

.gallery-image {
    width: 100%;
    height: auto;              /* was a fixed height + crop */
    object-fit: contain;
}

/* Let each photo sit in its own row height rather than
   being stretched to match its neighbour. */
.gallery-grid {
    align-items: start;
}

/* ============================================
   ENLARGED PHOTO (lightbox) - fill the screen
   --------------------------------------------
   Centres the photo and lets it use almost the
   whole window, so detail is visible when a
   visitor taps to enlarge.
   ============================================ */

.modal {
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
}

/* Only switch on the flex centring when the modal is open;
   the JS toggles display between 'none' and 'block'. */
.modal[style*="block"] {
    display: flex !important;
}

.modal-content {
    margin: 0;
    max-width: 82%;
    max-height: 78vh;          /* leaves a clear dark frame around the photo */
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Close button sits in the dark frame, clear of the photo */
.modal-close {
    top: 3vh;
    right: 4vw;
    font-size: 2.25rem;
    line-height: 1;
    z-index: 10;
}

/* ============================================
   SECOND HERO - full-width forest photo
   ============================================ */

.hero-band {
    background-color: var(--cream);
    padding: 0;
}

.hero-band img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: cover;
    object-position: center 58%;   /* keeps the chairs in frame */
    display: block;
}

/* ============================================
   ABOUT PAGE PHOTOS - show the whole picture
   --------------------------------------------
   These were being cropped to a fixed height,
   which cut the tops and sides off. They now
   keep their own shape.
   ============================================ */

.founder-image {
    height: auto;
    object-fit: contain;
}

.founder-images {
    align-items: start;
}

.process-image {
    height: auto;
    object-fit: contain;
}

.process-grid {
    align-items: start;
}

/* ============================================
   HERO TITLE - sits above the first photo
   ============================================ */

.featured {
    display: block;                /* was flex - title now stacks on top */
    min-height: 0;
    padding: var(--space-lg) 0 var(--space-xl);
}

.featured-title {
    text-align: center;
    font-weight: 300;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-md);
}

/* ============================================
   SERIES ONE - finite first run
   ============================================ */

.series {
    background-color: var(--cream);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--divider);
}

.series-inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.series-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-earth);
    margin: 0 auto var(--space-xs);
}

.series-inner h2 {
    font-weight: 300;
    margin-bottom: var(--space-md);
}

.series-inner p {
    color: var(--text-secondary);
    margin: 0 auto;
}

/* Secondary hero line - keyword-bearing supporting copy */
.hero-secondary {
    color: var(--text-secondary);
}

/* Footer: two short lines */
.footer p + p {
    margin-top: var(--space-xs);
    opacity: 0.7;
}

/* ============================================
   CHAIR DETAILS (Home) - materials & craft
   --------------------------------------------
   Phone-first: each spec stacks (label over value);
   at 620px+ the label and value sit side by side.
   ============================================ */

.chair-details {
    background-color: var(--off-white);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--divider);
}

.details-inner {
    max-width: 720px;
    margin: 0 auto;
}

.details-inner h2 {
    font-weight: 300;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.spec-list {
    margin: 0 0 var(--space-lg);
}

.spec {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--divider);
}

.spec:last-child {
    border-bottom: 1px solid var(--divider);
}

.spec dt {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.spec dd {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--text-primary);
}

.spec dd em {
    font-style: italic;
}

@media (min-width: 620px) {
    .spec {
        flex-direction: row;
        align-items: baseline;
        gap: var(--space-lg);
    }

    .spec dt {
        flex: 0 0 140px;
    }

    .spec dd {
        flex: 1;
    }
}

.details-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 60ch;
    margin: 0 auto;
    text-align: center;
}

/* ============================================
   GALLERY RANGE NOTE - "more coming soon"
   ============================================ */

.gallery-range-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 58ch;
    margin: var(--space-xl) auto 0;
}

/* ============================================
   CONTACT PAGE - primary CTA + questions
   ============================================ */

/* The sign-up form sits here directly - it brings its own card
   styling from MailerLite, so no box around it. */
.contact-primary {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact-primary-note {
    color: var(--text-secondary);
    max-width: 48ch;
    margin: 0 auto var(--space-md);
}

/* ============================================
   MAILERLITE FORM - restyled to match the site
   --------------------------------------------
   MailerLite ships its own grey card and black
   button. These rules blend it into the page.
   ============================================ */

.ml-form-embedContainer,
.ml-form-embedWrapper,
.ml-form-embedWrapper.embedForm,
.ml-form-embedBody,
.ml-form-successBody {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
}

/* Headings and copy inside the form */
.ml-form-embedWrapper h4,
.ml-form-embedWrapper p {
    font-family: var(--font-primary) !important;
    color: var(--text-primary) !important;
}

.ml-form-embedWrapper h4 {
    font-weight: 300 !important;
    letter-spacing: -0.02em !important;
}

/* Text fields - match the site's own inputs.
   MailerLite's own stylesheet targets these through the
   #mlb2-... container id, so we match that id to win. */
#mlb2-44057418#mlb2-44057418.ml-form-embedContainer .ml-form-embedWrapper input.form-control,
.ml-form-embedWrapper input.form-control {
    background-color: var(--off-white) !important;
    border: 1px solid var(--warm-gray) !important;
    border-radius: 0 !important;
    font-family: var(--font-primary) !important;
    font-size: 1rem !important;
    color: var(--text-primary) !important;
    padding: 0.875rem !important;
    height: auto !important;
    box-shadow: none !important;
}

#mlb2-44057418#mlb2-44057418.ml-form-embedContainer .ml-form-embedWrapper input.form-control:focus,
.ml-form-embedWrapper input.form-control:focus {
    outline: none !important;
    border-color: var(--accent-earth) !important;
    background-color: #fff !important;
}

/* Placeholder text - grey and italic, so "(optional)" reads as a hint */
#mlb2-44057418#mlb2-44057418.ml-form-embedContainer .ml-form-embedWrapper input.form-control::placeholder,
.ml-form-embedWrapper input.form-control::placeholder {
    color: var(--text-secondary) !important;
    font-style: italic !important;
    opacity: 1 !important;
}

/* Submit button - match the site's .btn */
#mlb2-44057418#mlb2-44057418.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedSubmit button,
.ml-form-embedWrapper button.primary,
.ml-form-embedWrapper button.loading {
    background-color: var(--primary-dark) !important;
    border: 1px solid var(--primary-dark) !important;
    border-radius: 0 !important;
    font-family: var(--font-primary) !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 0.875rem 2.5rem !important;
    height: auto !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#mlb2-44057418#mlb2-44057418.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedSubmit button:hover,
.ml-form-embedWrapper button.primary:hover {
    background-color: transparent !important;
    color: var(--primary-dark) !important;
}

/* ============================================
   GALLERY TILES
   --------------------------------------------
   Beech keeps the original cropped band.
   The kiaat cover uses a pre-cropped file
   (IMG_8169-tile.jpg) shown in full.
   ============================================ */

.combination-tiles-grid {
    align-items: start;
}

.combination-tile[data-combination="kiaat-navy"] .tile-image-container {
    height: auto;
}

.combination-tile[data-combination="kiaat-navy"] .tile-image {
    height: auto;
    object-fit: contain;
}

/* Comfortable tap targets on phones (44px is the accepted minimum) */
@media (max-width: 768px) {
    .nav-menu a {
        padding: 0.6rem 0;
        display: inline-block;
    }

    .contact-links a {
        display: inline-block;
        padding: 0.35rem 0;
    }
}

/* Italic "optional" hint under the phone field */
.field-optional {
    display: block;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: -0.5rem;
    margin-bottom: var(--space-sm);
    text-align: left;
}

/* Contact details - plain clickable links, no labels */
.contact-links {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}

.contact-links li {
    margin-bottom: var(--space-sm);
}

.contact-links a {
    font-size: 1.0625rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--divider);
}

.contact-links a:hover {
    color: var(--accent-earth);
    border-bottom-color: var(--accent-earth);
}

.contact-questions h2 {
    font-weight: 300;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-sm);
}

.contact-questions > p {
    color: var(--text-secondary);
    text-align: center;
    max-width: 52ch;
    margin: 0 auto var(--space-lg);
}
