/* #region GLOBAL SETTINGS */

/* #region ROOT*/
/* ==========================================================================
   1. ROOT VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors (Hex Codes Only) */
    --color-white: #FFFFFF;
    --color-ivory: #D3D2C2;
    --color-sandstone: #C3AC8F;
    --color-umber: #74563F;
    --color-deep-arctic: #002D48;
    --color-black: #000000;
    
    /* Gradient Complement */
    --color-bronze-end: #745C47;

    /* Font Families & Weights */
    --font-headings: 'boucherie-flared', sans-serif;
    --font-body: 'bicyclette', sans-serif;

    --weight-regular: 400;
    --weight-bold: 700;
    --weight-black: 900;
}
/* #endregion */

/* #region HTML & BODY */
/* ==========================================================================
   2. GLOBAL & HTML LAYOUT RESETS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--color-ivory);
    max-width: 100%;
    /* Establishes 1rem = 16px base font scaling */
    font-size: 100%; 
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: var(--weight-regular);
    background-color: var(--color-ivory);
    
    /* Centered layout wrapper matching your 80% width mockup constraint */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
    
    color: var(--color-black);
    line-height: 1.5;
}


main {
  max-width: 85%;
  margin: 0 auto;
  background-color: var(--color-sandstone);
  padding: 1rem 4rem 1rem;

}
/* #endregion */

/* #region TYPOGRAPHY */
/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    font-family: var(--font-body);
    font-weight: var(--weight-regular);
    margin-bottom: 1em;
}

a {
    color: var(--color-deep-arctic);
    font-weight: 600;
}
a:hover {
    color: var(--color-umber);
}

/* Global Button Styles */
button, .btn {
    font-family: var(--font-body);
    font-weight: var(--weight-black);
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
}

button:hover {
    box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.3);
    color: var(--color-ivory);
}
/* #endregion */

/* #region HEADER & FOOTER injected */
/* HEADER */

.site-header {
    background-color: var(--color-ivory);
    width: 100%;
    
    /* Anchors the header to the absolute top of the screen on scroll */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; 

    padding: 1rem 0 1rem;
    
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 10%;
}

/* Logo Image constraints */
.header-logo {
    display: block;
    height: 4.5rem; /* Scales beautifully based on root rem */
    width: auto;
}

/* NAV */
/* Combines navigation list and CTA button block on the right */
.nav-actions-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* Navigation List Container */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    color: var(--color-umber)
}

.nav-link {
    font-family: var(--font-headings);
    font-weight: var(--weight-bold);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--color-umber);
    text-decoration: none;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}


.nav-link:hover {
    color: var(--color-deep-arctic);
}

/* "Book Now" Button Style from your Mockup */
.btn-header-book {
    font-family: var(--font-body);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--color-deep-arctic);
    color: var(--color-ivory);
    padding: 0.07em .5em; 
    border-radius: 0.5em;
    
    font-size: 1.5rem;
    letter-spacing: 0.07em;
    display: inline-block;
    transition: background-color 0.2s ease;
}
.btn-header-book:hover {
    background-color: var(--color-umber);
    padding: 0.09em .52em; 

}

/* --- Mobile Hamburger Trigger Toggle Button --- */
.mobile-menu-toggle {
    display: none; /* Invisible on desktop screens */
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 0.2rem;
    background-color: var(--color-deep-arctic);
    border-radius: 0.1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* FOOTER LAYOUT */

.site-footer {
    background-color: var(--color-umber);
    color: var(--color-sandstone);
    width: 100%;
    max-width: 100%;
    
    /* Responsive spacing around the interior content */
    padding-top: 4rem;
    padding-bottom: 2rem;
    padding-left: 10%;
    padding-right: 10%;
    }

/* Flex container splitting Hours and Contact */
.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

/* Individual Column Width and Constraints */
.footer-column {
    flex: 1;
    max-width: 25rem;
}

/* Headings with Mockup Underlines */
.footer-heading {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--color-sandstone);
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    display: inline-block;
    
    /* Recreates the solid bottom underline from the mockup */
    border-bottom: 0.15rem solid var(--color-sandstone);
}

/* Content Text Blocks */
.footer-text {
    font-family: var(--font-body);
    font-weight: var(--weight-regular);
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    color: var(--color-ivory);
}

