@font-face {
    font-family: "Gupter";
    src: url("/fonts/gupter-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gupter";
    src: url("/fonts/gupter-500.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gupter";
    src: url("/fonts/gupter-700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/fonts/source-sans-3-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/fonts/source-sans-3-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/fonts/source-sans-3-700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/fonts/source-sans-3-italic-400.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --bg: #fbf2e5;
    --bg-secondary: #d3b278;
    --bg-tertiary: #d2c6b4;
    --text: #120c08;
    --near-black: #110d08;
    --button: #471a0e;
    --button-hover: #53311b;
    --link: #bb652b;
    --link-hover: #471a0e;
    --eyebrow: #bc642b;
    --border: rgba(18, 12, 8, 0.18);
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.55;
}

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

a {
    color: var(--link);
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

a:hover,
a:focus {
    color: var(--link-hover);
}

button {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(
            ellipse at center,
            transparent 42%,
            rgba(18, 12, 8, 0.18) 100%
        ),
        rgba(251, 242, 229, 0.94);
    box-shadow: 0 12px 30px rgba(18, 12, 8, 0.08);
    backdrop-filter: blur(12px);
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 96px;
}

.brand img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.footer-logo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.header-contact {
    text-align: center;
}

.header-contact-line {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

.header-contact-line + .header-contact-line {
    margin-top: 2px;
}

.header-contact a.header-contact-line {
    color: var(--text);
}

.header-contact-icon {
    height: 1em;
    width: auto;
    flex-shrink: 0;
}

.header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    align-self: center;
}

.header-actions .status-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    min-height: 38px;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.76rem;
    line-height: 1.2;
    text-align: center;
}

.status-link {
    flex-direction: column;
    gap: 2px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.status-link.is-open {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    background: #287442;
}

.status-link.is-closed {
    background: #9d1f19;
}

.status-label {
    font-size: inherit;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-link.is-closed .status-label {
    letter-spacing: 0.02em;
    text-transform: none;
}

.status-meta {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid var(--button);
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
}

.button-solid {
    background: var(--button);
    color: #fff;
}

.button-solid:hover,
.button-solid:focus {
    border-color: var(--button-hover);
    background: var(--button-hover);
    color: #fff;
}

.button-outline {
    background: transparent;
    color: var(--button);
}

.button-outline.light {
    border-color: rgba(251, 242, 229, 0.8);
    color: #fff;
}

.button-outline.light:hover,
.button-outline.light:focus {
    background: rgba(251, 242, 229, 0.12);
    color: #fff;
}

.hero {
    min-height: 560px;
    background:
        linear-gradient(90deg, rgba(17, 13, 8, 0.92) 0%, rgba(17, 13, 8, 0.72) 38%, rgba(17, 13, 8, 0.08) 72%),
        url("/the-ranch-restaurant-hero-03.webp") center / cover no-repeat;
    color: #fff;
}

.hero-content {
    display: flex;
    min-height: 560px;
    max-width: var(--container);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 88px 0;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--eyebrow);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Gupter", Georgia, serif;
    font-weight: 700;
    line-height: 0.96;
}

h1 {
    max-width: 610px;
    font-size: clamp(3.2rem, 8vw, 5.0rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    letter-spacing: -0.035em;
}

.details-card h2 {
    margin-top: 4px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hero-copy {
    max-width: 620px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: #fff;
    text-decoration: none;
}

.google-rating:hover,
.google-rating:focus {
    color: #fff;
    transform: translateY(-1px);
}

.google-rating-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.google-rating-content {
    display: grid;
    gap: 2px;
}

.google-rating-label {
    font-size: 0.72rem;
    font-weight: 700;
}

.google-rating-score-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-rating-score-row strong {
    font-size: 1.45rem;
    line-height: 1;
}

.google-rating-score-row img {
    width: 94px;
    height: auto;
}

.google-rating-reviews {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
}

.section {
    padding: 92px 0;
}

.details-section,
.about-section,
.menu-section,
.specialties-section,
.testimonials-section,
.catering-section {
    padding: 88px 0;
}

.policy-section {
    background: linear-gradient(180deg, var(--bg) 0%, #f5e6cf 100%);
}

.policy-content {
    max-width: 760px;
}

.policy-content h1 {
    margin: 0 0 0.35em;
    font-family: "Gupter", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
}

.policy-content h2 {
    margin: 1.75em 0 0.65em;
    font-family: "Gupter", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.25;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content h3 {
    margin: 2em 0 0.55em;
    font-family: "Gupter", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
}

.policy-content p {
    margin: 0 0 1em;
}

.policy-content ul {
    margin: 0 0 1.25em;
    padding-left: 1.35em;
}

.policy-content li {
    margin-bottom: 0.65em;
}

.policy-content li strong {
    font-weight: 600;
}

.details-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, #f5e6cf 100%);
}

.details-section::before,
.menu-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(180px, 28vw, 380px);
    background: url("/trees-and-buck.webp") center bottom / 100% auto no-repeat;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.details-section > .container {
    position: relative;
    z-index: 1;
}

.details-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: stretch;
}

.details-intro-copy p {
    margin: 0;
    font-size: 1.05rem;
}

.details-star-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.details-star-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 1.5em;
    font-size: 1rem;
}

.details-star-list li:last-child {
    margin-bottom: 0;
}

.details-star-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0.02em;
    color: var(--eyebrow);
    font-size: 0.9em;
}

.details-intro-photo {
    overflow: hidden;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.details-intro-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.details-intro-grid + .divider {
    margin: 56px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 34px;
    align-items: stretch;
}

.details-card,
.map-wrap,
.river-photo,
.award-photo,
.menu-card,
.specialty-card {
    border: 1px solid var(--border);
    border-radius: 10px;
}

.details-card {
    background:
        radial-gradient(
            ellipse at center,
            transparent 42%,
            rgba(18, 12, 8, 0.18) 100%
        ),
        rgba(255, 250, 241, 0.72);
    padding: 34px;
}

.details-card p {
    margin: 10px 0 0;
}

.hours-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
}

.hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(18, 12, 8, 0.12);
    padding-bottom: 8px;
}

.hours-list dt {
    font-weight: 800;
}

.hours-list dd {
    margin: 0;
}

.feature-list {
    columns: 2;
    gap: 28px;
    margin: 18px 0 0;
    padding-left: 20px;
    font-size: 16px;
}

.divider {
    position: relative;
    margin: 30px 0;
    height: 18px;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 20px);
    border-top: 1px solid var(--eyebrow);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span,
.mini-divider::after {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--eyebrow);
    transform: translate(-50%, -50%) rotate(45deg);
}

.map-wrap {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    background: var(--bg-tertiary);
}

.map-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 42%,
        rgba(18, 12, 8, 0.18) 100%
    );
}

