/* =========================================================
   Casa B&B Italia — main stylesheet
   Font stack assumes Adobe Fonts "futura-pt" is loaded via
   a Typekit embed (see includes/header.php). Falls back to
   Jost (Google Fonts) which is metrically similar.
   ========================================================= */

:root {
    --dark:        #1c1c1c;
    --dark-panel:  #202020;
    --light:       #ffffff;
    --off-white:   #f7f6f4;
    --grey:        #aaaaaa;
    --grey-line:   #cfcfcf;
    --text-muted:  #7a7a7a;
    --text-muted-onDark: #bdbdbd;

    --font-head: futura-pt, "Jost", "Century Gothic", sans-serif;
    --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
    --font-quote: "Cormorant Garamond", Georgia, "Times New Roman", serif;

    --gap: clamp(1.5rem, 4vw, 4rem);
    --content-max: 1420px;
    --ease: all .8s cubic-bezier(.25, .8, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.8; font-weight: 300; }
h1, h2, h3, h4 {
    font-family: var(--font-head) !important;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .12em;
    margin: 0 0 .6em;
}
.bordertop1 { border-top: 1px solid #fff; }

/* -------------------- Buttons -------------------- */
.casabutton {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    padding: 15px 40px;
    border: 1px solid var(--grey);
    text-transform: uppercase;
    transition: var(--ease);
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-head);
}
.casabutton:hover {
    background-color: #fff;
    color: #202020 !important;
    text-decoration: none !important;
}
.casabuttondark {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    letter-spacing: 4px;
    padding: 15px 40px;
    border: 1px solid #202020;
    text-transform: uppercase;
    transition: var(--ease);
    color: #202020;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-head);
}
.casabuttondark:hover {
    background-color: #202020;
    color: #fff !important;
    text-decoration: none !important;
}

/* -------------------- Fade-up reveal -------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* Never hide content for print / "save as PDF" exports — those render
   the whole page in one pass without real scroll events, so a
   scroll-triggered reveal would otherwise stay stuck invisible. */
@media print {
    .fade-up { opacity: 1 !important; transform: none !important; }
}

/* If JS is disabled or fails for any reason, don't leave content
   permanently hidden. */
.no-js .fade-up { opacity: 1; transform: none; }

/* -------------------- Header / Nav -------------------- */
#Header.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    min-height: 0px;
    padding: 28px 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .4s ease, transform .4s ease;
}
#Header.site-header.is-scrolled {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}
.site-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo img { height: 34px; width: auto; }
@media (min-width: 1024px) {
    .site-logo img { min-width: 320px; width: 320px; height: auto; max-height: 70px; }
}

.main-nav .menu {
    list-style: none;
    display: flex;
    gap: 34px;
    margin: 0;
    padding: 0;
}
.main-nav .menu a span {
    font-family: var(--font-head);
    text-transform: uppercase;
    color: #fff;
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 500;
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, opacity .3s ease;
    opacity: .85;
}
.main-nav .menu a:hover span,
.main-nav .menu li.current a span {
    opacity: 1;
    border-bottom-color: #fff;
}
@media (max-width: 900px) {
    .main-nav { display: none; }
}

/* -------------------- Hamburger trigger -------------------- */
.nav-trigger {
    position: fixed;
    top: 28px; right: 40px;
    z-index: 800;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 40px; height: 30px;
    background: none; border: 0; cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .4s ease, transform .4s ease;
}
.nav-trigger::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 58px; height: 58px;
    transform: translate(-50%, -50%);
    background: rgba(20,20,20,.5);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity .3s ease;
}
.nav-trigger.is-visible::before,
.nav-trigger.is-active::before { opacity: 1; }
.nav-trigger.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-trigger span {
    display: block; height: 1px; background: #fff;
    transition: all .35s cubic-bezier(.25,.8,.25,1);
}
.nav-trigger span:nth-child(1) { width: 28px; }
.nav-trigger span:nth-child(2) { width: 20px; }
.nav-trigger span:nth-child(3) { width: 28px; }
.nav-trigger:hover span { width: 28px; }
.nav-trigger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 26px; }
.nav-trigger.is-active span:nth-child(2) { opacity: 0; }
.nav-trigger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 26px; }