/* Stylized Emergency Alert */
.emergency-text {
    text-transform: uppercase;
    font-weight: var(--weight-bold);
}

/* Link Styling within Footer */
.footer-link {
    color: var(--color-ivory);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-white);
}

/* Centered Bottom Bar Layout */
.footer-bottom {
    border-top: 0.05rem solid rgba(211, 210, 194, 0.2); /* Soft blend separator line */
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-ivory);
    opacity: 0.8;
    margin: 0;
}

/* #endregion */

/* #endregion */


/* #region HOME PAGE SECTIONS */

/* #region HERO */
/* ==========================================================================
   5. REWRITTEN HERO SECTION (NO PIXELS)
   ========================================================================== */

   .hero-section {
    position: relative;
    width: 100%;
    min-height: 30rem; /* Responsive sizing scale */
    background-image: url('heritage-assets/images/ac-unit.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: balance;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.hero-content {
    text-align: center;
    max-width: 50rem;
}

.hero-title {
    font-family: var(--font-body); /* Overrides global heading to use crisp Bicyclette */
    font-weight: var(--weight-black);
    font-size: 3.5rem;
    color: var(--color-white);
    line-height: 1.15;
    margin: 0;
    
    /* Clean CSS drop shadow matching the layered text visibility look */
    text-shadow: 0.15rem 0.15rem 0.5rem rgba(0, 0, 0, 0.65);
}
/* #endregion */

/* #region ABOUT */
/* ==========================================================================
   ABOUT PREVIEW ROW (NO PIXELS)
   ========================================================================== */

.about-preview-section {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Drops back to centered alignment */
    gap: 4rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    width: 100%;
    
    /* 1. Sets a strict vertical boundary for the row based on the text height */
    max-height: 24rem; 
}

.about-image-column {
    flex: 1;
    display: flex;
    /* 2. Forces the column container to stay locked to the row max-height */
    height: 24rem; 
}

.about-preview-image {
    width: 100%;
    height: 100%; /* Fill the 24rem container precisely */
    
    /* 3. Crops the top and bottom of the gauge photo so it fits the new frame */
    object-fit: cover; 
    
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.about-text-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.section-title-underlined {
    font-family: var(--font-headings);
    font-size: 3rem;
    color: var(--color-black);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.2rem;
    display: inline-block;
    border-bottom: 0.18rem solid var(--color-black);
}

.about-lead-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: var(--weight-bold);
    line-height: 1.35;
    color: var(--color-black);
    margin-bottom: 2rem;
    max-width: 28rem; /* Keeps lines readable and prevents stretching */
}

/* --- The Blueprint Accent Button --- */
.btn-learn-more {
    background-color: var(--color-deep-arctic);
    color: var(--color-white);
    padding: 0.75em 2em;
    border-radius: 0.4em;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-learn-more:hover {
    background-color: var(--color-umber);
}

/* --- Your Styled Core Statement Banner --- */
.accent-statement {
    font-family: var(--font-body);
    font-size: 1.75rem;
    font-weight: var(--weight-bold);
    color: var(--color-black);
    line-height: 1.2;
    margin: 0;
}

/* #endregion */

/* #region CRAZY GALLERY */
.gallery-ticker-section {
    width: 100%;
    margin-top: 5rem;
    padding-bottom: 2rem;
}

.gallery-title {
    font-family: var(--font-headings);
    font-size: 3rem;
    color: var(--color-black);
    line-height: 1.15;
    margin-bottom: 2.5rem;
}

/* The masking container window */
.ticker-viewport {
    width: 100%;
    overflow: hidden; /* Hides elements that slide past screen borders */
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* The continuous moving track */
.ticker-track {
    display: flex;
    width: max-content; /* Dynamically expands horizontal track size based on image count */
    gap: 1.5rem;
    animation: infiniteScroll 45s linear infinite;
}

/* Pause the scrolling animation on desktop hover for user control */
.ticker-track:hover {
    animation-play-state: paused;
}

/* Single slide bounding frame forced to an exact 1:1 square ratio */
.ticker-slide {
    flex-shrink: 0;
    width: 16rem; 
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    border-radius: 0.25rem;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.12);
}

/* Image constraints within the square frame */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.gallery-caption {
    font-family: var(--font-body);
    font-weight: var(--weight-bold);
    font-size: 1.35rem;
    line-height: 1.4;
    color: var(--color-black);
    margin-top: 2.5rem;
    max-width: 52rem;
}

/* --- The Pure CSS Continuous Carousel Driver --- */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Scrolls exactly halfway through the track length (the duplicated clone block boundary) */
        transform: translateX(-50%); 
    }
}
/* #endregion */

