/* =========================================================
   G&C BBQ COMPANY
   Main Website Styles
   =========================================================
   DATA HYGIENE NOTES
   - Global rules live first.
   - Homepage rules are grouped together and contain no
     obsolete Notebook/Test Kitchen homepage experiments.
   - Interior-page rules follow unchanged below.
   - Shared footer is defined once.
   ========================================================= */


/* =========================================================
   GLOBAL RESET + BASE
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #121212;
    color: #F6E6CF;
    font-family: Georgia, "Times New Roman", serif;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* =========================================================
   GLOBAL ACCESSIBILITY
   ========================================================= */

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

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 10000;
    padding: 10px 14px;
    background: #F6E6CF;
    color: #121212;
    border: 2px solid #C8652C;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform .14s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #D06D37;
    outline-offset: 3px;
}

img {
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   HOMEPAGE — HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 650px;

    background-image: url("../images/home/hero-ribs.jpg?v=20260901");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero-overlay {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 64px 6.5vw;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .92) 0%,
            rgba(0, 0, 0, .78) 31%,
            rgba(0, 0, 0, .42) 55%,
            rgba(0, 0, 0, .10) 76%,
            rgba(0, 0, 0, 0) 100%
        );
}

.hero-content {
    width: min(1180px, 100%);

    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(340px, 560px);
    gap: clamp(42px, 6vw, 90px);

    align-items: center;
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-logo {
    display: block;

    width: min(100%, 425px);
    height: auto;
}

.hero-copy {
    max-width: 560px;
}

.hero-title-art {
    display: block;

    width: min(100%, 500px);
    height: auto;

    margin-bottom: 28px;
}

.tagline {
    max-width: 510px;

    color: #F6E6CF;

    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.55;
}


/* =========================================================
   HOMEPAGE — PATHWAY / BADGE NAVIGATION
   ========================================================= */


/* =========================================================
   HOMEPAGE — VISIT US SOON
   ========================================================= */

.visit-soon {
    position: relative;
    width: 100%;

    padding: 58px 30px 105px;

    background: #101010;
    color: #F6E6CF;

    text-align: center;
}

.visit-soon-inner {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;
}


.visit-kicker {
    display: block;

    margin-bottom: 22px;

    color: #C8652C;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
}

.visit-soon h2 {
    margin: 0;

    color: #F6E6CF;

    font-family: "Wausau", Georgia, serif;
    font-size: clamp(54px, 6vw, 88px);
    font-weight: normal;

    line-height: .95;
}

.visit-rule {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;

    max-width: 330px;

    margin: 38px auto 36px;
}

.visit-rule span:not(.star) {
    display: block;

    width: 125px;
    height: 1px;

    background: #C8652C;
}

.visit-rule .star {
    color: #C8652C;
    font-size: 16px;
}

.visit-intro {
    margin: 0 auto 20px;

    color: #F6E6CF;

    font-size: 19px;
    line-height: 1.6;
}

.visit-seat {
    margin: 0 auto 48px;

    color: #F6E6CF;

    font-size: 24px;
    font-style: italic;
    line-height: 1.4;
}

.visit-signup {
    max-width: 680px;

    margin: 0 auto;
    padding-top: 34px;

    border-top: 1px solid rgba(246, 230, 207, .22);

    text-align: left;
}

.signup-topics {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.signup-heading {
    margin-bottom: 24px;

    color: #C8652C;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}

.signup-option {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 20px;

    cursor: pointer;
}

.signup-option input {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin-top: 3px;

    accent-color: #C8652C;
}

.signup-option span {
    color: rgba(246, 230, 207, .78);

    font-size: 15px;
    line-height: 1.45;
}

.signup-option strong {
    display: block;

    margin-bottom: 2px;

    color: #F6E6CF;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;

    letter-spacing: .5px;
}

.email-row {
    display: flex;

    margin-top: 34px;
}

.email-row input {
    flex: 1;

    min-width: 0;

    padding: 17px 18px;

    background: transparent;

    border: 1px solid rgba(246, 230, 207, .45);
    border-right: 0;

    color: #F6E6CF;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;

    letter-spacing: 1px;

    outline: none;
}

.email-row input::placeholder {
    color: rgba(246, 230, 207, .58);
}

.email-row input:focus {
    border-color: #C8652C;
}

.email-row button {
    padding: 17px 25px;

    background: #B5491E;

    border: 1px solid #B5491E;

    color: #FFFFFF;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;
}

.email-row button:hover {
    background: #A9441C;
    border-color: #A9441C;
}

.signup-note {
    margin-top: 16px;

    color: rgba(246, 230, 207, .58);

    font-size: 12px;
    font-style: italic;

    text-align: center;
}


/* Kit handles subscription delivery; G&C owns the visible form design. */
.visit-signup .formkit-alert {
    width: 100%;
    margin: 0 0 22px;
    padding: 13px 16px;

    border: 1px solid rgba(200, 101, 44, .55);
    background: rgba(0, 0, 0, .18);

    color: #F6E6CF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    list-style: none;
    text-align: center;
}

.visit-signup .formkit-alert:empty {
    display: none;
}

.visit-signup .formkit-alert-success {
    border-color: rgba(246, 230, 207, .35);
}

.visit-signup .formkit-submit[data-active],
.visit-signup .formkit-submit:disabled {
    cursor: wait;
    opacity: .72;
}


/* =========================================================
   UNIVERSAL SITE HEADER
   ========================================================= */

.gc-site-header {
    position: sticky;
    top: 0;
    z-index: 1100;

    min-height: 58px;

    display: flex;
    align-items: center;

    gap: 28px;

    padding: 9px 4vw;

    background: rgba(11, 11, 11, .97);
    border-bottom: 1px solid rgba(200, 101, 44, .32);

    backdrop-filter: blur(10px);
}

.gc-site-brand {
    flex: 0 0 auto;
    display: block;
}

.gc-site-brand img {
    display: block;

    width: 52px;
    height: auto;
}

.gc-site-nav {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;

    gap: clamp(16px, 2.1vw, 32px);
}

.gc-site-nav a {
    position: relative;

    color: rgba(246, 230, 207, .74);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.6px;
    text-decoration: none;
    white-space: nowrap;

    transition: color .18s ease;
}

.gc-site-nav a:hover,
.gc-site-nav a[aria-current="page"] {
    color: #C8652C;
}

.gc-site-nav a[aria-current="page"]::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;

    height: 1px;

    background: #C8652C;
}

@media (max-width: 1100px) {
    .gc-site-nav {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gc-site-nav::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 700px) {
    .gc-site-header {
        padding-inline: 18px;
    }

    .gc-site-brand img {
        width: 44px;
        height: auto;
    }

    .gc-site-nav a {
        font-size: 9px;
    }
}

/* Final responsive navigation system: every page wraps instead of scrolling. */
@media (max-width: 760px) {
    .gc-site-header,
    .post-nav,
    .tk-nav,
    .seen-nav {
        height: auto !important;
        min-height: 0 !important;
        padding: 12px 16px !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    .gc-site-header nav,
    .gc-site-nav,
    .post-nav nav,
    .tk-nav nav,
    .seen-nav nav {
        min-width: 0 !important;
        display: flex !important;
        flex: 1 1 auto !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px 14px !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    .gc-site-header nav a,
    .gc-site-nav a,
    .post-nav nav a,
    .tk-nav nav a,
    .seen-nav nav a {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   UNIVERSAL NAV BEHAVIOR — SINGLE SOURCE OF TRUTH
   Sticky on desktop AND mobile:
   .gc-site-header  = standard site pages
   .tk-nav          = Test Kitchen landing/archive
   .post-nav        = Notebook + Test Kitchen article pages
   .seen-nav        = Seen article pages
   ========================================================= */

.gc-site-header,
.tk-nav,
.post-nav,
.seen-nav{
    position:-webkit-sticky !important;
    position:sticky !important;
    top:0 !important;
    z-index:1100 !important;
}

/* Mobile changes layout only; sticky behavior above remains active. */
@media(max-width:760px){
    .gc-site-header,
    .tk-nav,
    .post-nav,
    .seen-nav{
        height:auto !important;
        min-height:0 !important;
        padding:12px 16px !important;
        display:flex !important;
        align-items:center !important;
        gap:12px !important;
        overflow:visible !important;
        white-space:normal !important;
    }

    .gc-site-header nav,
    .gc-site-nav,
    .tk-nav nav,
    .post-nav nav,
    .seen-nav nav{
        min-width:0 !important;
        display:flex !important;
        flex:1 1 auto !important;
        flex-wrap:wrap !important;
        justify-content:center !important;
        align-items:center !important;
        gap:10px 14px !important;
        overflow:visible !important;
        white-space:normal !important;
    }

    .gc-site-header nav a,
    .gc-site-nav a,
    .tk-nav nav a,
    .post-nav nav a,
    .seen-nav nav a{
        flex:0 0 auto !important;
        white-space:nowrap !important;
    }
}

/* =========================================================
   UNIVERSAL FOOTER — SINGLE SOURCE OF TRUTH
   ========================================================= */

.site-footer{
    width:100%;
    margin:0;
    padding:54px 5vw 42px;
    background:#0b0b0b;
    color:#F6E6CF;
    text-align:center;
    border-top:1px solid rgba(200,101,44,.28);
}

.footer-rule{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    max-width:480px;
    margin:0 auto 34px;
}

.footer-rule span:not(.star){
    flex:1 1 auto;
    height:1px;
    background:rgba(200,101,44,.72);
}

.footer-rule .star{
    color:#C8652C;
    font-size:14px;
    line-height:1;
}

.footer-nav{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 26px;
    max-width:980px;
    margin:0 auto 34px;
}

.footer-nav a{
    position:relative;
    padding:4px 0;
    color:#F6E6CF;
    font-family:Arial,Helvetica,sans-serif;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.35px;
    text-decoration:none;
}

.footer-nav a + a::before{
    content:"";
    position:absolute;
    left:-14px;
    top:50%;
    width:2px;
    height:2px;
    border-radius:50%;
    background:#C8652C;
    transform:translateY(-50%);
}

.footer-nav a:hover,
.footer-nav a:focus-visible{
    color:#C8652C;
}

.footer-social-panel{
    width:auto;
    margin:0 auto 36px;
    padding:0;
    border:0;
}

.footer-social-kicker{
    display:block;
    margin-bottom:14px;
    color:#C8652C;
    font-family:Arial,Helvetica,sans-serif;
    font-size:9px;
    font-weight:800;
    letter-spacing:2.4px;
}

.footer-social{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
}

.footer-social-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    min-width:44px;
    padding:0;
    border:1px solid rgba(246,230,207,.28);
    background:transparent;
    color:#F6E6CF;
    text-decoration:none;
}

.footer-social-link:hover,
.footer-social-link:focus-visible{
    border-color:#C8652C;
    color:#C8652C;
    background:rgba(200,101,44,.06);
}

.footer-social-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    font-family:Arial,Helvetica,sans-serif;
    font-size:15px;
    font-weight:800;
    line-height:1;
}

.footer-social-status{
    margin:14px auto 0;
    color:rgba(246,230,207,.62);
    font-family:Georgia,"Times New Roman",serif;
    font-size:12px;
    font-style:italic;
    line-height:1.45;
}

.footer-contact{
    margin:0 auto 32px;
    text-align:center;
}

.footer-contact span{
    display:block;
    margin-bottom:8px;
    color:#C8652C;
    font-family:Arial,Helvetica,sans-serif;
    font-size:9px;
    font-weight:800;
    letter-spacing:2px;
}

.footer-contact a,
.footer-contact a:visited{
    color:#F6E6CF;
    font-family:Georgia,"Times New Roman",serif;
    font-size:14px;
    text-decoration-color:rgba(246,230,207,.48);
    text-underline-offset:4px;
}

.footer-contact a:hover,
.footer-contact a:focus-visible{
    color:#C8652C;
    text-decoration-color:#C8652C;
}

.footer-brandline{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    margin:0 auto 26px;
}

.footer-brandline strong{
    color:#F6E6CF;
    font-family:"Wausau",Georgia,serif;
    font-size:clamp(22px,2vw,30px);
    font-weight:400;
    line-height:1;
    letter-spacing:.02em;
}

.footer-brandline span{
    color:#C8652C;
    font-family:Arial,Helvetica,sans-serif;
    font-size:9px;
    font-weight:800;
    letter-spacing:2.4px;
}

.footer-copyright{
    margin:0;
    color:rgba(246,230,207,.48);
    font-family:Arial,Helvetica,sans-serif;
    font-size:8px;
    font-weight:700;
    letter-spacing:1.5px;
}

@media(max-width:680px){
    .site-footer{
        padding:44px 22px 36px;
    }

    .footer-rule{
        margin-bottom:28px;
    }

    .footer-nav{
        gap:10px 18px;
        margin-bottom:30px;
    }

    .footer-nav a + a::before{
        display:none;
    }

    .footer-social{
        gap:10px;
    }

    .footer-social-link{
        width:44px;
        height:44px;
    }

    .footer-social-status{
        max-width:280px;
    }
}



/* Signup intro — no divider after “Follow along. We’ll save you a seat.” */
.signup-intro::after,
.email-signup-intro::after,
.signup-lead::after,
.signup-rule{
    display:none !important;
    content:none !important;
    border:0 !important;
}
