/* =========================================================================
   Ranch 201 — home.css  (Editorial Western pivot)
   Warm leather-black + bone-white + amber/gold duotone.
   Display: Rye (wood-type). Body: Newsreader (literary serif).
   ========================================================================= */

body.home {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: var(--r-bg);
}

body.home main,
body.home .r-main {
    background: var(--r-bg);
    position: relative;
}

/* Hide original Elementor homepage content — front-page.php renders custom */
body.home [data-elementor-type="wp-post"][data-elementor-id="7"] {
    display: none !important;
}

/* Sub-pages built with Elementor (no custom template yet) get top offset */
body:not(.home) [data-elementor-type="wp-post"] {
    padding-top: 128px;
}

/* Our custom sub-page templates: main starts at top, page hero handles nav overlap */
body .r-main--page {
    background: var(--r-bg);
}

/* =========================================================================
   FIXED NAV — thin, warm, translucent blurred bar
   ========================================================================= */
.r-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 108px;
    background: linear-gradient(
        180deg,
        rgba(11, 7, 5, 0.82) 0%,
        rgba(11, 7, 5, 0.55) 60%,
        rgba(11, 7, 5, 0) 100%
    );
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    transition: height 0.4s var(--r-ease), background 0.4s var(--r-ease), backdrop-filter 0.4s var(--r-ease);
    border-bottom: 1px solid transparent;
}

.r-nav.is-scrolled {
    background: rgba(11, 7, 5, 0.94);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    height: 76px;
    border-bottom-color: var(--r-hairline);
}

.r-nav__inner {
    width: var(--r-container);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.r-nav__logo {
    display: inline-flex;
    align-items: center;
    margin-right: auto;
    transition: transform 0.35s var(--r-ease), filter 0.35s var(--r-ease);
    filter:
        drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8))
        drop-shadow(0 0 24px rgba(214, 118, 66, 0.18));
}

.r-nav__logo img {
    height: 92px;
    width: auto;
    display: block;
    transition: height 0.4s var(--r-ease);
}

.r-nav.is-scrolled .r-nav__logo img {
    height: 60px;
}

.r-nav__logo:hover {
    transform: scale(1.04) rotate(-0.6deg);
    filter:
        drop-shadow(0 8px 28px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 36px rgba(214, 118, 66, 0.55));
}

.r-nav__menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.r-nav__menu a {
    font-family: var(--r-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--r-text);
    font-style: italic;
    font-variation-settings: "opsz" 14;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s var(--r-ease);
}

.r-nav__menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--r-accent);
    transition: width 0.35s var(--r-ease);
}

.r-nav__menu a:hover,
.r-nav__menu a.is-current {
    color: var(--r-accent);
}

.r-nav__menu a:hover::after,
.r-nav__menu a.is-current::after {
    width: 100%;
}

.r-nav__divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: var(--r-hairline-2);
    margin: 0 0.5rem;
}

.r-nav__lang {
    font-family: var(--r-display) !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    padding: 6px 12px !important;
    border: 1px solid var(--r-hairline-2);
    border-radius: 0 !important;
    color: var(--r-text) !important;
    font-style: normal !important;
}

.r-nav__lang::after { display: none !important; }

.r-nav__lang:hover {
    background: var(--r-accent);
    color: var(--r-bg) !important;
    border-color: var(--r-accent);
}

.r-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    background: transparent;
    color: var(--r-text);
    font-family: var(--r-display);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--r-accent);
    border-radius: 0;
    transition: background 0.35s var(--r-ease), color 0.35s var(--r-ease), letter-spacing 0.35s var(--r-ease), border-color 0.35s var(--r-ease);
}

.r-nav__cta:hover {
    background: var(--r-accent);
    color: var(--r-bg);
    border-color: var(--r-accent);
    letter-spacing: 0.2em;
}

.r-nav__toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    position: relative;
}

.r-nav__toggle span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 1.5px;
    background: var(--r-text);
    transition: transform 0.35s var(--r-ease), opacity 0.35s var(--r-ease);
}

.r-nav__toggle span:nth-child(1) { top: 14px; }
.r-nav__toggle span:nth-child(2) { top: 20px; }
.r-nav__toggle span:nth-child(3) { top: 26px; }

.r-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.r-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.r-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================================
   SHARED BUILDING BLOCKS
   ========================================================================= */
.r-container { width: var(--r-container); margin: 0 auto; }
.r-section   { padding: clamp(3.5rem, 7vh, 6rem) 0; position: relative; }

/* Eyebrow — small wood-type caps, with line-diamond-line SVG ornaments */
.r-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--r-display);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--r-accent);
    margin-bottom: 2rem;
}

.r-eyebrow::before,
.r-eyebrow::after {
    content: "";
    width: 64px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'><line x1='0' y1='6' x2='26' y2='6' stroke='black' stroke-width='1.2'/><line x1='38' y1='6' x2='64' y2='6' stroke='black' stroke-width='1.2'/><path d='M32 2 L36 6 L32 10 L28 6 Z' fill='black'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'><line x1='0' y1='6' x2='26' y2='6' stroke='black' stroke-width='1.2'/><line x1='38' y1='6' x2='64' y2='6' stroke='black' stroke-width='1.2'/><path d='M32 2 L36 6 L32 10 L28 6 Z' fill='black'/></svg>");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    flex-shrink: 0;
}

.r-eyebrow--start::before { display: none; }
.r-eyebrow--start::after  { width: 80px; }

/* =========================================================================
   BRAND SEAL — circular rotating "EST. 2023 · RANCH 201 · RAKOVICA" badge
   ========================================================================= */
.r-seal {
    position: absolute;
    width: 168px;
    height: 168px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    animation: r-seal-in 1.8s var(--r-ease) 1.6s forwards;
}

.r-seal svg {
    width: 100%;
    height: 100%;
    animation: r-seal-spin 40s linear infinite;
    transform-origin: center;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.85));
}

.r-seal text {
    font-family: var(--r-display);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    fill: #f0d49c;
}

.r-seal__inner {
    font-family: var(--r-display);
    font-size: 14px;
    fill: #f0d49c;
    text-anchor: middle;
    dominant-baseline: middle;
}

.r-seal__dot {
    fill: var(--r-accent);
}

@keyframes r-seal-spin {
    to { transform: rotate(360deg); }
}

@keyframes r-seal-in {
    to { opacity: 1; }
}

/* Position inside hero — bottom-right corner, out of the way of centered content */
.r-hero .r-seal {
    bottom: clamp(3rem, 6vh, 5rem);
    right: clamp(2rem, 5vw, 5rem);
    top: auto;
}

@media (max-width: 960px) {
    .r-seal { display: none; }
}

/* Display heading — Newsreader serif with italic phrases */
.r-display {
    font-family: var(--r-body);
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.015em;
    font-variation-settings: "opsz" 72;
    color: var(--r-text);
    margin: 0 0 1.5rem;
    max-width: 24ch;
}

