/* ==========================================================================
   The Truck Stop — truckstopbz.com
   One stylesheet. Replaces foundation/style/responsive/brand-v3.
   Mobile first. No absolute positioning for layout.
   ========================================================================== */

@font-face {
    font-family: 'TheBoldFont';
    src: url('../fonts/theboldfont-webfont.woff2') format('woff2'),
         url('../fonts/theboldfont-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --steel:      #191917;   /* container dark — dominant surface */
    --steel-soft: #26261F;
    --lagoon:     #12787C;   /* the saltwater pool over the lagoon */
    --lagoon-lit: #1BA5A0;
    --sign:       #F2B22B;   /* food-truck signage yellow */
    --paper:      #FFFFFF;
    --paper-warm: #F1EEE7;
    --ink:        #24241F;
    --ink-soft:   #55554D;
    --rule:       rgba(255,255,255,.16);
    --rule-dark:  rgba(0,0,0,.12);

    --shell: 1180px;
    --gut: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--lagoon); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
    outline: 3px solid var(--sign);
    outline-offset: 3px;
}

h1, h2, h3 {
    font-family: 'TheBoldFont', 'Barlow Condensed', Impact, sans-serif;
    font-weight: 400;
    line-height: .96;
    letter-spacing: .005em;
    margin: 0 0 .4em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); }
h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 4vw, 2rem); }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--gut);
}

/* --------------------------------------------------------------- nav ---- */

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--steel);
    border-bottom: 1px solid var(--rule);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.nav__logo img { height: 40px; width: auto; }

.nav__toggle {
    background: none;
    border: 1px solid var(--rule);
    color: #fff;
    font: inherit;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 9px 14px;
    cursor: pointer;
    border-radius: 2px;
}

.nav__links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__links.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--steel);
    border-bottom: 1px solid var(--rule);
    padding: 8px 0 18px;
}

.nav__links a {
    display: block;
    padding: 12px var(--gut);
    color: #fff;
    font-size: 15px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--sign); text-decoration: none; }

.nav__order a {
    margin: 12px var(--gut) 0;
    background: var(--sign);
    color: var(--steel);
    text-align: center;
    font-weight: 600;
    border-radius: 2px;
}
.nav__order a:hover { background: #fff; color: var(--steel); }

@media (min-width: 900px) {
    .nav__toggle { display: none; }
    .nav__links {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .nav__links a { padding: 10px 13px; font-size: 14px; }
    .nav__order a { margin: 0 0 0 10px; padding: 11px 20px; }
}

/* -------------------------------------------------------------- hero ---- */

.hero {
    position: relative;
    background: var(--steel);
    min-height: 74vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero__media { position: absolute; inset: 0; overflow: hidden; }

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.30) 42%, rgba(15,15,13,.92) 100%);
}

.hero__body {
    position: relative;
    padding: 96px 0 34px;
    color: #fff;
}

.hero h1 { color: #fff; max-width: 15ch; }

.hero__sub {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    max-width: 44ch;
    color: rgba(255,255,255,.88);
    margin-bottom: 26px;
}

/* the strip: what's true right now */
.strip {
    position: relative;
    background: var(--sign);
    color: var(--steel);
}

.strip__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 34px;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 600;
}

.strip b {
    font-family: 'TheBoldFont', 'Barlow Condensed', Impact, sans-serif;
    font-weight: 400;
    font-size: 19px;
    letter-spacing: .02em;
    margin-right: 7px;
    text-transform: uppercase;
}

/* ------------------------------------------------------------ section --- */

.band { padding: 62px 0; }
.band--tight { padding: 44px 0; }

.band--dark {
    background: var(--steel);
    color: rgba(255,255,255,.82);
}
.band--dark h2, .band--dark h3 { color: #fff; }

.band--warm { background: var(--paper-warm); }

.band--lagoon {
    background: var(--lagoon);
    color: rgba(255,255,255,.92);
}
.band--lagoon h2, .band--lagoon h3 { color: #fff; }

.band__lead {
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    max-width: 58ch;
}

@media (min-width: 900px) {
    .band { padding: 92px 0; }
    .band--tight { padding: 60px 0; }
}

/* --------------------------------------------------------- the board ---- */
/* The week, the way it's actually written on a board at the venue.        */

.board__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 26px;
}

.board__note {
    font-size: 15px;
    color: var(--ink-soft);
}

.band--dark .board__note { color: rgba(255,255,255,.6); }

.board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--rule);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.day {
    background: var(--steel);
    padding: 17px 18px;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 4px 14px;
    align-items: baseline;
}

