html {
    scroll-behavior: smooth;
}
/* ==========================================================================
   DESIGN SYSTEM CORE: SCULPTED EDGE AUTOMATION THEME
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:ital,wght@0,400;0,500;1,300&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #fcfbf7;          /* Premium Warm Bone Light */
    --forest-deep: #112520;       /* Rich Adirondack Pine/Copper Base Dark */
    --forest-accent: #193a31;     /* Classic Workshop Green Accent */
    --text-primary: #1c2220;      /* Near Black Body Text */
    --text-muted: #626e6a;        /* Soft Technical Content Gray */
    --bone-ivory: #f4f1eb;        /* Pure Historic White Text Layer */
    --hairline-color: #e5e0d5;    /* Muted Boundary Rule separator */
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Cinzel', serif;
}

/* Reset baseline structures */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base layouts typography utility tokens */
.container-edge {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}
.font-display { font-family: var(--font-display); }
.italic { font-style: italic; }
.font-light { font-weight: 300; }
.uppercase-sub { font-size: 11px; tracking: 0.2em; text-transform: uppercase; color: var(--text-muted); }

/* Eyebrow Components */
.eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    display: inline-flex;
    align-items: center;
}
.eyebrow-line { display: inline-block; height: 1px; width: 24px; margin-right: 12px; vertical-align: middle; }
.line-bone { background-color: rgba(244, 241, 235, 0.7); }
.line-forest { background-color: rgba(25, 58, 49, 0.6); }

/* Color classes presets */
.text-forest { color: var(--forest-accent); }
.text-bone { color: var(--bone-ivory); }
.text-bone-95 { color: rgba(244, 241, 235, 0.95); }
.text-bone-80 { color: rgba(244, 241, 235, 0.8); }
.text-bone-70 { color: rgba(244, 241, 235, 0.7); }
.text-bone-60 { color: rgba(244, 241, 235, 0.6); }
.text-bone-55 { color: rgba(244, 241, 235, 0.55); }
.text-bone-50 { color: rgba(244, 241, 235, 0.5); }
.text-bone-45 { color: rgba(244, 241, 235, 0.45); }
.text-muted { color: var(--text-muted); }

/* Grid engines */
.grid-12 { display: grid; grid-template-columns: repeat(12, 11fr); gap: 32px; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }

/* Header element styling */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(252, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px stroke var(--hairline-color);
transition: transform 0.3s ease-in-out;}
.header-wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.brand-logo { 
    text-decoration: none; 
    display: flex; 
    flex-direction: column; 
    align-items: center;    /* This perfectly centers them on top of each other */
    gap: 4px; 
    line-height: 1; 
}

.logo-text { 
    font-family: var(--font-display); 
    font-size: 22px; 
    letter-spacing: -0.02em; 
    color: var(--text-primary); 
    padding-bottom: 2px;
    border-bottom: 2px solid var(--forest-accent); /* Clean green underline under ONLY the main name */
}