.r-display em {
    font-style: italic;
    color: var(--r-accent);
    font-weight: 400;
}

.r-display strong {
    font-weight: 600;
}

.r-lead {
    font-family: var(--r-body);
    font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
    line-height: 1.55;
    color: var(--r-text-mid);
    max-width: 58ch;
    margin: 0 0 2.5rem;
    font-weight: 400;
    font-variation-settings: "opsz" 20;
}

.r-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--r-accent);
    font-family: var(--r-display);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 12px 0;
    border-bottom: 1px solid var(--r-accent);
    transition: color 0.25s var(--r-ease), letter-spacing 0.3s var(--r-ease), border-color 0.25s var(--r-ease);
}

.r-cta::after {
    content: "→";
    font-family: var(--r-body);
    font-size: 18px;
    transition: transform 0.35s var(--r-ease);
}

.r-cta:hover {
    color: var(--r-accent-hi);
    letter-spacing: 0.22em;
    border-color: var(--r-accent-hi);
}

.r-cta:hover::after { transform: translateX(6px); }

/* Scroll reveals */
.r-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1.4s var(--r-ease), transform 1.4s var(--r-ease);
    will-change: opacity, transform;
}
.r-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* =========================================================================
   HERO — full-bleed video, wood-type H1, italic sub-title
   ========================================================================= */
.r-hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--r-bg);
    margin-top: 0;
    text-align: center;
}

.r-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.r-hero__video,
.r-hero__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.r-hero__fallback { z-index: 0; filter: saturate(0.85) contrast(1.05); }

.r-hero__video {
    z-index: 1;
    opacity: 0;
    transition: opacity 2s var(--r-ease);
    filter: saturate(0.88) contrast(1.05);
}

.r-hero__video.is-ready { opacity: 1; }

.r-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        /* Dark spotlight behind centered text — makes text pop against the video */
        radial-gradient(ellipse 65% 50% at center, rgba(11,7,5,0.70) 0%, rgba(11,7,5,0.45) 40%, rgba(11,7,5,0.15) 75%, transparent 100%),
        /* Overall dim + strong top/bottom vignette */
        linear-gradient(180deg,
            rgba(11,7,5,0.75) 0%,
            rgba(11,7,5,0.40) 20%,
            rgba(11,7,5,0.30) 50%,
            rgba(11,7,5,0.60) 82%,
            rgba(11,7,5,0.97) 100%);
    pointer-events: none;
}

.r-hero__content {
    position: relative;
    z-index: 3;
    width: var(--r-container);
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.r-hero__eyebrow {
    font-family: var(--r-display);
    font-size: 13px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--r-gold);
    margin: 0 0 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.9),
        0 3px 12px rgba(0, 0, 0, 0.75);
    opacity: 0;
    transform: translateY(14px);
    animation: r-rise 1.4s var(--r-ease) 0.2s forwards;
}

.r-hero__eyebrow::before {
    content: "";
    width: 56px;
    height: 1px;
    background: var(--r-gold);
}

.r-hero__title {
    font-family: var(--r-display);
    font-size: clamp(2.75rem, 8vw, 8.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.005em;
    margin: 0 auto 1.5rem;
    color: var(--r-text);
    max-width: 22ch;
    text-align: center;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.95),
        0 6px 24px rgba(0, 0, 0, 0.85),
        0 12px 48px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(40px);
    animation: r-rise 1.8s var(--r-ease) 0.4s forwards;
}

/* Italic editorial second line — contrasting serif */
.r-hero__title-italic {
    display: block;
    font-family: var(--r-body);
    font-style: italic;
    font-weight: 400;
    color: var(--r-accent);
    font-size: 0.78em;
    margin: 0.08em auto 0;
    letter-spacing: -0.015em;
    font-variation-settings: "opsz" 72;
    max-width: 26ch;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.95),
        0 6px 24px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(30px);
    animation: r-rise 1.8s var(--r-ease) 0.7s forwards;
}

.r-hero__sub {
    font-family: var(--r-body);
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    color: var(--r-text);
    font-weight: 400;
    font-style: italic;
    max-width: 52ch;
    margin: 0 auto 2.75rem;
    line-height: 1.55;
    text-align: center;
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.95),
        0 4px 18px rgba(0, 0, 0, 0.85);
    font-variation-settings: "opsz" 20;
    opacity: 0;
    transform: translateY(20px);
    animation: r-rise 1.4s var(--r-ease) 1s forwards;
}

.r-hero__ctas {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(14px);
    animation: r-rise 1.4s var(--r-ease) 1.25s forwards;
}

@keyframes r-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.r-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-family: var(--r-display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--r-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: r-fade 1.5s var(--r-ease) 1.6s forwards;
}

.r-hero__scroll::after {
    content: "";
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--r-gold), transparent);
    animation: r-scroll-line 2.4s ease-in-out infinite;
}

@keyframes r-fade { to { opacity: 0.8; } }
@keyframes r-scroll-line {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
    50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* =========================================================================
   INTRO — Editorial Sara section with pull-quote + drop cap
   ========================================================================= */
.r-intro {
    background: var(--r-bg);
    padding: clamp(4rem, 8vh, 6.5rem) 0;
    position: relative;
}

/* Warm glow from top */
.r-intro::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--r-hairline-2) 20%,
        var(--r-gold) 50%,
        var(--r-hairline-2) 80%,
        transparent 100%);
    opacity: 0.5;
}

.r-intro__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.r-intro__portrait {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--r-bg-2);
    border: 1px solid var(--r-hairline);
    /* editorial frame effect */
    outline: 1px solid var(--r-hairline);
    outline-offset: 14px;
}

.r-intro__portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 60%,
        rgba(11,7,5,0.4) 100%);
    pointer-events: none;
}

.r-intro__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.18) saturate(0.95) contrast(1.05);
    transition: filter 1.2s var(--r-ease), transform 10s var(--r-ease);
}

.r-intro__portrait:hover img {
    filter: sepia(0) saturate(1) contrast(1.02);
    transform: scale(1.04);
}

.r-intro__text {
    padding-top: 1.5rem;
}

/* Pull quote — massive decorative, with big quote marks */
.r-intro__quote {
    font-family: var(--r-body);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--r-text);
    margin: 0 0 2.5rem;
    font-variation-settings: "opsz" 72;
    padding-left: 0;
}

.r-intro__quote::before {
    content: "\201C";              /* left double quotation mark */
    font-family: var(--r-body);    /* match the body serif, not the Rye display */
    font-style: italic;
    font-size: 1em;                /* same size as the quote text */
    color: var(--r-accent);
    display: inline;
    line-height: inherit;
    margin-right: 0.05em;
    font-weight: 400;
}

.r-intro__quote em {
    color: var(--r-accent);
    font-style: italic;
    font-weight: 500;
}