/* #endregion */


/* #region ABOUT PAGE SECTIONS */
/* ABOUT PAGE CONTENT ARCHITECTURE (FROM SCRATCH) */

/* The Primary Red-Lined Flexbox Row Wrapper */
.about-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 3.5rem;
    gap: 5%; /* Explicit safety buffer separation gutter */
}

/* --- Left Side: Story Text Column --- */
.column-left-story {
    flex: 0 0 60%; /* Locks the reading section down to exactly 60% flat width */
    display: flex;
    flex-direction: column;
}

.about-main-heading {
    font-family: var(--font-headings);
    font-size: 3.25rem;
    color: var(--color-black);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.25rem;
    display: inline-block;
    align-self: flex-start;
    border-bottom: 0.18rem solid var(--color-black);
}

.paragraph-bold {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: var(--weight-bold);
    line-height: 1.45;
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.paragraph-standard {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: var(--weight-regular);
    line-height: 1.55;
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

/* --- Right Side: Team Profile Column --- */
.column-right-team {
    flex: 0 0 35%; /* Locks the portrait track down to exactly 35% flat width */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4.5rem; /* Direct balanced gap separating the profile structures vertically */
}

.team-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    width: 100%;
}

/* The Double Deep Arctic Ring + Sandstone Fill */
.circular-avatar {
    width: 100%;
    max-width: 15.5rem; /* Prevents the circular frames from over-expanding on huge displays */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    
    /* Layer 1: Inner Solid Arctic Line */
    border: 0.25rem solid var(--color-deep-arctic);
    
    /* Layer 2: Sandstone Gap Spacing */
    padding: 0.35rem;
    background-color: var(--color-sandstone);
    
    /* Layer 3: Outer Crisp Arctic Line */
    outline: 0.25rem solid var(--color-deep-arctic);
    outline-offset: 0;
    
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
    margin-bottom: 1.25rem;
}

.team-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-name {
    font-family: var(--font-body);
    font-weight: var(--weight-black);
    font-size: 1.65rem;
    color: var(--color-black);
}

.meta-title {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: 1.1rem;
    color: var(--color-black);
    opacity: 0.85;
}


/* THE SEPARATE SCRIPTURE BLOCK */

.about-verse-row {
    width: 100%;
    margin: 2rem auto ;
    border-top: 0.08rem solid var(--color-umber);     
    border-bottom: 0.08rem solid var(--color-umber); 
    padding: 3rem;
}

.verse-content-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.verse-ref-tag {
    font-family: var(--font-body);
    font-weight: var(--weight-black);
    color: var(--color-deep-arctic);
    font-size: 1.4rem;
    text-align: center;
    margin: auto;
}

.verse-quote-text {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    color: var(--color-deep-arctic);
    line-height: 1.25;
    text-align: center;
    margin: 0 auto;
}

/* About Page - Next Steps Section */
.bio-cta-section {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

.bio-cta-section h2 {
    margin-bottom: 1rem;
}

.cta-button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.cta-button-group a {
    border: 2pt solid var(--color-deep-arctic);
    padding: .5rem 1rem;
    border-radius: 2rem;
}
.cta-button-group a:hover {
    border-color: var(--color-umber);
    background-color: var(--color-sandstone);
    box-shadow: 0 0.25rem .25rem rgba(0, 0, 0, 0.1);
}

/* Responsive adjustment for mobile */
@media (max-width: 600px) {
    .cta-button-group {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATION (Pixel Breakpoint Exception)
   ========================================================================== */
@media (max-width: 992px) {
    /* If screen space gets a little narrow, drop the row gaps slightly */
    .about-flex-row {
        gap: 3%;
    }
    .column-left-story { flex: 0 0 57%; }
    .column-right-team { flex: 0 0 40%; }
}

/* #endregion */


/* #region SERVICES PAGE SECTIONS */

/* Services Grid using responsive units */
.services-grid {
    display: flex;
    flex-wrap: wrap; /* Allows items to drop to the next line */
    justify-content: center; /* Centers the tiles if the last row is incomplete */
    gap: 1.5rem;
    padding: 2.5rem;
    background-color: var(--color-umber);
    border-radius: 0.3rem;
    margin-bottom: 3rem;
}

.services-hero {
    margin-bottom: 2rem;
    padding-top: 2rem;
}
.services-hero h1 {
    color: var(--color-deep-arctic)
}

.service-card {
    /* Sets a base width, but allows them to grow/shrink based on screen size */
    flex: 1 1 20rem; 
    /* Ensures they don't get impossibly wide on massive screens */
    max-width: 30rem; 
    
    background: var(--color-ivory);
    border-left: 0.3rem solid var(--color-sandstone);
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 45, 72, 0.2);

    text-wrap: balance;
}

.service-card h3 {
    color: var(--color-deep-arctic);
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-umber);
    line-height: 1.6;
    font-size: 1rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-deep-arctic); /* #002D48 */
    font-weight: 600;
    text-decoration: none;
    border-bottom: 0.125rem solid var(--color-deep-arctic);
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--color-umber); /* #74563F */
    border-bottom-color: var(--color-umber);
}