/* -------------------- Fullscreen split menu -------------------- */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 750;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s linear .85s;
}
.fullscreen-menu.is-open {
    visibility: visible;
    transition: visibility 0s linear 0s;
}
.fullscreen-menu__left {
    position: relative;
    z-index: 2;
    background: #fff;
    color: #1c1c1c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(50px, 8vw, 120px);
    overflow-y: auto;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform .8s cubic-bezier(.16,1,.3,1), opacity .8s ease;
}
.fullscreen-menu__right {
    position: relative;
    z-index: 1;
    background: #141414;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(50px, 8vw, 120px);
    overflow-y: auto;
    /* Starts stacked directly under the left panel (its own -100% lands
       it exactly on top of the left half), then slides out to reveal
       itself — looks like it's emerging from underneath. */
    opacity: 0;
    transform: translateX(-100%);
    transition: transform .8s cubic-bezier(.16,1,.3,1) .2s, opacity .8s ease .2s;
}
.fullscreen-menu.is-open .fullscreen-menu__left,
.fullscreen-menu.is-open .fullscreen-menu__right {
    opacity: 1;
    transform: translateX(0);
}

/* Closing: left panel retreats left, right panel exits upward — both
   fade at the same time for a smoother feel. */
.fullscreen-menu.is-closing .fullscreen-menu__left {
    opacity: 0;
    transform: translateX(-100%);
    transition: transform .65s cubic-bezier(.4,0,.2,1), opacity .65s ease;
}
.fullscreen-menu.is-closing .fullscreen-menu__right {
    opacity: 0;
    transform: translateY(-100%);
    transition: transform .65s cubic-bezier(.4,0,.2,1), opacity .65s ease;
}
.fullscreen-menu__contact-btn { display: none; width: 100%; text-align: center; margin-top: 24px; }
.fullscreen-menu__logo { display: block; margin-bottom: clamp(40px, 6vw, 70px); }
.fullscreen-menu__logo img { height: 32px; width: auto; }
@media (min-width: 1024px) {
    .fullscreen-menu__logo img { min-width: 500px; width: 500px; height: auto; }
}

.fullscreen-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.fullscreen-menu__nav li {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity .5s ease, transform .5s ease;
}
.fullscreen-menu.is-open .fullscreen-menu__nav li { opacity: 1; transform: translateX(0); }
.fullscreen-menu__nav a {
    position: relative;
    display: inline-block;
    font-family: var(--font-head);
    text-transform: uppercase;
    font-weight: 500;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    letter-spacing: .04em;
    line-height: 1.9;
    color: #1c1c1c;
    transform: translateX(0);
    transition: transform .45s cubic-bezier(.25,.8,.25,1), opacity .45s ease;
}
.fullscreen-menu__nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 14px;
    width: 0; height: 2px;
    background: #1c1c1c;
    transition: width .5s cubic-bezier(.25,.8,.25,1);
}
.fullscreen-menu__nav a:hover::after,
.fullscreen-menu__nav a.current::after { width: 100%; }
.fullscreen-menu__nav a:hover { transform: translateX(12px); }

.fullscreen-menu__eyebrow {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: 12px;
    color: #999;
    margin: 0 0 26px;
}
.fullscreen-menu__right .contact-form {
    background: none;
    padding: 0;
}