/* Drop cap on first body paragraph */
.r-intro__body {
    font-family: var(--r-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--r-text-mid);
    margin: 0 0 1.75rem;
    max-width: 58ch;
    font-variation-settings: "opsz" 18;
}

.r-intro__body.r-dropcap::first-letter {
    font-family: var(--r-display);
    font-size: 5em;
    float: left;
    line-height: 0.85;
    padding: 0.1em 0.15em 0 0;
    color: var(--r-accent);
    font-weight: 400;
}

.r-intro__signature {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--r-display);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--r-gold);
    padding-top: 1.5rem;
    border-top: 1px solid var(--r-hairline);
}

/* =========================================================================
   HORSES — four-up cards, editorial with italic role tags
   ========================================================================= */
.r-horses {
    background: var(--r-bg-1);
    padding: clamp(4rem, 8vh, 6.5rem) 0;
    border-top: 1px solid var(--r-hairline);
    border-bottom: 1px solid var(--r-hairline);
    position: relative;
}

.r-horses__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.r-horses__header .r-eyebrow {
    justify-content: center;
    display: inline-flex;
}

.r-horses__header .r-display {
    margin-left: auto;
    margin-right: auto;
    max-width: 20ch;
}

.r-horses__header .r-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.r-horses__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.r-horse {
    position: relative;
    aspect-ratio: 3/4.2;
    overflow: hidden;
    background: var(--r-bg-2);
    border: 1px solid var(--r-hairline);
    outline: 1px solid transparent;
    outline-offset: 6px;
    transition: outline-color 0.5s var(--r-ease), outline-offset 0.5s var(--r-ease);
}

.r-horse:hover {
    outline-color: var(--r-accent);
    outline-offset: 10px;
}

.r-horse img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.15) saturate(0.9) contrast(1.08) brightness(0.88);
    transition: transform 1.4s var(--r-ease), filter 0.8s var(--r-ease);
}

.r-horse:hover img {
    transform: scale(1.07);
    filter: sepia(0) saturate(1.02) contrast(1.04) brightness(1);
}

.r-horse__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(11,7,5,0) 40%,
        rgba(11,7,5,0.95) 100%);
    pointer-events: none;
}

.r-horse__label {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    color: var(--r-text);
}

.r-horse__name {
    font-family: var(--r-display);
    font-size: clamp(1.25rem, 1.8vw, 1.625rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0 0 0.35rem;
    color: var(--r-text);
}

.r-horse__tag {
    font-family: var(--r-body);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0;
    color: var(--r-accent);
    font-weight: 400;
    font-variation-settings: "opsz" 14;
}

/* =========================================================================
   WHAT TO EXPECT — 4 numbered info cards, editorial strip
   ========================================================================= */
.r-expect {
    background: var(--r-bg-1);
    padding: clamp(4rem, 8vh, 6.5rem) 0;
    position: relative;
    border-top: 1px solid var(--r-hairline);
    border-bottom: 1px solid var(--r-hairline);
}

.r-expect__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.r-expect__header .r-eyebrow { display: inline-flex; justify-content: center; }
.r-expect__header .r-display {
    margin-left: auto;
    margin-right: auto;
    max-width: 18ch;
}
.r-expect__header .r-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 52ch;
}

.r-expect__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--r-hairline);
    border-bottom: 1px solid var(--r-hairline);
}

.r-expect__card {
    padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
    border-right: 1px solid var(--r-hairline);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background 0.5s var(--r-ease);
}

.r-expect__card:last-child { border-right: none; }
.r-expect__card:hover { background: var(--r-bg-1); }

.r-expect__num {
    font-family: var(--r-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--r-accent);
    line-height: 0.9;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.r-expect__label {
    font-family: var(--r-body);
    font-style: italic;
    font-size: clamp(1.125rem, 1.4vw, 1.375rem);
    font-weight: 500;
    color: var(--r-text);
    line-height: 1.2;
    font-variation-settings: "opsz" 24;
    margin-bottom: 0.5rem;
}

.r-expect__body {
    font-family: var(--r-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--r-text-mid);
    margin: 0;
    max-width: 36ch;
}

@media (max-width: 960px) {
    .r-expect__grid { grid-template-columns: 1fr 1fr; }
    .r-expect__card:nth-child(2) { border-right: none; }
    .r-expect__card:nth-child(1),
    .r-expect__card:nth-child(2) { border-bottom: 1px solid var(--r-hairline); }
}

@media (max-width: 600px) {
    .r-expect__grid { grid-template-columns: 1fr; }
    .r-expect__card { border-right: none; border-bottom: 1px solid var(--r-hairline); }
    .r-expect__card:last-child { border-bottom: none; }
}

/* =========================================================================
   RIDES — pricing with big wood-type numerals
   ========================================================================= */
.r-rides {
    background: var(--r-bg);
    padding: clamp(4rem, 8vh, 6.5rem) 0;
}

.r-rides__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.r-rides__header .r-eyebrow { justify-content: center; display: inline-flex; }
.r-rides__header .r-display {
    margin-left: auto;
    margin-right: auto;
    max-width: 18ch;
}

.r-rides__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--r-hairline);
    background: var(--r-bg-1);
}