.day__name {
    font-family: 'TheBoldFont', 'Barlow Condensed', Impact, sans-serif;
    font-size: 19px;
    color: var(--sign);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.day__what { color: #fff; font-weight: 600; font-size: 16px; }

.day__when {
    grid-column: 2;
    font-size: 14px;
    color: rgba(255,255,255,.58);
}

@media (min-width: 900px) {
    .board { grid-template-columns: repeat(7, 1fr); }
    .day {
        grid-template-columns: 1fr;
        padding: 20px 16px 26px;
        gap: 7px;
        min-height: 178px;
        align-content: start;
    }
    .day__when { grid-column: 1; }
}

/* ----------------------------------------------------------- feature ---- */
/* Photo + text. Stacks on mobile because it is grid, not absolute.        */

.feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: center;
}

.feature + .feature { margin-top: 56px; }

.feature__media {
    overflow: hidden;
    border-radius: 2px;
    background: var(--steel-soft);
}

.feature__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.feature__kicker {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lagoon);
    margin-bottom: 10px;
}

.band--dark .feature__kicker { color: var(--sign); }
.band--lagoon .feature__kicker { color: var(--sign); }

@media (min-width: 860px) {
    .feature {
        grid-template-columns: 1fr 1fr;
        gap: 52px;
    }
    .feature + .feature { margin-top: 84px; }
    .feature__media img { aspect-ratio: 5 / 4; }
    .feature--flip .feature__media { order: 2; }
}

/* ------------------------------------------------------------- eats ----- */

.eats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 34px;
}

.eat {
    border-top: 3px solid var(--sign);
    padding-top: 15px;
}

.eat h3 { margin-bottom: .18em; }

.eat p {
    font-size: 15.5px;
    color: var(--ink-soft);
}

.band--dark .eat p { color: rgba(255,255,255,.7); }

@media (min-width: 720px) { .eats { grid-template-columns: 1fr 1fr; gap: 30px 40px; } }
@media (min-width: 1000px) { .eats { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------ facts ----- */

.facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--rule-dark);
    margin-top: 30px;
}

.band--dark .facts, .band--lagoon .facts { background: var(--rule); }

.fact {
    background: var(--paper);
    padding: 22px 20px;
}

.band--warm .fact { background: var(--paper-warm); }
.band--dark .fact { background: var(--steel); }
.band--lagoon .fact { background: var(--lagoon); }

.fact b {
    display: block;
    font-family: 'TheBoldFont', 'Barlow Condensed', Impact, sans-serif;
    font-weight: 400;
    font-size: 2.1rem;
    line-height: 1;
    margin-bottom: 7px;
    color: var(--lagoon);
}

.band--dark .fact b, .band--lagoon .fact b { color: var(--sign); }

.fact span { font-size: 15px; color: var(--ink-soft); }
.band--dark .fact span, .band--lagoon .fact span { color: rgba(255,255,255,.75); }