@media (max-width: 900px) {
    .fullscreen-menu {
        grid-template-columns: 1fr;
        grid-template-rows: 68% 32%;
        overflow-y: auto;
    }
    .fullscreen-menu__left, .fullscreen-menu__right { padding: 80px 32px 60px; }
    .fullscreen-menu__left { padding-top: 26px; justify-content: flex-start; }
    .fullscreen-menu__left { align-items: center; text-align: center; }
    .fullscreen-menu__nav { align-self: flex-start; text-align: left; }
    .fullscreen-menu__right { align-items: center; text-align: center; }
    .fullscreen-menu__logo { align-self: flex-start; }
    .fullscreen-menu__logo img { height: 46px; }
    .fullscreen-menu__nav a { font-size: 18px; line-height: 2.2; }
    .fullscreen-menu__nav a::after { display: none; }
    .fullscreen-menu__nav a:hover { transform: none; }
    .nav-trigger {
        top: 22px; right: 24px;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
    .nav-trigger::before { opacity: 1 !important; }
    .nav-trigger.is-active { width: 30px; height: 22px; }
    .nav-trigger.is-active::before { width: 44px; height: 44px; }
    .nav-trigger.is-active span:nth-child(1),
    .nav-trigger.is-active span:nth-child(3) { width: 20px; }
    .fullscreen-menu__right .js-contact-form { display: none; }
    .fullscreen-menu__contact-btn { display: inline-block; }
}

/* -------------------- Home hero -------------------- */
.home-hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.55) 100%);
}
.home-hero__content {
    position: relative; z-index: 2;
    text-align: center;
    color: #fff;
}
.home-hero__word {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-weight: 500;
    font-size: clamp(2.4rem, 8vw, 5rem);
    letter-spacing: .3em;
    line-height: 1.15;
    margin: 0;
}
.home-hero__word--bnb { letter-spacing: .22em; }
@keyframes heroFadeIn {
    from { opacity: 0; transform: scale(.94) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.home-hero__logo {
    max-width: 60vw;
    width: 340px;
    margin: 0 auto 10px;
    filter: drop-shadow(0 2px 18px rgba(0,0,0,.55));
    opacity: 0;
    animation: heroFadeIn 1.3s cubic-bezier(.16,1,.3,1) .15s both;
}
.home-hero__logo--bnb { width: 220px; animation-delay: .4s; }
@media (min-width: 1024px) {
    .home-hero__logo--bnb { width: 350px; min-width: 350px; max-width: 350px; }
}
.home-hero__sub {
    opacity: 0;
    animation: heroFadeIn 1.3s cubic-bezier(.16,1,.3,1) .7s both;
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #eee;
}
.home-hero__scroll {
    position: absolute;
    bottom: 34px; left: 50%; transform: translateX(-50%);
    width: 1px; height: 46px; background: rgba(255,255,255,.6);
    z-index: 2;
}

/* -------------------- Interior page hero banner -------------------- */
.page-hero {
    position: relative;
    height: 46vh;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}
.page-hero__veil { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.page-hero__content {
    position: relative; z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-hero__extra {
    margin-top: 22px;
    text-align: center;
    color: #f0f0f0;
}
.page-hero__extra p {
    font-size: 18px;
    line-height: 1.7;
    max-width: min(700px, 90vw);
    margin: 0 auto 22px;
    opacity: .9;
}
.page-hero__logo { position: relative; z-index: 2; max-height: 70px; max-width: 600px; width: auto; filter: brightness(0) invert(1); }
.gallery-hero .page-hero__logo { max-width: 500px; }
.book-hero .page-hero__logo { max-width: 500px; }
.residence-hero .page-hero__logo { max-width: 500px; }
.story-hero .page-hero__logo { max-width: 500px; }
.team-hero .page-hero__logo { max-width: 500px; }
.property-hero .page-hero__logo { max-width: 500px; }
.team-hero .page-hero__veil { background: rgba(0,0,0,0); }

/* Team page — B&B Italia section: divider between text and image, image
   constrained and centered instead of full-bleed cover. */
.bnb-section .split__copy { border-right: 1px solid #eaeaea; }
.bnb-section .split__media {
    display: flex; align-items: center; justify-content: center;
    background: var(--light);
}
.bnb-section .split__media img {
    width: auto; max-width: 400px; height: auto; object-fit: contain;
}

@media (min-width: 1024px) {
    .book-hero { min-height: 600px; }
    .story-hero { min-height: 700px; }
    .team-hero { min-height: 600px; }
    .partners-hero { min-height: 600px; }
}
.book-hero .page-hero__veil { background: rgba(0,0,0,.2); }

.page-hero__title {
    position: relative; z-index: 2;
    color: #fff;
    font-size: 13px;
    letter-spacing: 8px;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
}
.partners-hero .page-hero__logo { max-width: 500px; }
.partners-hero .page-hero__veil { background: rgba(0,0,0,.7); }
.page-hero__title .rule { display: inline-block; width: 60px; height: 1px; background: rgba(255,255,255,.7); }

/* -------------------- Quote split (image + quote-mark text) -------------------- */
.quote-split { padding: clamp(60px, 8vw, 110px) var(--gap); }
.quote-split--dark { background: var(--dark-panel); color: #fff; }
.quote-split--light { background: var(--light); color: var(--dark); }
.quote-split__inner {
    max-width: var(--content-max); margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 480px) 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}
.quote-split--reverse .quote-split__inner { grid-template-columns: 1fr minmax(260px, 480px); }
.quote-split--reverse .quote-split__media { order: 2; }
.quote-split--reverse .quote-split__copy { order: 1; }
.quote-split__media { margin: 0; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.quote-split__media img { width: 100%; display: block; }
.quote-split__copy { position: relative; text-align: center; }
.quote-split__mark {
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: clamp(160px, 18vw, 260px);
    opacity: .12;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.quote-split--dark .quote-split__mark { filter: brightness(0) invert(1); }

/* Home page Picasso quote only — new background graphic behind the text,
   replacing the old absolutely-positioned mark image for this instance. */
.home-quote .quote-split__mark { display: none; }
.home-quote .quote-split__copy {
    background-image: url('../img/Quotes.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Book page Simon Mass quote — its own quote-mark graphic. */
.book-quote .quote-split__mark { display: none; }
.book-quote .quote-split__copy {
    background-image: url('../img/book/imgi_46_Q.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.quote-split__copy blockquote {
    position: relative; z-index: 1;
    margin: 0 0 26px;
    font-family: var(--font-head);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .1em;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
    line-height: 1.75;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.quote-split__copy cite {
    position: relative; z-index: 1;
    display: block;
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 1.35rem;
    opacity: .8;
}

/* -------------------- Book page extras -------------------- */
.book-events { background: var(--dark-panel); color: #f2f2f2; padding: clamp(50px, 8vw, 100px) var(--gap); }
.book-events__grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.event-card { display: flex; align-items: stretch; gap: 26px; margin-bottom: 56px; }
.event-card:last-child { margin-bottom: 0; }
.event-card__thumb { width: 220px; height: 190px; object-fit: cover; flex-shrink: 0; }
.event-card__divider { width: 1px; background: rgba(255,255,255,.25); flex-shrink: 0; }
.event-card h4 { font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.event-card p { font-size: 16px; line-height: 1.7; color: var(--text-muted-onDark); margin: 0; }

.press-logos { background: #141414; padding: clamp(30px, 5vw, 60px) var(--gap); text-align: center; }
.press-logos img { margin: 0 auto; max-width: var(--content-max); width: 100%; filter: brightness(0) invert(1); opacity: .85; }
.press-logos img.mobile-only { display: none; }

/* -------------------- Property page intro bands -------------------- */
.property-strap {
    background: var(--dark-panel);
    color: #fff;
    text-align: center;
    padding: clamp(28px, 5vw, 50px) var(--gap);
}
.property-strap__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    font-family: var(--font-head);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: clamp(.85rem, 1.6vw, 1.05rem);
    line-height: 1.9;
}
.property-fact {
    position: relative;
    overflow: hidden;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/property/beach.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: clamp(70px, 11vw, 150px) var(--gap);
    text-align: center;
}
.property-fact__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.property-fact__box {
    position: relative;
    z-index: 1;
    max-width: var(--content-max);
    margin: 0 auto;
    background: rgba(50,50,50,.55);
    color: #fff;
    padding: clamp(30px, 4vw, 46px) clamp(20px, 5vw, 60px);
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: clamp(.8rem, 1.4vw, 1rem);
    font-weight: 500;
    line-height: 2;
    letter-spacing: .08em;
}

/* -------------------- Split content sections -------------------- */
.split--light { background: var(--light); color: var(--dark); }
.split--dark  { background: var(--dark-panel); color: #f2f2f2; }
.split__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 60vh;
    max-width: var(--content-max);
    margin: 0 auto;
}
.split__inner.split--reverse { direction: rtl; }
.split__inner.split--reverse .split__copy,
.split__inner.split--reverse .split__media { direction: ltr; }
.split__copy {
    padding: clamp(40px, 6vw, 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.split--dark .eyebrow { color: var(--text-muted-onDark); }
.split__title { font-size: 28px; }
.divider { display: block; width: 46px; height: 1px; background: var(--grey); margin: 18px 0 22px; }
.split--dark .divider { background: #555; }
.split__copy p { font-size: 18px; color: inherit; opacity: .85; margin: 0 0 16px; }
.split__media { margin: 0; height: 100%; min-height: 320px; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.spec-list { list-style: none; margin: 0 0 26px; padding: 0; }
.spec-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
    font-size: 14px; letter-spacing: .5px;
}
.split--dark .spec-list li { border-bottom-color: rgba(255,255,255,.12); }

/* -------------------- Awards band -------------------- */
.awards-band { background: #141414; color: #eee; padding: clamp(50px, 8vw, 90px) var(--gap); }
.awards-band__inner {
    max-width: var(--content-max); margin: 0 auto;
    display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 80px);
    align-items: center;
}
.awards-band__badges { display: flex; gap: 16px; }
.awards-band__badges img { width: 96px; height: 96px; object-fit: contain; }
.awards-band__copy { border-left: 1px solid #444; padding-left: clamp(20px, 4vw, 50px); }
.awards-band__copy h3 { font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.awards-band__copy p { font-size: 13px; color: var(--text-muted-onDark); margin: 0 0 12px; }

/* -------------------- Footer -------------------- */
.site-footer { background: #141414; color: #ccc; }
.footer_action {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 24px;
    padding: 46px var(--gap);
    max-width: 1300px; margin: 0 auto;
    border-top: 1px solid rgba(170,170,170,.5);
}
.site-footer__name span {
    display: block; font-family: var(--font-head); text-transform: uppercase;
    letter-spacing: 4px; font-size: 15px; color: #fff;
}
.site-footer__name small { font-size: 11px; letter-spacing: 2px; color: #999; }
.site-footer__logos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-footer__logos img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .8; }
.site-footer__form-logo { width: 220px !important; height: auto !important; }
.footer_copy { text-align: center; padding: 0 var(--gap) 40px; }
.footer_copy p { font-size: 10px; letter-spacing: .5px; color: #666; max-width: 900px; margin: 6px auto; line-height: 1.6; }
.footer_copy .copyright, .footer_copy .one { display: none !important; }

/* -------------------- Contact page background -------------------- */
.contact-hero-wrap {
    position: relative;
    overflow: hidden; /* contain child margins so the bg isn't cut short by margin collapse */
    background-image: url('../img/contact.webp');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: clamp(90px, 12vw, 180px); /* extends the bg down to meet the awards band, no gap */
}
/* Soft top fade instead of the flat dark veil, so the nav/logo stay legible
   without darkening the whole photo. */
.contact-hero-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 320px;
    background: linear-gradient(to bottom, rgba(10,10,10,.7), rgba(10,10,10,0));
    z-index: 1;
    pointer-events: none;
}
.contact-hero-wrap .page-hero__veil { background: none; }

/* -------------------- Contact form -------------------- */
.contact-wrap { max-width: 640px; margin: -80px auto 0; position: relative; z-index: 3; padding: 0 20px; }
.contact-form {
    background: rgba(20,20,20,.85);
    padding: clamp(30px, 5vw, 56px);
}
.contact-form__fields { display: grid; gap: 20px; }
.contact-form label {
    display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #ccc; margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
    width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.4);
    color: #fff; font-family: var(--font-body); font-size: 15px; padding: 8px 2px; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: #fff; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .casabutton { width: 100%; text-align: center; margin-top: 10px; }

/* Result panel — replaces the fields on submit, inside the same dark box */
.form-result {
    text-align: center;
    padding: clamp(10px, 3vw, 26px) 0 6px;
    opacity: 0;
    transform: translateY(14px) scale(.97);
    animation: formResultIn .7s cubic-bezier(.25, .8, .25, 1) forwards;
}
@keyframes formResultIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.form-result__icon {
    width: 60px; height: 60px;
    margin: 0 auto 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid currentColor;
}
.form-result__icon svg { width: 26px; height: 26px; display: block; }
.form-result--success { color: #c9a66b; } /* warm gold — matches the property-page gradient, not green */
.form-result--error   { color: #c97a63; } /* muted terracotta, still on-palette */
.form-result__title {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 500;
    font-size: 1.05rem;
    color: #fff;
    margin: 0 0 10px;
}
.form-result__text {
    font-size: 14px;
    line-height: 1.7;
    color: #bbb;
    max-width: 360px;
    margin: 0 auto;
}
.form-result__reset {
    display: inline-block;
    margin-top: 22px;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.4);
    color: #ddd;
    font-family: var(--font-head);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 0 3px;
    cursor: pointer;
    transition: border-color .3s ease, color .3s ease;
}
.form-result__reset:hover { color: #fff; border-bottom-color: #fff; }

/* -------------------- Partners grid (prototype) -------------------- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: 12.5vw;
    width: 100%;
}
.partners-grid__item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partners-grid__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.partners-grid__item--quote { justify-content: flex-start; }
.partners-grid__quote {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 6%;
    text-align: left;
}
.partners-grid__quote blockquote {
    margin: 0 0 14px;
    font-family: var(--font-head);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: .06em;
    color: #fff;
    font-size: clamp(1.1rem, 2.4vw, 1.75rem);
    line-height: 1.6;
}
.partners-grid__quote cite {
    display: block;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted-onDark);
}
.partners-grid__placeholder {
    position: absolute;
    z-index: 2;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.partners-grid__number {
    color: rgba(255,255,255,.9);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 34px;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
}
.partners-grid__name {
    color: rgba(255,255,255,.8);
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    text-align: center;
    max-width: 140px;
}
.partners-grid__logo-img {
    position: absolute;
    z-index: 2;
    width: 110px;
    height: auto;
}
.partners-grid__logo-img--bottom-right { bottom: 5%; right: 5%; }
.partners-grid__logo-img--bottom-left  { bottom: 5%; left: 5%; }
.partners-grid__logo-img--bottom-center { bottom: 5%; left: 50%; transform: translateX(-50%); }
.partners-grid__logo-img--top-right    { top: 5%; right: 5%; }
.partners-grid__logo-img--top-left     { top: 5%; left: 5%; }
.partners-grid__logo-img--center       { top: 50%; left: 50%; transform: translate(-50%, -50%); }
@media (min-width: 1024px) {
    .partners-grid__logo-img { width: 200px; }
}
@media (max-width: 700px) {
    .partners-grid { grid-template-columns: 1fr; grid-auto-rows: 60vw; }
    .partners-grid__item { grid-column: span 1 !important; grid-row: span 1 !important; }
    .partners-grid__item--large { grid-row: span 2 !important; }
}

/* -------------------- Gallery -------------------- */
.gallery-masonry {
    column-count: 3;
    column-gap: 4px;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: var(--gap);
}
.gallery-masonry__item {
    display: block;
    break-inside: avoid;
    margin-bottom: 4px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-masonry__item img {
    width: 100%;
    display: block;
    transition: transform .6s ease;
}
.gallery-masonry__item:hover img { transform: scale(1.05); }

.lightbox {
    position: fixed; inset: 0; z-index: 900;
    background: rgba(8,8,8,.96);
    display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
    max-width: 88vw; max-height: 86vh;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__close {
    position: absolute; top: 22px; right: 26px;
    background: none; border: 0; color: #fff; font-size: 32px; line-height: 1;
    cursor: pointer; opacity: .8; transition: opacity .3s ease;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: none; border: 0; color: #fff; font-size: 22px;
    cursor: pointer; opacity: .7; transition: opacity .3s ease;
    padding: 20px 14px;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__counter {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    color: #ccc; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}

@media (max-width: 900px) {
    .gallery-masonry { column-count: 2; }
    .lightbox__nav { font-size: 18px; padding: 14px 10px; }
}
@media (max-width: 560px) {
    .gallery-masonry { column-count: 1; }
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
    .split__inner, .split__inner.split--reverse { grid-template-columns: 1fr; direction: ltr; }
    .split__media { min-height: 260px; order: -1; }
    .split__inner.split--reverse .split__media { order: -1; }
    .awards-band__inner { grid-template-columns: 1fr; }
    .awards-band__badges { display: none; }
    .awards-band__copy { border-left: 0; padding-left: 0; border-top: 1px solid #444; padding-top: 24px; }
    .footer_action { flex-direction: column; text-align: center; }
    .site-footer__name { display: flex; flex-direction: column; align-items: center; }
    .site-footer__logos { justify-content: center; }
    .quote-split__inner, .quote-split--reverse .quote-split__inner { grid-template-columns: 1fr; }
    .quote-split__media { max-width: 420px; margin: 0 auto; }
    .quote-split--reverse .quote-split__media,
    .quote-split--reverse .quote-split__copy { order: 0; }
    .book-events__grid { grid-template-columns: 1fr; }
    .press-logos img.desktop-only { display: none; }
    .press-logos img.mobile-only { display: inline-block; }
    .page-hero { height: 100vh; min-height: 100vh; }
    .page-hero__content { padding-top: 70px; }
    .event-card { flex-direction: column; gap: 16px; }
    .event-card__thumb { width: 100%; height: 220px; }
    .event-card__divider { display: none; }
}