.r-ride {
    padding: clamp(3rem, 5vw, 5rem) clamp(2.5rem, 4vw, 4.5rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid var(--r-hairline);
    transition: background 0.5s var(--r-ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.r-ride:focus-visible {
    outline: 2px solid var(--r-accent);
    outline-offset: -6px;
}

.r-ride:last-child { border-right: none; }

.r-ride:hover {
    background: var(--r-bg-2);
}

/* Subtle ornament in the corner */
.r-ride::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--r-hairline-2);
    border-radius: 50%;
    opacity: 0.4;
    transition: transform 0.8s var(--r-ease), opacity 0.5s var(--r-ease);
}

.r-ride:hover::before {
    transform: rotate(60deg) scale(1.08);
    opacity: 0.9;
    border-color: var(--r-accent);
}

.r-ride__duration {
    font-family: var(--r-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--r-gold);
}

.r-ride__title {
    font-family: var(--r-body);
    font-style: italic;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0.25rem 0 0;
    color: var(--r-text);
    font-variation-settings: "opsz" 48;
}

.r-ride__price {
    font-family: var(--r-display);
    font-size: clamp(3.25rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    color: var(--r-text);
    margin: 1.25rem 0 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.3em;
}

/* Sedra Holiday Resort discounted rate row */
.r-ride__sedra {
    display: inline-flex;
    align-items: baseline;
    gap: 0.65em;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0 0.25rem;
    background: rgba(214, 118, 66, 0.08);
    border: 1px solid var(--r-hairline-2);
    border-left: 2px solid var(--r-accent);
    border-radius: 2px;
    align-self: flex-start;
    max-width: 100%;
}

.r-ride__sedra-label {
    font-family: var(--r-display);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--r-gold);
    line-height: 1.3;
}

.r-ride__sedra-label a {
    color: var(--r-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(214, 118, 66, 0.4);
    transition: text-decoration-color 0.25s var(--r-ease);
}

.r-ride__sedra-label a:hover {
    text-decoration-color: var(--r-accent);
}

/* Sedra link inside the checkbox label */
.r-form__checkbox-text a {
    color: var(--r-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(214, 118, 66, 0.4);
}

.r-form__checkbox-text a:hover {
    text-decoration-color: var(--r-accent);
}

.r-ride__sedra-price {
    font-family: var(--r-display);
    font-size: 1.375rem;
    color: var(--r-accent);
    letter-spacing: -0.005em;
    line-height: 1;
}

.r-ride__price sup {
    font-family: var(--r-body);
    font-size: 0.32em;
    color: var(--r-text-dim);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
    top: -0.5em;
    text-transform: lowercase;
}

.r-ride__desc {
    font-family: var(--r-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--r-text-mid);
    margin: 1rem 0 2rem;
    max-width: 42ch;
}

.r-ride__cta { margin-top: auto; }

/* =========================================================================
   GALLERY strip — clean 3-col editorial grid
   ========================================================================= */
.r-gallery {
    background: var(--r-bg-1);
    padding: clamp(3.5rem, 7vh, 5.5rem) 0;
    border-top: 1px solid var(--r-hairline);
}

.r-gallery__header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vh, 3rem);
}

.r-gallery__header .r-eyebrow { justify-content: center; display: inline-flex; }
.r-gallery__header .r-display {
    margin-left: auto;
    margin-right: auto;
    max-width: 20ch;
}

.r-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.r-gallery__tile {
    position: relative;
    display: block;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--r-bg-2);
    border: 1px solid var(--r-hairline);
}

.r-gallery__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.12) saturate(0.92) contrast(1.05) brightness(0.9);
    transition: filter 0.6s var(--r-ease), transform 1.2s var(--r-ease);
}

.r-gallery__tile:hover img {
    filter: sepia(0) saturate(1.02) contrast(1.02) brightness(1);
    transform: scale(1.05);
}

.r-gallery__footer {
    text-align: center;
    margin-top: 3.5rem;
}

/* =========================================================================
   TESTIMONIALS — editorial social proof, 3-up card grid
   ========================================================================= */
.r-testimonials {
    background: var(--r-bg-1);
    padding: clamp(4rem, 8vh, 6rem) 0;
    border-top: 1px solid var(--r-hairline);
    border-bottom: 1px solid var(--r-hairline);
}

.r-testimonials__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
}
.r-testimonials__header .r-eyebrow { display: inline-flex; justify-content: center; }
.r-testimonials__header .r-display {
    margin-left: auto;
    margin-right: auto;
    max-width: 18ch;
}

.r-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.r-testimonial {
    background: var(--r-bg-2);
    border: 1px solid var(--r-hairline);
    padding: clamp(2rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0;
    position: relative;
    transition: border-color 0.4s var(--r-ease), transform 0.5s var(--r-ease);
}

.r-testimonial::before {
    content: "\201C";
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: var(--r-display);
    font-size: 3.6em;
    color: var(--r-accent);
    opacity: 0.22;
    line-height: 0.8;
    pointer-events: none;
}

.r-testimonial:hover {
    border-color: var(--r-hairline-2);
    transform: translateY(-4px);
}

.r-testimonial__stars {
    font-size: 16px;
    letter-spacing: 0.2em;
    color: var(--r-accent);
    font-family: var(--r-body);
}

.r-testimonial__quote {
    font-family: var(--r-body);
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
    color: var(--r-text);
    margin: 0;
    font-variation-settings: "opsz" 20;
    flex-grow: 1;
}

.r-testimonial__author {
    padding-top: 1.25rem;
    border-top: 1px solid var(--r-hairline);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.r-testimonial__name {
    font-family: var(--r-display);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--r-text);
}

.r-testimonial__where {
    font-family: var(--r-body);
    font-style: italic;
    font-size: 13px;
    color: var(--r-text-dim);
}

@media (max-width: 960px) {
    .r-testimonials__grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* =========================================================================
   CONTACT — editorial form, warm
   ========================================================================= */
.r-contact {
    background: var(--r-bg);
    padding: clamp(4rem, 8vh, 6.5rem) 0;
    position: relative;
}

.r-contact::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--r-hairline-2) 20%,
        var(--r-gold) 50%,
        var(--r-hairline-2) 80%,
        transparent 100%);
    opacity: 0.5;
}

.r-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.r-contact__left .r-display { max-width: 14ch; }

.r-contact__info {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.75rem;
}

.r-contact__info-item {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--r-hairline);
}

.r-contact__info-label {
    font-family: var(--r-display);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--r-gold);
    margin-bottom: 0.6rem;
}

.r-contact__info-value {
    font-family: var(--r-body);
    font-size: 18px;
    color: var(--r-text);
    font-weight: 400;
    line-height: 1.45;
}

.r-contact__info-value a { color: var(--r-text); }
.r-contact__info-value a:hover { color: var(--r-accent); }

.r-form {
    background: var(--r-bg-1);
    border: 1px solid var(--r-hairline);
    padding: clamp(2.5rem, 4vw, 4rem);
    outline: 1px solid var(--r-hairline);
    outline-offset: 10px;
}

.r-form__row { margin-bottom: 1.75rem; }

.r-form__row--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.r-form label {
    display: block;
    font-family: var(--r-display);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--r-gold);
    margin-bottom: 0.6rem;
}

.r-form input,
.r-form select,
.r-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--r-hairline-2);
    color: var(--r-text);
    font-family: var(--r-body);
    font-size: 18px;
    padding: 0.75rem 0;
    transition: border-color 0.3s var(--r-ease);
    font-variation-settings: "opsz" 18;
    color-scheme: dark;  /* tells browser to render native date pickers / scrollbars in dark */
}

/* Native select — strip default chrome, add custom chevron */
.r-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23d67642' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 28px;
    cursor: pointer;
}

/* The actual dropdown popover can only be partially styled; make option BG warm-dark */
.r-form select option {
    background: #1a120c;
    color: #f5ebdd;
    font-family: var(--r-body);
    padding: 8px 12px;
}

/* Date input — style the calendar picker indicator for dark mode */
.r-form input[type="date"] {
    color-scheme: dark;
}

.r-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(0.5) saturate(3) hue-rotate(340deg);
    cursor: pointer;
    opacity: 0.85;
}

.r-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.r-form input:focus,
.r-form select:focus,
.r-form textarea:focus {
    outline: none;
    border-color: var(--r-accent);
}

/* Brief highlight when a field is pre-selected from a ride card click */
.r-form select.is-preselected {
    animation: r-preselect-pulse 1.6s var(--r-ease);
}