#map {
    width: 100%;
    height: 100%;
    min-height: 560px;
}

.map-message {
    display: grid;
    min-height: 560px;
    place-items: center;
    padding: 24px;
    text-align: center;
}

.about-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(18, 12, 8, 0.8), rgba(18, 12, 8, 0.8)),
        url("/woodgrain-background-02.webp") center / cover no-repeat;
    color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
    gap: 46px;
    align-items: center;
}

.about-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.86);
}

.chef-qualifications {
    margin: 18px 0 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.86);
}

.chef-qualifications li {
    margin-bottom: 8px;
}

.chef-qualifications li:last-child {
    margin-bottom: 0;
}

.river-photo,
.award-photo {
    overflow: hidden;
    background: #000;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

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

.award-photo img {
    width: 100%;
    height: auto;
}

.about-awards-grid {
    margin-top: 56px;
}

.about-copy h3 {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.03em;
}

.awards-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.awards-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.86);
}

.awards-list li:last-child {
    margin-bottom: 0;
}

.award-icon {
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.18em;
    object-fit: contain;
}

.award-photo figcaption {
    margin: 0;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 34px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading p:not(.eyebrow) {
    margin: 12px 0 0;
}

.menu-section {
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.menu-section .container {
    position: relative;
    z-index: 1;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.menu-card {
    cursor: pointer;
    background: #fff9ef;
    padding: 20px;
    color: var(--text);
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.menu-card:hover,
.menu-card:focus {
    border-color: rgba(188, 100, 43, 0.8);
    box-shadow: 0 20px 38px rgba(18, 12, 8, 0.14);
    transform: translateY(-4px);
}

.menu-card img {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border-radius: 10px;
    object-fit: cover;
}

.menu-card span,
.specialty-info strong {
    display: block;
    font-family: "Gupter", Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.menu-card small {
    display: block;
    margin-top: 8px;
    color: rgba(18, 12, 8, 0.72);
    font-size: 0.98rem;
}

.specialties-section {
    background:
        linear-gradient(rgba(211, 178, 120, 0.9), rgba(211, 178, 120, 0.9)),
        url("/woodgrain-background-02.webp") center / cover no-repeat;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.specialty-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    min-height: 220px;
    overflow: hidden;
    cursor: pointer;
    color: #fff;
    padding: 0;
    text-align: left;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.specialty-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        var(--near-black) 0%,
        var(--near-black) 50%,
        rgba(17, 13, 8, 0.78) 58%,
        rgba(17, 13, 8, 0.45) 66%,
        rgba(17, 13, 8, 0.12) 74%,
        transparent 80%
    );
    z-index: 1;
    pointer-events: none;
}

.specialty-card:hover,
.specialty-card:focus {
    box-shadow: 0 20px 38px rgba(18, 12, 8, 0.22);
    transform: translateY(-4px);
}

.specialty-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-info {
    position: relative;
    z-index: 2;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 18px;
}

.specialty-info .eyebrow {
    margin-bottom: 0;
}

.specialty-info strong {
    font-size: 1.55rem;
}

.specialty-info span:not(.eyebrow):not(.mini-divider) {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.28;
}

.specialty-info em {
    color: var(--eyebrow);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mini-divider {
    position: relative;
    display: block;
    height: 12px;
}

.mini-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    border-top: 1px solid var(--eyebrow);
}

.testimonials-section {
    position: relative;
    overflow: hidden;
    background: #fbf2e5;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    aspect-ratio: 1920 / 1080;
    height: auto;
    background: url("/trees-buck-hills.webp") center bottom / 100% auto no-repeat;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.catering-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at center,
            transparent 42%,
            rgba(18, 12, 8, 0.18) 100%
        ),
        #bb652b;
}

.catering-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(180px, 28vw, 380px);
    background: url("/trees-and-buck.webp") center bottom / 100% auto no-repeat;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.catering-section .container {
    position: relative;
    z-index: 1;
}

.catering-panel {
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid #120c08;
    border-radius: 10px;
}

.catering-panel .section-heading {
    margin-bottom: 28px;
}

.catering-panel .section-heading .eyebrow {
    color: #120c08;
}

.catering-panel .section-heading h2 {
    color: #fbf2e5;
}

.catering-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: start;
}

.catering-copy p {
    margin: 0 0 1em;
    color: #fbf2e5;
}

.catering-copy p:last-child {
    margin-bottom: 0;
}

.catering-feature {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    color: #fff;
    text-align: left;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.catering-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        var(--near-black) 0%,
        var(--near-black) 19%,
        rgba(17, 13, 8, 0.78) 26%,
        rgba(17, 13, 8, 0.45) 32%,
        rgba(17, 13, 8, 0.12) 38%,
        transparent 41%
    );
    z-index: 1;
    pointer-events: none;
}

.catering-feature:hover,
.catering-feature:focus {
    box-shadow: 0 20px 38px rgba(18, 12, 8, 0.32);
    transform: translateY(-4px);
}

.catering-feature-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.catering-feature-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.catering-feature-heading {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
}

.catering-feature-subheading {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.28;
}

.catering-feature-info em {
    color: var(--eyebrow);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.catering-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 14px;
}

.catering-thumb {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(18, 12, 8, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.catering-thumb:hover,
.catering-thumb:focus {
    border-color: rgba(188, 100, 43, 0.8);
    box-shadow: 0 20px 38px rgba(18, 12, 8, 0.22);
    transform: translateY(-2px);
}

.catering-thumb.is-active {
    border-color: var(--eyebrow);
}

.catering-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 40px;
}

.reviews-grid blockquote {
    margin: 0;
    color: rgba(18, 12, 8, 0.82);
    font-size: 20px;
    font-style: italic;
    line-height: 1.35;
}

.reviews-grid blockquote::before {
    content: "\201C";
    color: var(--eyebrow);
    font-family: "Gupter", Georgia, serif;
    font-size: 2rem;
    line-height: 0;
}

.site-footer {
    background: var(--near-black);
    color: #fff;
    padding: 64px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 38px;
}

.site-footer h2 {
    margin-bottom: 14px;
    font-size: 1.8rem;
}

.site-footer p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
    color: #f0c28a;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #fff;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-link-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

.site-footer .footer-link-icon {
    height: 1em;
    width: auto;
}

.copyright-bar {
    background: var(--near-black);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 16px 0;
    font-size: 0.85rem;
}

.copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.copyright-inner p {
    margin: 0;
}

.copyright-inner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 500;
}

.copyright-inner img {
    width: 24px;
    height: 24px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(17, 13, 8, 0.9);
    padding: 24px;
}

.lightbox.is-active {
    display: flex;
}

.lightbox-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1080px, 100%);
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    border-radius: 10px;
    background: #fff9ef;
    padding: 22px;
    overflow: hidden;
}