@media (min-width: 620px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 950px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------- buttons ----- */

.btn {
    display: inline-block;
    background: var(--sign);
    color: var(--steel);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 14px 26px;
    border-radius: 2px;
    border: 2px solid var(--sign);
}
.btn:hover { background: transparent; color: var(--sign); text-decoration: none; }

.btn--ghost { background: transparent; color: var(--lagoon); border-color: var(--lagoon); }
.btn--ghost:hover { background: var(--lagoon); color: #fff; }

.band--dark .btn--ghost, .band--lagoon .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.band--dark .btn--ghost:hover, .band--lagoon .btn--ghost:hover { background: #fff; color: var(--steel); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* -------------------------------------------------------- page head ----- */

.pagehead {
    position: relative;
    background: var(--steel);
    min-height: 44vh;
    display: flex;
    align-items: flex-end;
}

.pagehead__media { position: absolute; inset: 0; overflow: hidden; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.40) 0%, rgba(15,15,13,.88) 100%);
}

.pagehead__body { position: relative; padding: 88px 0 34px; color: #fff; }
.pagehead h1 { color: #fff; }
.pagehead p {
    color: rgba(255,255,255,.85);
    font-size: clamp(1.02rem, 2.3vw, 1.2rem);
    max-width: 48ch;
    margin: 0;
}

/* ------------------------------------------------------------- map ------ */

.map { line-height: 0; background: var(--steel); }
.map iframe { width: 100%; height: 400px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------------------------------------------------------- footer ------ */

.foot {
    background: var(--steel);
    color: rgba(255,255,255,.72);
    padding: 54px 0 34px;
    font-size: 15.5px;
}

.foot__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
}

.foot h3 {
    font-size: 1.15rem;
    color: var(--sign);
    margin-bottom: .55em;
}

.foot a { color: #fff; }

.foot__logo img { height: 62px; width: auto; margin-bottom: 30px; }

.foot__social { display: flex; gap: 14px; margin-top: 14px; }

.foot__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--rule);
    border-radius: 2px;
}
.foot__social a:hover { background: var(--sign); border-color: var(--sign); }
.foot__social svg { width: 19px; height: 19px; fill: #fff; }
.foot__social a:hover svg { fill: var(--steel); }

.foot__base {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
    font-size: 13.5px;
    color: rgba(255,255,255,.45);
}

@media (min-width: 760px) { .foot__grid { grid-template-columns: repeat(3, 1fr); gap: 44px; } }

/* ------------------------------------------------------------- misc ----- */

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ------------------------------------------------------------ menus ----- */

.menu-nav {
    position: sticky;
    top: 68px;
    z-index: 50;
    background: var(--steel-soft);
    border-bottom: 1px solid var(--rule);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }

.menu-nav ul {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.menu-nav a {
    display: block;
    padding: 15px 18px;
    color: rgba(255,255,255,.72);
    font-family: 'TheBoldFont', 'Barlow Condensed', Impact, sans-serif;
    font-size: 18px;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.menu-nav a:hover { color: var(--sign); text-decoration: none; }

.kitchen { scroll-margin-top: 130px; }
.kitchen + .kitchen { margin-top: 64px; }

.kitchen__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    border-bottom: 3px solid var(--sign);
    padding-bottom: 12px;
    margin-bottom: 28px;
}
.kitchen__head h2 { margin: 0; }
.kitchen__head span { font-size: 15px; color: var(--ink-soft); font-weight: 600; }

.dishes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px 48px;
}
@media (min-width: 800px) { .dishes { grid-template-columns: 1fr 1fr; } }

.dish__top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 3px;
}

.dish__name {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
}

.dish__dots {
    flex: 1;
    border-bottom: 1px dotted rgba(0,0,0,.28);
    transform: translateY(-4px);
}

.dish__price {
    font-family: 'TheBoldFont', 'Barlow Condensed', Impact, sans-serif;
    font-size: 21px;
    color: var(--lagoon);
    line-height: 1;
}

.dish p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }

.veg {
    display: inline-block;
    background: var(--lagoon);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 2px 7px;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 6px;
}

.flavours {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
}

.flavours li {
    background: var(--paper-warm);
    border: 1px solid var(--rule-dark);
    padding: 7px 13px;
    font-size: 15px;
    border-radius: 2px;
}

.note {
    font-size: 14.5px;
    color: var(--ink-soft);
    font-style: italic;
    margin-top: 20px;
}

/* ------------------------------------------------------------ spaces ---- */

.spaces {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 36px;
}
@media (min-width: 760px) { .spaces { grid-template-columns: 1fr 1fr; gap: 44px 40px; } }

.space__media { overflow: hidden; border-radius: 2px; margin-bottom: 18px; background: var(--steel-soft); }
.space__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.space__cap {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--lagoon);
    margin-bottom: 8px;
}
.space h3 { margin-bottom: .35em; }

/* course headings within a kitchen */
.course {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lagoon);
    margin: 34px 0 16px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--rule-dark);
}
.course:first-of-type { margin-top: 0; }

.course-note {
    font-size: 14.5px;
    color: var(--ink-soft);
    font-style: italic;
    margin: -6px 0 16px;
}

.seasonal {
    display: inline-block;
    background: var(--ink-soft);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 2px 7px;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 6px;
}

.giveback {
    background: var(--paper-warm);
    border-left: 4px solid var(--sign);
    padding: 16px 20px;
    margin-top: 22px;
    font-size: 15.5px;
}
.giveback strong { color: var(--ink); }

/* give-back callout with a photo alongside */
.giveback--photo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    padding: 0;
    border-left: 0;
    border-top: 4px solid var(--sign);
    background: var(--paper-warm);
    overflow: hidden;
}
.giveback--photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.giveback--photo .giveback__text { padding: 0 20px 22px; }
@media (min-width: 720px) {
    .giveback--photo { grid-template-columns: 300px 1fr; gap: 26px; }
    .giveback--photo img { aspect-ratio: 3 / 4; height: 100%; }
    .giveback--photo .giveback__text { padding: 22px 26px 22px 0; }
}