@keyframes r-preselect-pulse {
    0%   { border-color: var(--r-hairline-2); background: transparent; }
    15%  { border-color: var(--r-accent);     background: rgba(214, 118, 66, 0.12); }
    55%  { border-color: var(--r-accent);     background: rgba(214, 118, 66, 0.08); }
    100% { border-color: var(--r-hairline-2); background: transparent; }
}

.r-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Placeholder text + number spinners */
.r-form input::placeholder,
.r-form textarea::placeholder {
    color: var(--r-text-dim);
    opacity: 0.7;
    font-style: italic;
}

.r-form input[type="number"]::-webkit-outer-spin-button,
.r-form input[type="number"]::-webkit-inner-spin-button {
    filter: invert(0.7);
}

/* Custom checkbox — for the Sedra Holiday Resort guest checkbox */
.r-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.5rem 0 1.5rem;
    cursor: pointer;
    padding: 0.85rem 1rem;
    background: rgba(214, 118, 66, 0.05);
    border: 1px solid var(--r-hairline-2);
    border-left: 2px solid var(--r-accent);
    border-radius: 2px;
    transition: background 0.3s var(--r-ease), border-color 0.3s var(--r-ease);
}

.r-form__checkbox:hover {
    background: rgba(214, 118, 66, 0.1);
    border-left-color: var(--r-accent-hi);
}

.r-form__checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.r-form__checkbox-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--r-hairline-2);
    background: var(--r-bg);
    flex-shrink: 0;
    margin-top: 2px;
    transition: background 0.2s var(--r-ease), border-color 0.2s var(--r-ease);
}

.r-form__checkbox-box::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--r-accent);
    transform: scale(0);
    transition: transform 0.2s var(--r-ease);
}

.r-form__checkbox input:checked ~ .r-form__checkbox-box {
    border-color: var(--r-accent);
}

.r-form__checkbox input:checked ~ .r-form__checkbox-box::after {
    transform: scale(1);
}

.r-form__checkbox input:focus-visible ~ .r-form__checkbox-box {
    outline: 2px solid var(--r-accent);
    outline-offset: 2px;
}

.r-form__checkbox-text {
    font-family: var(--r-body);
    font-size: 14px;
    line-height: 1.45;
    color: var(--r-text);
    font-style: normal;
}

.r-form__checkbox-text em {
    font-style: italic;
    color: var(--r-gold);
    font-size: 13px;
    display: inline;
}

.r-form__submit {
    margin-top: 1rem;
    background: transparent;
    color: var(--r-text);
    border: 1px solid var(--r-accent);
    padding: 1.15rem 2.75rem;
    font-family: var(--r-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.4s var(--r-ease), color 0.4s var(--r-ease), letter-spacing 0.4s var(--r-ease);
    position: relative;
}

.r-form__submit:hover {
    background: var(--r-accent);
    color: var(--r-bg);
    letter-spacing: 0.24em;
}

.r-form__submit:disabled {
    opacity: 0.5;
    cursor: wait;
}

.r-form__success {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.r-form__success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--r-accent);
    color: var(--r-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.r-form__success p {
    font-family: var(--r-body);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--r-text);
    max-width: 36ch;
    margin: 0;
    line-height: 1.5;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.r-footer {
    background: var(--r-bg-1);
    border-top: 1px solid var(--r-hairline);
    padding: clamp(3rem, 6vh, 5rem) 0 2rem;
    position: relative;
}

.r-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--r-hairline-2) 30%,
        var(--r-gold) 50%,
        var(--r-hairline-2) 70%,
        transparent);
    opacity: 0.45;
}

.r-footer__inner {
    width: var(--r-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--r-hairline);
}

.r-footer__col--brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.r-footer__logo {
    display: inline-flex;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

.r-footer__logo img {
    height: 100px;
    width: auto;
    display: block;
}

.r-footer__tag {
    font-family: var(--r-body);
    font-style: italic;
    color: var(--r-text-mid);
    font-size: 16px;
    max-width: 30ch;
    margin: 0.5rem 0 0;
    line-height: 1.55;
}

.r-footer__label {
    font-family: var(--r-display);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--r-gold);
    margin-bottom: 1.25rem;
}

.r-footer__body {
    font-family: var(--r-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--r-text-mid);
}

.r-footer__body a {
    display: inline-block;
    color: var(--r-text-mid);
}

.r-footer__body a:hover { color: var(--r-accent); }

.r-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-family: var(--r-body);
    font-size: 16px;
}

.r-footer__links a {
    color: var(--r-text-mid);
    font-style: italic;
}

.r-footer__links a:hover { color: var(--r-accent); }

.r-footer__bottom {
    width: var(--r-container);
    margin: 2.5rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--r-display);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--r-text-dim);
    gap: 2rem;
    flex-wrap: wrap;
}

.r-footer__legal { display: flex; gap: 1.75rem; }
.r-footer__legal a { color: var(--r-text-dim); }
.r-footer__legal a:hover { color: var(--r-accent); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
    .r-intro__grid,
    .r-contact__grid { grid-template-columns: 1fr; }
    .r-intro__portrait { aspect-ratio: 4/5; max-width: 520px; }
    .r-horses__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .r-rides__grid { grid-template-columns: 1fr; }
    .r-ride { border-right: none; border-bottom: 1px solid var(--r-hairline); }
    .r-ride:last-child { border-bottom: none; }
    .r-gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .r-form__row--split { grid-template-columns: 1fr; }
    .r-footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .r-footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
    .r-nav__menu {
        position: fixed;
        top: 108px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(11, 7, 5, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        padding: 2rem 2rem 3rem;
        border-bottom: 1px solid var(--r-hairline);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.35s var(--r-ease), transform 0.35s var(--r-ease);
    }
    .r-nav__menu.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .r-nav__menu a {
        font-size: 22px;
        padding: 1.25rem 0;
        border-bottom: 1px solid var(--r-hairline);
        display: block;
    }
    .r-nav__toggle { display: block; margin-left: 0.5rem; }
    .r-nav__cta { display: none; }
    .r-nav__divider, .r-nav__lang { display: none; }
}

@media (max-width: 600px) {
    .r-horses__grid { grid-template-columns: 1fr; gap: 1rem; }
    .r-gallery__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .r-hero__ctas { gap: 1.5rem; }
    .r-footer__inner { grid-template-columns: 1fr; }
    .r-footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* =========================================================================
   SUB-PAGE HERO — shorter, editorial, applies to Our Ranch / Gallery / Contact / Privacy
   ========================================================================= */
.r-page-hero {
    position: relative;
    min-height: 64vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--r-bg);
    padding-top: 108px;  /* clear the fixed nav */
    text-align: center;
}

.r-page-hero--short { min-height: 54vh; }
.r-page-hero--text {
    min-height: auto;
    padding: clamp(8rem, 14vh, 10rem) 0 clamp(2.5rem, 5vh, 4rem);
    background: var(--r-bg);
}

.r-page-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.r-page-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;  /* show the upper-middle where subjects usually are */
    filter: saturate(0.85) contrast(1.05);
}