.lightbox figure {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    margin: 0;
}

.lightbox-image-wrap {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #1c120d;
}

.lightbox-image-wrap.is-zoomed {
    display: block;
    overflow: auto;
}

.lightbox-image-wrap img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.lightbox-image-wrap.is-zoomed img {
    height: auto;
    max-width: none;
    min-width: 100%;
    margin: 0 auto;
    max-height: none;
    transition: width 120ms ease;
}

.lightbox-zoom-controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.lightbox-zoom-controls button {
    cursor: pointer;
    min-width: 44px;
    min-height: 38px;
    border: 1px solid rgba(71, 26, 14, 0.28);
    border-radius: 999px;
    background: #fff;
    color: var(--button);
    font: 700 0.92rem/1 "Inter", Arial, sans-serif;
}

.lightbox-zoom-controls button:hover,
.lightbox-zoom-controls button:focus {
    border-color: var(--button);
    color: var(--near-black);
}

.lightbox-zoom-controls button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.lightbox-zoom-reset {
    padding: 0 16px;
}

.lightbox-zoom-value {
    min-width: 52px;
    color: rgba(18, 12, 8, 0.72);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}

.lightbox figcaption {
    flex: 0 0 auto;
    margin-top: 10px;
    text-align: center;
}

.lightbox figcaption h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.lightbox figcaption p {
    margin: 4px 0 0;
}

