/* ═══════════════════════════════════════════════════════════════
   Friends Cafe YYC — About Page Styles
   Section order: Intro → Gallery → Story splits → Locations + Map.
   ═══════════════════════════════════════════════════════════════ */

.fc-page-about {
    padding: 0 0 72px;
}

/* ── Hero (extends fc-page-hero with description) ────────── */
.fc-about-hero {
    max-width: 880px;
    margin: 0 auto;
    padding: 56px 24px 12px;
}

/* Tighten the gap between the hero description and the first story
   image. Subsequent story-to-story gaps retain their default spacing. */
.fc-about-hero + .fc-about-story {
    padding-top: 20px;
}

.fc-about-hero .fc-page-hero__title {
    margin-bottom: 14px;
}

.fc-about-hero .fc-page-hero__subtitle {
    margin: 0 0 26px;
}

.fc-about-hero .fc-page-hero__text {
    font-family: var(--fc-font-body);
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--fc-brown);
    margin: 0 auto;
    max-width: 62ch;
}

/* ── Intro (same language as homepage welcome card — legacy, unused) */
.fc-about-intro {
    padding: 40px 0 56px;
}

.fc-about-intro__card {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px clamp(32px, 6vw, 88px);
    border: 1px solid rgba(223, 201, 181, 0.35);
    background: rgba(40, 24, 9, 0.22);
    text-align: center;
}

.fc-about-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--fc-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fc-tan);
    margin: 0 0 22px;
}

.fc-about-intro__eyebrow::before,
.fc-about-intro__eyebrow::after {
    content: '';
    display: inline-block;
    width: 34px;
    height: 1px;
    background: var(--fc-tan);
    opacity: 0.55;
}

.fc-about-intro__title {
    font-family: var(--fc-font-heading);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.012em;
    color: var(--fc-cream);
    margin: 0 0 16px;
}

.fc-about-intro__subtitle {
    font-family: 'Fraunces', var(--fc-font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--fc-tan);
    margin: 0 0 22px;
}

.fc-about-intro__lead {
    font-family: var(--fc-font-body);
    font-size: clamp(0.98rem, 1.15vw, 1.08rem);
    line-height: 1.7;
    color: rgba(255, 251, 246, 0.84);
    max-width: 70ch;
    margin: 0 auto;
}

/* ── Gallery — cinematic centered carousel with peek ────── */
.fc-about-gallery {
    padding: 80px 0;
    overflow: hidden; /* contain peek overflow at narrow widths */
}

.fc-about-gallery__carousel {
    position: relative;
    cursor: grab;
}

.fc-about-gallery__carousel:active {
    cursor: grabbing;
}

.fc-about-gallery__slide {
    padding: 0 8px;
}

.fc-about-gallery__slide a {
    display: block;
    overflow: hidden;
    border-radius: var(--fc-radius);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.40);
    transform: scale(0.92);
    opacity: 0.42;
    transition: transform 600ms ease, opacity 600ms ease, box-shadow 600ms ease;
}

.fc-about-gallery .owl-item.center .fc-about-gallery__slide a {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.fc-about-gallery__slide img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

/* ── Nav arrows — circular pill buttons positioned outside the
   active slide on desktop, overlaid at the edges on mobile. ── */
.fc-about-gallery .owl-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fc-about-gallery .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--fc-cream) !important;
    color: var(--fc-brown) !important;
    border: 1px solid var(--fc-border) !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    transition: background var(--fc-transition), color var(--fc-transition), transform var(--fc-transition);
}

.fc-about-gallery .owl-nav button:hover {
    background: var(--fc-brown) !important;
    color: var(--fc-cream) !important;
    transform: translateY(-50%) scale(1.06);
}

.fc-about-gallery .owl-nav .owl-prev { left: clamp(12px, 4vw, 64px); }
.fc-about-gallery .owl-nav .owl-next { right: clamp(12px, 4vw, 64px); }

@media (prefers-reduced-motion: reduce) {
    .fc-about-gallery__slide a {
        transition: none;
    }
}

/* ── Story splits ────────────────────────────────────────── */
.fc-about-story {
    padding: 20px 0;
}

.fc-about-story__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.fc-about-story--reverse .fc-about-story__image {
    order: 2;
}

/* Polaroid-style frame with a strip of tape at the top. */
.fc-about-story__image {
    position: relative;
    max-width: 1000px;
    margin: 8px auto;
    padding: 12px 12px 36px;
    background: #f5ead5;
    box-shadow:
        0 24px 34px rgba(0, 0, 0, 0.45),
        0 10px 16px rgba(0, 0, 0, 0.28);
    transform: rotate(-3deg);
    transform-origin: center;
}

.fc-about-story--reverse .fc-about-story__image {
    transform: rotate(3deg);
}