.r-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(11,7,5,0.7) 100%),
        linear-gradient(180deg, rgba(11,7,5,0.65) 0%, rgba(11,7,5,0.15) 35%, rgba(11,7,5,0.05) 55%, rgba(11,7,5,0.75) 100%);
    pointer-events: none;
}

.r-page-hero__content {
    position: relative;
    z-index: 2;
    width: var(--r-container);
    margin: 0 auto;
    padding: clamp(3rem, 6vh, 5rem) 0 clamp(2rem, 4vh, 3.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.r-page-hero__content .r-hero__eyebrow {
    justify-content: center;
}

.r-page-hero--text .r-page-hero__content {
    padding: 0;
}

.r-page-hero__title {
    font-family: var(--r-display);
    font-size: clamp(2.75rem, 7vw, 7.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.005em;
    margin: 0 auto 1.5rem;
    color: var(--r-text);
    max-width: 22ch;
    text-align: center;
    text-shadow: 0 6px 40px rgba(0,0,0,0.7);
    opacity: 0;
    transform: translateY(36px);
    animation: r-rise 1.6s var(--r-ease) 0.35s forwards;
}

.r-page-hero--text .r-page-hero__title { text-shadow: none; }

.r-page-hero__sub {
    font-family: var(--r-body);
    font-style: italic;
    font-size: clamp(1.125rem, 1.4vw, 1.3rem);
    color: var(--r-text);
    max-width: 56ch;
    margin: 0 auto;
    line-height: 1.55;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    font-variation-settings: "opsz" 20;
    opacity: 0;
    transform: translateY(24px);
    animation: r-rise 1.6s var(--r-ease) 0.65s forwards;
}

.r-page-hero--text .r-page-hero__sub { text-shadow: none; color: var(--r-text-mid); }

/* =========================================================================
   OUR RANCH — Story section (similar to homepage intro but slightly different)
   ========================================================================= */
.r-story { background: var(--r-bg); padding: clamp(4rem, 8vh, 6rem) 0; }

.r-story__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.r-story__portrait {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--r-bg-2);
    border: 1px solid var(--r-hairline);
    outline: 1px solid var(--r-hairline);
    outline-offset: 14px;
}

.r-story__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.2) saturate(0.95) contrast(1.05);
    transition: filter 1.2s var(--r-ease), transform 10s var(--r-ease);
}

.r-story__portrait:hover img {
    filter: sepia(0) saturate(1) contrast(1.02);
    transform: scale(1.04);
}

.r-story__text { padding-top: 1.5rem; }

.r-story__body {
    font-family: var(--r-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--r-text-mid);
    margin: 0 0 1.75rem;
    max-width: 58ch;
    font-variation-settings: "opsz" 18;
}

.r-story__body.r-dropcap::first-letter {
    font-family: var(--r-display);
    font-size: 5.2em;
    float: left;
    line-height: 0.85;
    padding: 0.1em 0.15em 0 0;
    color: var(--r-accent);
    font-weight: 400;
}

/* =========================================================================
   OUR RANCH — Full horse profiles, alternating layout
   ========================================================================= */
.r-profiles {
    background: var(--r-bg-1);
    padding: clamp(4rem, 8vh, 6.5rem) 0;
    border-top: 1px solid var(--r-hairline);
    border-bottom: 1px solid var(--r-hairline);
}

.r-profiles__header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vh, 5rem);
}

.r-profiles__header .r-eyebrow { display: inline-flex; justify-content: center; }
.r-profiles__header .r-display {
    margin-left: auto;
    margin-right: auto;
    max-width: 20ch;
}
.r-profiles__header .r-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 52ch;
}

.r-profiles__list {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 9vh, 7rem);
}

.r-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(4rem, 8vw, 8rem);
    align-items: center;
    position: relative;
}

.r-profile--flip { grid-template-columns: 1fr 1fr; }
.r-profile--flip .r-profile__img  { order: 2; }
.r-profile--flip .r-profile__text { order: 1; }

.r-profile__img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--r-bg-2);
    border: 1px solid var(--r-hairline);
    outline: 1px solid var(--r-hairline);
    outline-offset: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

/* Decorative number plate floating over the image */
.r-profile__text::before {
    content: "";
    position: absolute;
    top: -30px;
    width: 80px;
    height: 1px;
    background: var(--r-gold);
    opacity: 0.55;
}

.r-profile:not(.r-profile--flip) .r-profile__text::before { left: 0; }
.r-profile--flip .r-profile__text::before { right: 0; }

.r-profile__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.15) saturate(0.92) contrast(1.05) brightness(0.9);
    transition: filter 0.8s var(--r-ease), transform 10s var(--r-ease);
}

.r-profile__img:hover img {
    filter: sepia(0) saturate(1.02) contrast(1.02) brightness(1);
    transform: scale(1.04);
}

.r-profile__text {
    padding: 1rem 0;
    position: relative;
}

.r-profile__num {
    font-family: var(--r-display);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--r-gold);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.r-profile__name {
    font-family: var(--r-display);
    font-size: clamp(3.5rem, 6.5vw, 6rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.008em;
    color: var(--r-text);
    margin: 0 0 0.75rem;
}

.r-profile__tag {
    font-family: var(--r-body);
    font-style: italic;
    font-size: clamp(1.25rem, 1.8vw, 1.625rem);
    color: var(--r-accent);
    margin-bottom: 2.25rem;
    font-variation-settings: "opsz" 24;
}

.r-profile__tag em { font-style: italic; }

.r-profile__bio {
    font-family: var(--r-body);
    font-size: 18px;
    line-height: 1.75;
    color: var(--r-text-mid);
    margin: 0 0 2rem;
    max-width: 60ch;
    font-variation-settings: "opsz" 18;
}

.r-profile__since {
    font-family: var(--r-display);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--r-text-dim);
    padding-top: 1.5rem;
    border-top: 1px solid var(--r-hairline);
    max-width: 40ch;
}

/* =========================================================================
   CTA STRIP — used on Our Ranch, Gallery, etc.
   ========================================================================= */
.r-cta-strip {
    background: var(--r-bg-1);
    padding: clamp(4rem, 8vh, 6.5rem) 0;
    text-align: center;
    border-top: 1px solid var(--r-hairline);
    margin-top: clamp(3rem, 6vh, 5rem);
    position: relative;
}

.r-cta-strip__inner .r-eyebrow { display: inline-flex; }

.r-cta-strip__inner .r-display {
    margin-left: auto;
    margin-right: auto;
    max-width: 18ch;
}