.lightbox-close,
.lightbox-nav,
.lightbox-zoom-controls button,
.lightbox-thumbs button {
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--button);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 42%;
    z-index: 2;
    width: 44px;
    height: 58px;
    border: 0;
    border-radius: 10px;
    background: rgba(71, 26, 14, 0.92);
    color: #fff;
    font-size: 2.8rem;
    line-height: 1;
}

.lightbox-nav.prev {
    left: 12px;
}

.lightbox-nav.next {
    right: 12px;
}

.lightbox-thumbs {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.lightbox-thumbs button {
    border: 3px solid transparent;
    border-radius: 10px;
    background: transparent;
    padding: 0;
}

.lightbox-thumbs button.is-active {
    border-color: var(--eyebrow);
}

.lightbox-thumbs img {
    width: 76px;
    height: 76px;
    border-radius: 7px;
    object-fit: cover;
}

.gm-info {
    max-width: 240px;
    color: #120c08;
    font-family: "Source Sans 3", Arial, sans-serif;
}

.gm-info strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Gupter", Georgia, serif;
    font-size: 1.35rem;
}

.gm-info p {
    margin: 0 0 8px;
}

@media (max-width: 1020px) {
    .header-grid {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 8px 24px;
        min-height: auto;
        padding: 14px 0;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    .brand img {
        width: min(100%, 260px);
    }

    .header-contact {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
        justify-self: start;
    }

    .header-contact-line {
        display: flex;
        font-size: 0.82rem;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1 / span 2;
        justify-self: end;
        align-self: center;
        width: min(100%, 220px);
        margin-bottom: 0;
    }

    .details-intro-grid,
    .details-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 440px;
        background:
            linear-gradient(90deg, rgba(17, 13, 8, 0.94) 0%, rgba(17, 13, 8, 0.76) 58%, rgba(17, 13, 8, 0.2) 100%),
            url("/the-ranch-restaurant-hero-03.webp") calc(50% - 200px) center / cover no-repeat;
    }

    .hero-content {
        min-height: 440px;
        padding: 48px 0;
    }

    .details-section,
    .about-section,
    .menu-section,
    .specialties-section,
    .testimonials-section,
    .catering-section {
        padding: 48px 0;
    }

    .menu-grid,
    .specialty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catering-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 32px;
    }
}