/* CTA STYLES HERE */
.cta-button {
    display: inline-block;
    background-color: var(--color-deep-arctic);
    color: var(--color-ivory);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background 0.3s;
    margin-bottom: 2.5rem;
}

.cta-button:hover {
    background-color: var(--color-umber);
}

/* #endregion */


/* #region CONTACT PAGE SECTIONS */

/* ==========================================================================
   CONTACT PAGE ARCHITECTURE
   ========================================================================== */
.contact-section {
    width: 100%;
    padding-top: 2rem;
}

/* Two-column master grid split */
.contact-layout {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap; 
}

#heritage-contact-form {
    flex: 2 2 0; 
    display: flex;
    flex-direction: column; /* This forces the text to be above the image */
    gap: 2rem; /* Adds space between the text block and the image */
}


/* Container for the text and image on the right */
.contact-right-column {
    flex: 1 1 0;
    display: flex;
    flex-direction: column; /* This forces the text to be above the image */
    gap: 2rem; /* Adds space between the text block and the image */
}

.call-to-action-box {
    background-color: var(--color-umber);
    color: var(--color-ivory);
    padding: 1.5rem 3rem;
    border-radius: 1rem;
}

.call-to-action-box a {
    color: var(--color-sandstone);
}
.call-to-action-box a:hover {
    color: var(--color-deep-arctic);
}

/* Ensure the image doesn't stretch weirdly */
.contact-hero-image {
    width: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Mockup Labels styling: Name: required */
.form-label {
    font-family: var(--font-body);
    font-weight: var(--weight-bold);
    font-size: 1.25rem;
    color: var(--color-black);
}

.label-modifier {
    font-weight: var(--weight-regular);
    font-style: italic;
    opacity: 0.8;
}

/* Base styles replicating your exact mockup thick rounded inputs */
.form-input,
.form-textarea {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-style: italic;
    background-color: transparent;
    color: var(--color-black);
    
    /* 3px High-contrast Deep Arctic borders with clean round corners */
    border: 3px solid var(--color-umber);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    width: 100%;
    outline: none;
    transition: background-color 0.2s ease;
}

.form-textarea {
    min-height: 14rem;
    resize: vertical;
    line-height: 1.6;
}

/* Subtle feedback focus accent matching input backgrounds */
.form-input:focus,
.form-textarea:focus {
    background-color: rgba(0, 45, 72, 0.03);
}

/* Input Placeholder Text adjustments */
.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
}

/* Override the browser's autofill background color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    /* Use !important to override the browser's native user-agent style */
    -webkit-box-shadow: 0 0 0 1000px var(--color-sandstone) inset !important; /* Replace #F5F5DC with your actual background color */
    -webkit-text-fill-color: #002D48 !important; /* Set the text color to match your brand */
    transition: background-color 5000s ease-in-out 0s;
    font-weight: 500;
}

/* Privacy Statement centering block */
.contact-privacy-footer {
    width: 100%;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(116, 86, 63, 0.2);
    padding-top: 2rem;
}

.contact-privacy-footer p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-black);
    max-width: 50rem;
    margin: 0 auto;
    opacity: 0.8;
}

/* AJax Processing System Notifications */
.form-status-box {
    display: none;
    padding: 1rem;
    border-radius: 0.4rem;
    font-family: var(--font-body);
    font-weight: var(--weight-bold);
    text-align: center;
}