.r-cta-strip__inner .r-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* =========================================================================
   GALLERY (full page)
   ========================================================================= */
.r-gallery-full { background: var(--r-bg); padding: clamp(3rem, 6vh, 5rem) 0; }

.r-gallery-full__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.r-gallery-full__tile {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--r-bg-2);
    border: 1px solid var(--r-hairline);
}

/* Tall portrait — 1 col, 4/5 aspect */
.r-gallery-full__tile--portrait {
    aspect-ratio: 4/5;
    grid-column: span 1;
}

/* Wide landscape — spans 2 cols, 3/2 aspect (horses visible without extreme crop) */
.r-gallery-full__tile--wide {
    aspect-ratio: 3/2;
    grid-column: span 2;
}

/* Tall dramatic — 1 col, 3/4 aspect (square-ish) */
.r-gallery-full__tile--tall {
    aspect-ratio: 3/4;
    grid-column: span 1;
}

.r-gallery-full__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.12) saturate(0.92) contrast(1.05) brightness(0.9);
    transition: filter 0.6s var(--r-ease), transform 1.2s var(--r-ease);
}

.r-gallery-full__tile:hover img {
    filter: sepia(0) saturate(1.02) contrast(1.02) brightness(1);
    transform: scale(1.05);
}

/* =========================================================================
   MAP (contact page)
   ========================================================================= */
.r-map { background: var(--r-bg-1); padding: clamp(3.5rem, 7vh, 5.5rem) 0; border-top: 1px solid var(--r-hairline); }

.r-map__header { text-align: center; margin-bottom: clamp(2rem, 4vh, 3rem); }
.r-map__header .r-eyebrow { display: inline-flex; justify-content: center; }
.r-map__header .r-display { margin-left: auto; margin-right: auto; max-width: 20ch; }
.r-map__header .r-lead { margin-left: auto; margin-right: auto; text-align: center; max-width: 52ch; }

.r-map__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--r-bg-2);
    border: 1px solid var(--r-hairline);
    outline: 1px solid var(--r-hairline);
    outline-offset: 12px;
    filter: grayscale(0.3) contrast(1.1) brightness(0.9);
}

.r-map__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================================
   LEGAL page (privacy policy)
   ========================================================================= */
.r-legal { background: var(--r-bg); padding: clamp(2.5rem, 6vh, 5rem) 0 clamp(4rem, 9vh, 7rem); }

.r-legal__container { width: min(780px, 92vw); margin: 0 auto; }

.r-legal__body {
    font-family: var(--r-body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--r-text-mid);
    font-variation-settings: "opsz" 18;
}

.r-legal__body h1,
.r-legal__body h2,
.r-legal__body h3,
.r-legal__body h4 {
    font-family: var(--r-body);
    color: var(--r-text);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 3rem 0 1rem;
    font-variation-settings: "opsz" 36;
    font-style: italic;
}

.r-legal__body h1 { font-size: 2.25rem; }
.r-legal__body h2 { font-size: 1.75rem; }
.r-legal__body h3 { font-size: 1.375rem; }

.r-legal__body p { margin: 0 0 1.25rem; }

.r-legal__body a {
    color: var(--r-accent);
    border-bottom: 1px solid var(--r-hairline-2);
}

.r-legal__body ul,
.r-legal__body ol { margin: 0 0 1.5rem 1.5rem; padding: 0; }
.r-legal__body li { margin-bottom: 0.5rem; }

.r-legal__body strong { color: var(--r-text); font-weight: 500; }

/* Responsive for sub-pages */
@media (max-width: 960px) {
    .r-story__grid { grid-template-columns: 1fr; }
    .r-story__portrait { max-width: 520px; aspect-ratio: 4/5; }
    .r-profile,
    .r-profile--flip { grid-template-columns: 1fr; gap: 2.5rem; }
    .r-profile--flip .r-profile__img { order: 0; }
    .r-profile--flip .r-profile__text { order: 0; }
    .r-profile__img { max-width: 520px; margin: 0 auto; }
    .r-gallery-full__grid { grid-template-columns: repeat(2, 1fr); }
    .r-gallery-full__tile--wide { grid-column: span 2; aspect-ratio: 16/9; }
    .r-gallery-full__tile--portrait { grid-column: span 1; aspect-ratio: 4/5; }
    .r-gallery-full__tile--tall { grid-column: span 1; aspect-ratio: 3/4; }
}

@media (max-width: 600px) {
    .r-gallery-full__grid { grid-template-columns: 1fr; gap: 10px; }
    .r-gallery-full__tile--wide,
    .r-gallery-full__tile--portrait,
    .r-gallery-full__tile--tall {
        grid-column: span 1;
        aspect-ratio: 4/5;
    }
    .r-page-hero__title { font-size: clamp(2.5rem, 13vw, 4rem); }
}

/* =========================================================================
   LIGHTBOX — full-screen dark image viewer (homepage + gallery)
   ========================================================================= */
.r-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(7, 5, 3, 0.97);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--r-ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.r-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.r-lightbox__stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7vh clamp(4rem, 10vw, 8rem);
    cursor: zoom-out;
}

.r-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--r-hairline);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
    transition: opacity 0.3s var(--r-ease);
    cursor: default;
}

.r-lightbox__close,
.r-lightbox__prev,
.r-lightbox__next {
    position: absolute;
    background: transparent;
    color: var(--r-text);
    border: 1px solid var(--r-hairline-2);
    cursor: pointer;
    font-family: var(--r-body);
    transition: background 0.25s var(--r-ease), color 0.25s var(--r-ease), border-color 0.25s var(--r-ease);
    z-index: 2;
}

.r-lightbox__close:hover,
.r-lightbox__prev:hover,
.r-lightbox__next:hover {
    background: var(--r-accent);
    color: var(--r-bg);
    border-color: var(--r-accent);
}

.r-lightbox__close {
    top: clamp(1.5rem, 3vh, 2.5rem);
    right: clamp(1.5rem, 3vw, 2.5rem);
    width: 48px;
    height: 48px;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
}

.r-lightbox__prev,
.r-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 32px;
    line-height: 1;
    border-radius: 50%;
}

.r-lightbox__prev { left: clamp(1.5rem, 3vw, 2.5rem); }
.r-lightbox__next { right: clamp(1.5rem, 3vw, 2.5rem); }

.r-lightbox__counter {
    position: absolute;
    bottom: clamp(1.5rem, 4vh, 3rem);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--r-display);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--r-gold);
    padding: 8px 20px;
    border: 1px solid var(--r-hairline-2);
    background: rgba(11, 7, 5, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
    .r-lightbox__stage { padding: 5vh 1rem; }
    .r-lightbox__close { top: 1rem; right: 1rem; width: 40px; height: 40px; font-size: 22px; }
    .r-lightbox__prev,
    .r-lightbox__next { width: 42px; height: 42px; font-size: 24px; }
    .r-lightbox__prev { left: 0.5rem; }
    .r-lightbox__next { right: 0.5rem; }
}