@media (max-height: 720px) {
    .lightbox-dialog {
        padding: 14px;
    }

    .lightbox-close {
        width: 36px;
        height: 36px;
        font-size: 1.65rem;
    }

    .lightbox-zoom-controls {
        margin-top: 8px;
    }

    .lightbox-zoom-controls button {
        min-height: 32px;
    }

    .lightbox figcaption {
        margin-top: 8px;
    }

    .lightbox figcaption h2 {
        font-size: 1.55rem;
    }

    .lightbox-thumbs {
        margin-top: 8px;
    }

    .lightbox-thumbs img {
        width: 58px;
        height: 58px;
    }
}

@media (max-height: 560px) {
    .lightbox figcaption p {
        display: none;
    }

    .lightbox-thumbs img {
        width: 46px;
        height: 46px;
    }
}

@media (hover: none), (pointer: coarse) {
    .lightbox-zoom-controls {
        display: none;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 16px;
    }

    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .site-header {
        position: static;
    }

    .header-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
        padding: 18px 0;
        text-align: center;
    }

    .brand,
    .header-contact,
    .header-actions {
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        align-self: auto;
    }

    .header-contact {
        text-align: center;
    }

    .header-contact-line {
        display: inline-flex;
        font-size: 0.9rem;
    }

    .brand img {
        width: min(100%, 260px);
        margin: 0 auto;
    }

    .header-actions {
        width: 100%;
        max-width: 320px;
    }

    .hero {
        min-height: auto;
        background:
            linear-gradient(
                90deg,
                rgba(17, 13, 8, 0.94) 0%,
                rgba(17, 13, 8, 0.88) 50%,
                rgba(17, 13, 8, 0.42) 68%,
                rgba(17, 13, 8, 0.12) 85%,
                rgba(17, 13, 8, 0.04) 100%
            ),
            url("/the-ranch-restaurant-hero-03.webp") calc(50% - 500px) center / cover no-repeat;
    }

    .hero-content {
        min-height: auto;
        padding: 48px 0;
    }

    .button-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .google-rating {
        align-items: flex-start;
    }

    .google-rating-score-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .section {
        padding: 64px 0;
    }

    .details-section,
    .about-section,
    .menu-section,
    .specialties-section,
    .testimonials-section,
    .catering-section {
        padding: 48px 0;
    }

    .details-card {
        padding: 24px;
    }

    .catering-panel {
        padding: 24px;
    }

    .feature-list {
        columns: 1;
    }

    .menu-grid,
    .specialty-grid,
    .reviews-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .specialty-card {
        grid-template-columns: 1fr;
    }

    .specialty-card::before {
        background: linear-gradient(
            180deg,
            var(--near-black) 0%,
            var(--near-black) 42%,
            rgba(17, 13, 8, 0.55) 58%,
            rgba(17, 13, 8, 0.12) 68%,
            transparent 78%
        );
    }

    .specialty-card img {
        position: relative;
        z-index: 0;
        grid-row: 2;
        height: 230px;
    }

    .specialty-info {
        grid-row: 1;
    }

    .copyright-inner {
        flex-direction: column;
        text-align: center;
    }

    .lightbox {
        padding: 10px;
    }

    .lightbox-dialog {
        height: calc(100vh - 20px);
        height: calc(100dvh - 20px);
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        padding: 14px;
    }

    .lightbox-nav {
        top: 34%;
    }

    .lightbox-zoom-controls {
        gap: 6px;
        margin-top: 8px;
    }

    .lightbox-zoom-controls button {
        min-width: 40px;
        min-height: 34px;
    }

    .lightbox figcaption {
        margin-top: 8px;
    }

    .lightbox-thumbs {
        gap: 8px;
        margin-top: 10px;
    }

    .lightbox-thumbs img {
        width: 58px;
        height: 58px;
    }
}