.form-status-box.success {
    display: block;
    background-color: rgba(0, 45, 72, 0.1);
    color: var(--color-deep-arctic);
    border: 1px solid var(--color-deep-arctic);
}
.form-status-box.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Success message container*/
.success-message-card {
    background-color: var(--color-ivory); 
    border: .05rem solid var(--color-umber);  
    border-radius: .5rem;
    padding: 1rem 1.5rem;
    text-align: center;
    margin: 2rem;
}

.success-message-card h3 {
    color: var(--color-deep-arctic);
    padding-bottom: .5rem;
    font-family: inherit;
}

.success-message-card p {
    color: var(--color-umber);
    font-size: 1.1rem;
    margin-bottom: .1rem;
}


.the-honeypot {
    display: none !important;
    visibility: hidden !important;
}

/* #endregion */


/* #region @MEDIA */
@media (max-width: 768px) {


/* #region NAV */
.mobile-menu-toggle {
        display: flex; /* Reveals the hamburger bars on small screens */
    }

    /* Transforms the flat nav list into a hidden off-screen vertical drawer */
    .nav-actions-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        
        position: fixed;
        top: 5.5rem; /* Sits completely flush right under the header bar row */
        right: -100%; /* Hidden off-screen to the right margin line by default */
        width: 75%;
        max-width: 20rem;
        height: calc(100vh - 5.5rem);
        background-color: var(--color-ivory);
        padding: 3rem 2rem;
        box-shadow: -0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.1);
        
        transition: right 0.35s ease-in-out;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    /* --- Menu Drawer Active State --- */
    .nav-actions-container.is-open {
        right: 0; /* Slides smoothly directly into view */
    }

    /* Morphing Hamburger Animations to cross into an "X" close symbol */
    .mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
        transform: translateY(0.6rem) rotate(45deg);
    }
    .mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
        transform: translateY(-0.6rem) rotate(-45deg);
    }
    
    .header-logo {
        height: 3.5rem;
    }
/* #endregion */

/* #region === HOME SECTIONS === */

  /* #region === HERO === */
      main {
        max-width: 100%; /* Spans full screen beautifully on mobile */
        padding: 2rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-section {
        min-height: 20rem;
    }
    /* #endregion */

  /* #region === ABOUT (home page) === */
    .about-preview-section {
            flex-direction: column;
            gap: 2.5rem;
            margin-top: 3rem;
            margin-bottom: 3rem;
            
            /* Uncaps height constraints for mobile stacking */
            max-height: none; 
        }
        
    .about-image-column {
        height: 20rem; /* Gives it a nice, landscape-style box on mobile */
        width: 100%;
    }
    
    .about-text-column {
        align-items: center;
        text-align: center;
    }
  /* #endregion */

  /* #region === CRAZY GALLERY === */
    .gallery-title {
        font-size: 2.25rem;
    }
    .ticker-slide {
        width: 12rem; /* Slighly smaller squares on small viewport displays */
    }
    .gallery-caption {
        font-size: 1.15rem;
    }
    /* #endregion */

/* #endregion */

  /* #region === ABOUT PAGE === */
    .about-flex-row {
        flex-direction: column;
        gap: 4rem;
    }
    
    .column-left-story, 
    .column-right-team {
        flex: 0 0 100%;
        width: 100%;
    }
    
    /* Flip team profiles side-by-side on mobile devices/tablets */
    .column-right-team {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 3rem;
    }
    
    .circular-avatar {
        max-width: 12rem;
    }
    
    .verse-quote-text {
        font-size: 1.75rem;
    }
  /* #endregion */

  /* #region === CONTACT PAGE ===*/
    .contact-image-column {
        width: 100%;
        height: 16rem;
    }
    .contact-layout {
        flex-direction: column; /* Force items to stack vertically */
    }

    #heritage-contact-form, 
    .contact-right-column {
        flex: 1 1 100%; /* Force both to take up 100% width on mobile */
        width: 100%;    /* Explicitly set width to 100% */
    }
  /* #endregion */

  /* #region === FOOTER === */
    .site-footer {
        padding-top: 3rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer-columns {
        flex-direction: column;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-heading {
        font-size: 2rem;
    }
    /* #endregion */
} /* end @ media */

/* #endregion */