/* =========================================================================
   MOBILE OPTIMIZATION PASS
   ========================================================================= */
@media (max-width: 840px) {
    /* Nav: compact height, larger logo so the brand actually pops */
    .r-nav { height: 88px; }
    .r-nav.is-scrolled { height: 72px; }
    .r-nav__logo img { height: 72px; }
    .r-nav.is-scrolled .r-nav__logo img { height: 58px; }
    .r-nav__menu { top: 88px; }

    /* Stronger glow on mobile so the logo separates from any hero image behind */
    .r-nav__logo {
        filter:
            drop-shadow(0 4px 16px rgba(0, 0, 0, 0.9))
            drop-shadow(0 0 20px rgba(214, 118, 66, 0.35));
    }

    /* Pull content slightly closer to the nav on mobile */
    body:not(.home) [data-elementor-type="wp-post"] { padding-top: 100px; }

    /* Hero — tighter title sizing, allow breathing */
    .r-hero__content { padding: 0 1.5rem; }
    .r-hero__title {
        font-size: clamp(2.5rem, 11vw, 4rem);
        max-width: 16ch;
    }
    .r-hero__title-italic {
        font-size: 0.72em;
        max-width: 22ch;
    }
    .r-hero__sub {
        font-size: 15px;
        max-width: 38ch;
        margin-bottom: 2rem;
    }
    .r-hero__eyebrow { font-size: 10px; gap: 10px; }
    .r-hero__eyebrow::before { width: 36px; }
    .r-hero__ctas { gap: 1.25rem; }

    /* Sections — a touch more breathing room on mobile vs desktop-tight */
    .r-section { padding: clamp(3rem, 6vh, 4.5rem) 0; }
    .r-intro, .r-horses, .r-rides, .r-expect, .r-contact, .r-profiles, .r-story, .r-testimonials {
        padding: clamp(3rem, 6vh, 4.5rem) 0;
    }

    /* Display headings — tighter clamp */
    .r-display {
        font-size: clamp(2rem, 8vw, 3rem);
        max-width: 18ch;
    }

    /* Intro / story body + drop cap */
    .r-intro__quote, .r-intro__body, .r-story__body {
        font-size: 16px;
    }
    .r-intro__quote { font-size: clamp(1.25rem, 5.5vw, 1.75rem); line-height: 1.3; }
    .r-intro__body.r-dropcap::first-letter,
    .r-story__body.r-dropcap::first-letter {
        font-size: 3.5em;
        padding: 0.05em 0.12em 0 0;
    }

    /* Eyebrows — tighter + smaller ornaments */
    .r-eyebrow { font-size: 10px; gap: 10px; }
    .r-eyebrow::before,
    .r-eyebrow::after { width: 38px; height: 10px; }

    /* Container tighter on mobile */
    :root { --r-container: min(1280px, 88vw); }

    /* Pricing — fit nicely */
    .r-ride { padding: clamp(2.5rem, 7vw, 3rem) clamp(2rem, 6vw, 2.5rem); }
    .r-ride__title { font-size: 1.5rem; }
    .r-ride__price { font-size: clamp(2.75rem, 12vw, 3.75rem); }
    .r-ride__desc { font-size: 15px; max-width: none; }

    /* Horses cards + profiles */
    .r-horse__name { font-size: 1.5rem; }
    .r-horse__label { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; }
    .r-profile__name { font-size: clamp(2.5rem, 11vw, 3.5rem); }
    .r-profile__tag { font-size: 1.125rem; }
    .r-profile__bio { font-size: 16px; }
    .r-profile__img { outline-offset: 8px; }

    /* Expect cards — more breathing */
    .r-expect__card { padding: 2rem 1.25rem; }
    .r-expect__num { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .r-expect__label { font-size: 1.0625rem; }
    .r-expect__body { font-size: 14px; }

    /* Testimonials */
    .r-testimonial { padding: 2rem 1.5rem; }
    .r-testimonial__quote { font-size: 15px; line-height: 1.6; }

    /* Forms: iOS zoom prevention — inputs must be 16px+ to avoid auto-zoom on focus */
    .r-form { padding: 2rem 1.5rem; }
    .r-form input,
    .r-form select,
    .r-form textarea { font-size: 16px; }
    .r-form__submit { width: 100%; padding: 1rem 1.5rem; }

    /* Contact info spacing */
    .r-contact__info { margin-top: 1.75rem; gap: 1.25rem; }
    .r-contact__info-item { padding-bottom: 1.25rem; }

    /* Page heroes (sub-pages) */
    .r-page-hero { min-height: 48vh; padding-top: 88px; }
    .r-page-hero--short { min-height: 40vh; }
    .r-page-hero__content { padding: 2rem 1.5rem; }
    .r-page-hero__title { font-size: clamp(2.5rem, 11vw, 4rem); max-width: 18ch; }
    .r-page-hero__sub { font-size: 15px; max-width: 36ch; }

    /* Footer */
    .r-footer { padding: 3rem 0 1.5rem; }
    .r-footer__inner { padding-bottom: 2rem; gap: 2rem; }
    .r-footer__logo img { height: 76px; }
    .r-footer__tag { font-size: 14px; }
    .r-footer__label { margin-bottom: 0.75rem; }
    .r-footer__body, .r-footer__links { font-size: 14px; }
    .r-footer__bottom { margin-top: 1.5rem; font-size: 10px; }

    /* CTA links — larger touch targets */
    .r-cta { padding: 14px 0; font-size: 11px; }

    /* Hide brand seal on mobile (already hidden via 960 media query, but reinforce) */
    .r-seal { display: none !important; }

    /* Rides CTA row padding tweak */
    .r-rides .r-lead[style*="text-align:center"] { font-size: 15px; padding: 0 1rem; }
}

/* Very small screens — iPhone SE / small Androids */
@media (max-width: 420px) {
    .r-nav { height: 80px; }
    .r-nav.is-scrolled { height: 68px; }
    .r-nav__inner { gap: 1rem; }
    .r-nav__logo img { height: 64px; }
    .r-nav.is-scrolled .r-nav__logo img { height: 54px; }
    .r-nav__menu { top: 80px; }
    .r-hero__title { font-size: clamp(2.25rem, 11vw, 3.25rem); }
    .r-display { font-size: clamp(1.875rem, 8.5vw, 2.5rem); }
    .r-ride__price { font-size: clamp(2.5rem, 13vw, 3.25rem); }
    .r-profile__name { font-size: clamp(2.25rem, 11vw, 3rem); }
    .r-intro__portrait, .r-story__portrait, .r-profile__img { outline-offset: 6px; }
}

/* Prevent iOS auto-zoom on input focus by ensuring 16px minimum */
@media (max-width: 600px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}
