/*
 * True North Collective additions on top of the shared Birdnest design system
 * (/vacationrentals/assets/css/style.css). Only components Birdnest doesn't have
 * live here; colors, type, buttons, header, hero and footer all come from there.
 */

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }

/* Announcement bar above the header */
.announcement-bar {
    background: var(--teal-900);
    color: #bfe3c2;
    text-align: center;
    font-size: .88rem;
    font-weight: 600;
    padding: 9px 16px;
}
.announcement-bar a:hover { color: #fff; }

/* About: image + text */
.tn-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.tn-split-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.tn-split-text p { color: var(--muted); margin: 0 0 16px; font-size: 1.05rem; }
.tn-split-text .btn { margin-top: 10px; }

/* What we offer: cards in the same style as review/property cards */
.tn-offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 28px;
}
.tn-offer-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    transition: transform .18s ease, box-shadow .18s ease;
}
a.tn-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(18,60,74,.16);
}
.tn-offer-card .perk-icon { width: 42px; height: 42px; margin-bottom: 16px; }
.tn-offer-card h3 { font-size: 1.2rem; color: var(--teal-900); margin-bottom: 8px; }
.tn-offer-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.tn-offer-card .property-view { margin-top: auto; padding-top: 16px; }
.tn-offer-note {
    margin-top: auto;
    padding-top: 16px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--teal-700);
}

/* Image cards built on Birdnest's .property-card, but not links */
.tn-static-card:hover { transform: none; box-shadow: var(--shadow); }
.tn-static-card:hover .property-image img { transform: none; }
.tn-card-text { color: var(--muted); font-size: .93rem; margin: 6px 0 14px; }
.tn-static-card .property-highlights { margin: auto 0 0; }
.tn-story-note {
    text-align: center;
    margin: 36px 0 0;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--teal-700);
}

/* By day / by night tiles */
.tn-daynight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.tn-daynight-tile {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow);
    background:
        linear-gradient(180deg, rgba(18,60,74,0) 25%, rgba(18,60,74,.88) 100%),
        var(--tile-image) center/cover no-repeat;
}
.tn-daynight-label {
    align-self: flex-start;
    background: var(--green-600);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.tn-daynight-tile h3 { font-size: 1.7rem; margin-bottom: 8px; }
.tn-daynight-tile p { margin: 0; max-width: 420px; color: rgba(255,255,255,.9); }

/* Experience model list */
.tn-experience-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
}
.tn-experience-list li { display: flex; gap: 14px; align-items: flex-start; }
.tn-experience-list .perk-icon { width: 40px; height: 40px; }
.tn-experience-list b { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: var(--teal-900); font-size: 1.05rem; }
.tn-experience-list span:not(.perk-icon) { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: 2px; }

/* Closing call-to-action band, styled like the hero */
.tn-cta-band {
    text-align: center;
    color: #fff;
    padding: 100px 0;
    background:
        linear-gradient(180deg, rgba(18,60,74,.78), rgba(18,60,74,.86)),
        var(--hero-image) center/cover no-repeat;
}
.tn-cta-band .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    font-weight: 600;
    color: #bfe3c2;
    margin-bottom: 14px;
}
.tn-cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.tn-cta-band p { max-width: 540px; margin: 0 auto; font-size: 1.1rem; opacity: .95; }

/* Who we host: activity mosaic */
.tn-activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.tn-activity-grid figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    padding: 14px 16px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background:
        linear-gradient(180deg, rgba(18,60,74,0) 45%, rgba(18,60,74,.8) 100%),
        var(--tile-image) center/cover no-repeat;
}
.tn-activity-grid figcaption {
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.15rem;
}
.tn-label {
    display: inline-block;
    background: var(--teal-100);
    color: var(--teal-700);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.tn-split-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--teal-900); margin-bottom: 12px; }
.tn-split-text .description-list { margin-bottom: 8px; }

/* Groups & events */
.tn-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 24px;
}
.tn-section-cta { margin-top: 40px; }

/* Why True North: location + amenities + brand = experience */
.tn-formula {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr;
    align-items: stretch;
    gap: 14px;
}
.tn-formula-item {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 22px;
    text-align: center;
}
.tn-formula-item .perk-icon { width: 46px; height: 46px; margin: 0 auto 14px; }
.tn-formula-item h3 { font-size: 1.15rem; color: var(--teal-900); margin-bottom: 6px; }
.tn-formula-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.tn-formula-op {
    align-self: center;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    color: var(--green-700);
}
.tn-formula-result {
    background: var(--teal-900);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tn-formula-result h3 { color: #fff; font-size: 1.3rem; }
.tn-formula-result p { color: #bfe3c2; }

/* Follow along gallery */
.tn-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto 40px;
}
.tn-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.tn-gallery img:nth-child(2) { margin-top: 48px; }
.tn-center { text-align: center; }

/* The horizontal logo is wider than Birdnest's, so give it a touch more room */
.brand-logo { height: 56px; }
.footer-logo { height: 56px; }

@media (max-width: 860px) {
    .tn-split { grid-template-columns: 1fr; gap: 32px; }
    .tn-daynight { grid-template-columns: 1fr; }
    .tn-daynight-tile { min-height: 340px; }
    .tn-formula { grid-template-columns: 1fr; gap: 6px; }
    .tn-formula-op { justify-self: center; line-height: 1.2; }
}

@media (max-width: 520px) {
    .tn-experience-list { grid-template-columns: 1fr; }
    .tn-daynight-tile { padding: 24px; }
    .tn-cta-band { padding: 72px 0; }
}

@media (max-width: 640px) {
    nav.nav-open { max-height: 360px; } /* one more link than Birdnest's menu */
    .brand-logo { height: 40px; }
    .tn-gallery { gap: 12px; }
    .tn-gallery img:nth-child(2) { margin-top: 28px; }
}