.logo-subtext { 
    font-family: var(--font-sans);
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 0.18em; 
    color: var(--text-muted); 
    margin-top: 4px;
    text-decoration: none !important; /* Explicitly forces the link underline to disappear */
    display: block;
} }
.desktop-nav { display: flex; gap: 28px; align-items: center; }
.nav-link { font-size: 13px; font-weight: 500; color: var(--text-primary); opacity: 0.8; text-decoration: none; transition: opacity 0.2s; }
.nav-link:hover { opacity: 1; }
.nav-link-secondary {
    font-family: var(--font-sans);
    font-size: 13px; 
    font-weight: 500; 
    color: var(--text-primary); 
    text-decoration: none; 
    padding: 10px 18px;
    letter-spacing: 0.03em;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.nav-link-secondary:hover {
    color: var(--forest-accent);
    border-bottom-color: var(--forest-accent); /* Draws a clean green line under email on hover */
}
.nav-btn { font-size: 13px; font-weight: 500; color: var(--bone-ivory); background-color: var(--forest-accent); padding: 8px 18px; text-decoration: none; transition: background 0.2s; }
.nav-btn:hover { background-color: var(--forest-deep); }

/* Hero sections */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--forest-deep);
    /* Set backplate layer placeholder if background images load slow */
    background-image: url('images/hero-green-wall.jpg');
    background-size: cover;
    background-position: center;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(17,37,32,0.72) 0%, rgba(17,37,32,0.35) 45%, rgba(17,37,32,0) 75%);
}
.hero-bottom-rail-fade {
    position: absolute;
    left: 0; right: 0; bottom: 0; height: 120px;
    background: linear-gradient(to bottom, rgba(17,37,32,0) 0%, rgba(17,37,32,0.65) 100%);
}
.hero-content-wrap { position: relative; z-index: 10; flex: 1; display: flex; align-items: center; padding-top: 140px; }
.hero-text-block { max-width: 540px; }
.main-headline { font-size: 3.8rem; font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; margin-top: 16px; margin-bottom: 24px; }
.hero-subtext { font-size: 1.05rem; color: rgba(244, 241, 235, 0.9); margin-bottom: 36px; max-width: 440px; }
.hero-cta-wrap { display: flex; align-items: center; gap: 32px; }
.btn-primary { background-color: var(--bone-ivory); color: var(--forest-deep); font-size: 13px; font-weight: 600; tracking: 0.05em; text-transform: uppercase; padding: 16px 28px; text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background-color: #ffffff; }
.link-underline { font-size: 13px; color: var(--bone-ivory); text-decoration: none; border-bottom: 1px stroke rgba(244,241,235,0.6); padding-bottom: 4px; }

.hero-bottom-rail { position: relative; z-index: 10; border-t: 1px solid rgba(244, 241, 235, 0.15); padding: 18px 0; }
.rail-text { font-size: 11px; letter-spacing: 0.15em; color: rgba(244, 241, 235, 0.75); }

/* Brand statements section elements */
.brand-statement-section { padding: 100px 0; background-color: var(--bg-color); }
.brand-lead-text { font-size: 2.1rem; color: var(--text-primary); line-height: 1.25; letter-spacing: -0.02em; }
.brand-lead-text p { margin-bottom: 16px; }
.brand-lead-text .strong-ending { font-weight: 500; margin-top: 24px; }
.brand-divider-wrap { margin-top: 48px; display: flex; align-items: center; gap: 20px; }
.hairline-line { height: 1px; flex: 1; background-color: var(--hairline-color); }

/* North country catalog product engine block styles */
.north-country-section { padding: 120px 0; background-color: var(--forest-accent); color: var(--bone-ivory); }
.section-headline { font-size: 3.2rem; line-height: 1.05; letter-spacing: -0.02em; margin-top: 12px; }
.section-lead-text { font-size: 15px; opacity: 0.85; margin-top: 20px; max-width: 420px; }
.product-specs-list { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; max-width: 440px; }
.spec-detail { font-size: 13px; opacity: 0.9; margin-top: 4px; line-height: 1.4; }

/* Interactive panel controls wrapper styles */
.interactive-pricing-box { background-color: var(--forest-deep); border: 1px solid rgba(244,241,235,0.15); padding: 28px; margin-top: 40px; max-width: 380px; }
.config-price-display { font-family: var(--font-display); font-size: 3.2rem; font-weight: 400; margin-bottom: 24px; }
.config-price-display .currency { font-size: 1.8rem; vertical-align: super; margin-right: 2px; }
.selector-element { margin-bottom: 20px; }
.selector-element:last-child { margin-bottom: 0; }
.selector-element label { display: block; margin-bottom: 8px; }
.selector-element select {
    width: 100%; background-color: var(--forest-accent); border: 1px solid rgba(244,241,235,0.3);
    color: var(--bone-ivory); font-family: var(--font-sans); font-size: 13px; padding: 12px 16px;
    outline: none; border-radius: 0; appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f4f1eb' 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 16px center;
}
.selector-element select:hover { border-color: rgba(244,241,235,0.6); }
.product-cta-wrap { margin-top: 24px; max-width: 380px; }
.btn-primary-dark { display: block; width: 100%; text-align: center; background-color: var(--bone-ivory); color: var(--forest-deep); font-size: 13px; font-weight: 600; text-transform: uppercase; tracking: 0.05em; padding: 16px; text-decoration: none; }

/* Image responsive frames architecture elements */
.gallery-frame { position: relative; width: 100%; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 0.3s ease; }
.gallery-caption { margin-top: 16px; font-size: 12px; color: rgba(244,241,235,0.65); line-height: 1.5; }
.img-aspect-wrapper { position: relative; overflow: hidden; width: 100%; background-color: var(--hairline-color); }
.aspect-16-10 { aspect-ratio: 16 / 10; }
.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.caption-row { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 12px; }

/* Real installed houses layout structures */
.real-homes-section { padding: 120px 0; background-color: var(--bg-color); }
.section-header-margin { margin-bottom: 64px; }
.text-large { font-size: 1.1rem; line-height: 1.6; }
.gap-medium { gap: 16px; }
.stack-column { display: flex; flex-direction: column; gap: 16px; }

/* Customer testimonials features row profiles */
.customer-trust-section { padding: 120px 0; border-top: 1px solid var(--hairline-color); background-color: var(--bg-color); }
.padding-left-offset { padding-left: 48px; }
.testimonial-quote { font-size: 1.55rem; line-height: 1.4; letter-spacing: -0.01em; margin-top: 24px; color: var(--text-primary); }
.testimonial-author { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 32px; }
.author-subtext { display: block; text-transform: none; letter-spacing: normal; font-size: 11px; opacity: 0.8; margin-top: 4px; }

/* Collections cards systems grid templates */
.collections-index-section { padding: 120px 0; border-top: 1px solid var(--hairline-color); background-color: var(--bg-color); }
.header-margin { margin-bottom: 64px; }
.collections-card-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; background-color: var(--hairline-color); gap: 1px; border: 1px solid var(--hairline-color); }
.collection-card { background-color: var(--bg-color); padding: 40px; min-height: 280px; display: flex; flex-direction: column; }
.card-title { font-size: 1.8rem; margin-top: 24px; tracking: -0.01em; }
.card-blurb { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.card-link { font-size: 13px; font-weight: 500; color: var(--forest-accent); text-decoration: none; margin-top: auto; padding-top: 32px; }
.card-status-badge { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); background-color: #f0ede6; padding: 6px 12px; margin-top: auto; width: max-content; }

/* Craft stages sections */
.craft-stages-section { padding: 120px 0; background-color: var(--forest-deep); color: var(--bone-ivory); }
.craft-stages-list { margin-top: 64px; gap: 56px 48px; }
.stage-item { border-top: 1px solid rgba(244,241,235,0.2); pt: 24px; padding-top: 24px; list-style: none; }
.stage-header { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.5rem; opacity: 0.55; }
.stage-title { font-size: 1.7rem; font-weight: 400; margin-top: 16px; tracking: -0.01em; }
.stage-body { font-size: 14px; opacity: 0.8; margin-top: 12px; max-width: 440px; line-height: 1.6; }

/* Historical story narratives styling profiles */
.historical-story-section { position: relative; padding: 140px 0; background-color: var(--forest-deep); color: var(--bone-ivory); overflow: hidden; }
.archival-svg-layer { position: absolute; inset: 0; pointer-events: none; }
.relative-z { position: relative; z-index: 10; }
.max-w-story { max-width: 560px; }
.story-prose-block { font-size: 1.4rem; font-weight: 400; line-height: 1.65; letter-spacing: -0.01em; }
.story-prose-block p { margin-bottom: 28px; color: rgba(244,241,235,0.95); }
.story-prose-block .story-tagline { color: var(--bone-ivory); padding-top: 8px; }
.story-footer-divider { margin-top: 48px; display: flex; align-items: center; gap: 20px; }
.hairline-bg-opacity { height: 1px; flex: 1; background-color: rgba(244,241,235,0.15); }

/* Footer components layouts profiles */
.site-footer { background-color: var(--forest-deep); color: var(--bone-ivory); border-top: 1px solid rgba(244,241,235,0.1); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer-logo { font-size: 28px; tracking: -0.02em; }
.footer-vintage-sub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,241,235,0.6); margin-top: 4px; }
.footer-desc { font-size: 14px; opacity: 0.75; margin-top: 24px; max-width: 320px; }
.footer-label { color: rgba(244,241,235,0.55); margin-bottom: 20px; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 12px; }
.footer-list a { font-size: 14px; color: rgba(244,241,235,0.85); text-decoration: none; transition: color 0.2s; }
.footer-list a:hover { color: #ffffff; }
.footer-bottom-rail { border-top: 1px solid rgba(244,241,235,0.15); padding: 24px 40px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(244,241,235,0.55); }

/* ==========================================================================
   MOBILE RESPONSIVE ADAPTATIONS QUERIES
   ========================================================================== */
@media (max-width: 991px) {
    .grid-12 { grid-template-columns: 1fr; gap: 40px; }
    .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: span 12; }
    .desktop-nav { display: none; } /* Simplicity threshold for clean flat site landing pages */
    .container-edge { padding: 0 24px; }
    .main-headline { font-size: 2.6rem; }
    .brand-lead-text { font-size: 1.6rem; }
    .section-headline { font-size: 2.2rem; }
    .story-prose-block { font-size: 1.15rem; }
    .padding-left-offset { padding-left: 0; }
    .collections-card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom-rail { flex-direction: column; gap: 12px; padding-left: 24px; padding-right: 24px; }
.contact-list-highlights li {
    margin-bottom: 16px !important;
}

.footer-contact-link {
    font-size: 14px !important;
    color: var(--bone-ivory) !important;
    text-decoration: none !important;
    display: block;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.text-small-note {
    font-size: 11px;
    font-style: italic;
    display: block;
    margin-top: 4px;
}