.fc-about-story__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.fc-about-story__image::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 20%;
    width: 60%;
    aspect-ratio: 1633 / 383;
    background: url("../images/tape.png") no-repeat center / contain;
    transform: rotate(-6deg);
    z-index: 1;
    pointer-events: none;
}

.fc-about-story--reverse .fc-about-story__image::before {
    transform: rotate(6deg);
}

/* Story body becomes a parchment paper container (same visual language
   as .fc-menu-card) with a tape strip at the top and a slight tilt. */
.fc-about-story__body {
    --tilt: 0deg;
    --fc-paper-bg: #F8EED4;
    position: relative;
    isolation: isolate;
    padding: 36px 36px 32px;
    border-radius: 6px;
    transform: rotate(var(--tilt));
    transition: transform var(--fc-transition);
    overflow: visible;
}

/* Paper substrate on ::before — aged parchment with foxing, mottle and
   grain. Mirrors the texture stack used in .fc-menu-card::before. */
.fc-about-story__body::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--fc-paper-bg);
    background-image:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.22) 0%,
            rgba(0, 0, 0, 0.08) 10%,
            rgba(0, 0, 0, 0) 28%),
        radial-gradient(ellipse 55% 40% at 18% 15%,  rgba(120, 75, 25, 0.30), transparent 65%),
        radial-gradient(ellipse 45% 35% at 82% 72%,  rgba(110, 65, 20, 0.26), transparent 65%),
        radial-gradient(ellipse 40% 30% at 64% 28%,  rgba( 95, 55, 15, 0.20), transparent 65%),
        radial-gradient(ellipse 50% 35% at 10% 88%,  rgba(100, 60, 18, 0.24), transparent 65%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='520'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='2' stitchTiles='stitch' seed='11'/><feColorMatrix values='0 0 0 0 0.40  0 0 0 0 0.22  0 0 0 0 0.05  0 0 0 0.50 0'/></filter><rect width='100%25' height='100%25' filter='url(%23m)'/></svg>"),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch' seed='7'/><feColorMatrix values='0 0 0 0 0.30  0 0 0 0 0.17  0 0 0 0 0.04  0 0 0 0.28 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 780px 520px, 380px 240px;
    border-radius: 6px;
    box-shadow:
        0 1px 2px rgba(40, 24, 9, 0.10),
        0 6px 18px rgba(40, 24, 9, 0.16),
        0 14px 28px rgba(40, 24, 9, 0.08);
}

/* Tape strip at top (same asset + placement as .fc-booking-card). */
.fc-about-story__body::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 30%;
    width: 40%;
    aspect-ratio: 1633 / 383;
    background: url("../images/tape.png") no-repeat center / contain;
    z-index: 2;
    pointer-events: none;
    transform: rotate(-5deg);
}

/* Per-story tilt: opposite directions so the two sheets look pinned by
   different hands. Tape rotation mirrors the tilt. */
.fc-about-story .fc-about-story__body               { --tilt:  1.8deg; }
.fc-about-story .fc-about-story__body::after        { transform: rotate(-6deg); }
.fc-about-story--reverse .fc-about-story__body      { --tilt: -1.8deg; }
.fc-about-story--reverse .fc-about-story__body::after { transform: rotate(6deg) scaleX(-1); }

/* Text colors adjusted for the cream parchment. */
.fc-about-story__eyebrow {
    display: inline-block;
    font-family: var(--fc-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fc-accent-dark);
    margin: 0 0 14px;
}

.fc-about-story__title {
    font-family: var(--fc-font-heading);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--fc-brown);
    margin: 0 0 20px;
}

.fc-about-story__text {
    font-family: var(--fc-font-body);
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--fc-text-light);
    margin: 0;
    max-width: 56ch;
}

.fc-about-story__body .fc-btn--outline {
    color: var(--fc-brown);
    border-color: var(--fc-brown);
}

.fc-about-story__body .fc-btn--outline:hover {
    background: var(--fc-brown);
    color: var(--fc-cream);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .fc-about-intro {
        padding: 28px 0 40px;
    }
    .fc-about-intro__card {
        padding: 40px 28px;
    }
    .fc-about-story {
        padding: 16px 0;
    }
    .fc-about-story__split {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fc-about-story--reverse .fc-about-story__image {
        order: 0;
    }
    .fc-about-gallery {
        padding: 56px 0;
    }
}

@media (max-width: 640px) {
    .fc-page-about {
        padding-bottom: 64px;
    }
    .fc-about-intro__card {
        padding: 32px 22px;
    }
    .fc-about-gallery {
        padding: 40px 0 56px;
    }
    .fc-about-gallery__slide img {
        aspect-ratio: 4 / 3;
    }
    .fc-about-story {
        padding: 32px 0;
    }
}
