/* =========================================================================
   Beaufort Pages — frontend styles
   All selectors are scoped under .bf-page to avoid clashing with the host theme.
   ========================================================================= */

html { scroll-behavior: smooth; }

.bf-page {
  --bf-deep:    #0f3a40;
  --bf-teal:    #2c6e74;
  --bf-sand:    #e8dfd2;
  --bf-cream:   #f7f3ec;
  --bf-ink:     #1a1a1a;
  --bf-mute:    #6b6b6b;
  --bf-line:    rgba(15, 58, 64, .15);

  --bf-ff-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --bf-ff-body:    'Inter', system-ui, sans-serif;

  --bf-container: 1240px;
  --bf-gutter:    clamp(1.25rem, 3vw, 2.5rem);

  font-family: var(--bf-ff-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--bf-ink);
  background: var(--bf-cream);
  -webkit-font-smoothing: antialiased;
}

/* Reset only what we need inside our scope */
.bf-page,
.bf-page *,
.bf-page *::before,
.bf-page *::after {
  box-sizing: border-box;
}
.bf-page img { max-width: 100%; display: block; height: auto; }
.bf-page a { color: inherit; text-decoration: none; transition: color .25s ease; }
.bf-page a:hover { color: var(--bf-teal); }

.bf-container {
  max-width: var(--bf-container);
  margin: 0 auto;
  padding: 0 var(--bf-gutter);
}

/* ========== TYPOGRAPHY ========== */
.bf-page h1, .bf-page h2, .bf-page h3, .bf-page h4 {
  font-family: var(--bf-ff-display);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--bf-deep);
  margin: 0;
}
.bf-page h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 300; }
.bf-page h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300; }
.bf-page h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.bf-page h4 { font-size: 1.25rem; }
.bf-page p  { margin: 0 0 1.25rem; }
.bf-page p:last-child { margin-bottom: 0; }

.bf-eyebrow {
  display: inline-block;
  font-family: var(--bf-ff-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bf-teal);
  margin-bottom: 1.25rem;
}
.bf-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--bf-teal);
  vertical-align: middle;
  margin-right: 12px;
}

/* ========== BUTTONS ========== */
.bf-btn {
  display: inline-block;
  padding: .95rem 1.85rem;
  font-family: var(--bf-ff-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 0 12px 0 12px;
  transition: all .3s ease;
}
.bf-page .bf-btn-primary { background: var(--bf-deep); color: var(--bf-cream); }
.bf-page .bf-btn-primary:hover { background: var(--bf-teal); color: #fff; }
.bf-page .bf-btn-ghost   { color: var(--bf-cream); border-color: rgba(247, 243, 236, .5); }
.bf-page .bf-btn-ghost:hover { background: var(--bf-cream); color: var(--bf-deep); }
.bf-page .bf-btn-outline { color: var(--bf-deep); border-color: var(--bf-deep); }
.bf-page .bf-btn-outline:hover { background: var(--bf-deep); color: var(--bf-cream); }
.bf-page .bf-btn-sand    { background: var(--bf-sand); color: var(--bf-deep); }
.bf-page .bf-btn-sand:hover { background: #d8cdba; }

/* ========== NAV ========== */
.bf-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 243, 236, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bf-line);
}
.bf-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}
.bf-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--bf-deep);
  text-decoration: none;
}
.bf-brand-compass {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: transform .6s ease;
}
.bf-brand:hover .bf-brand-compass { transform: rotate(30deg); }
.bf-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.bf-brand-name {
  font-family: var(--bf-ff-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--bf-deep);
}
.bf-brand-sub {
  font-family: var(--bf-ff-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bf-teal);
}
.bf-nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.bf-nav-links a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.bf-nav-links .bf-btn { padding: .6rem 1.2rem; font-size: .7rem; }
.bf-page .bf-btn-teal { color: var(--bf-teal); border-color: var(--bf-teal); }
.bf-page .bf-btn-teal:hover { background: var(--bf-teal); color: #fff; }

/* ── Hamburger toggle (hidden on desktop) ── */
.bf-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.bf-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--bf-deep);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ── Off-canvas overlay ── */
.bf-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,58,64,.45);
  z-index: 1100;
  opacity: 0;
  transition: opacity .3s ease;
}
.bf-nav-overlay.is-open {
  display: block;
  opacity: 1;
}

/* ── Off-canvas drawer ── */
.bf-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bf-cream);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 2.5rem;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
}
.bf-drawer.is-open {
  transform: translateX(0);
}
.bf-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.bf-drawer-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--bf-deep);
  cursor: pointer;
  line-height: 1;
  padding: .25rem;
}
.bf-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.bf-drawer-links a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bf-deep);
  text-decoration: none;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--bf-line);
}
.bf-drawer-links a:first-child { border-top: 1px solid var(--bf-line); }
.bf-drawer-cta {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.bf-drawer-cta .bf-btn {
  width: 100%;
  justify-content: center;
}

/* ── Mobile breakpoint ── */
@media (max-width: 768px) {
  .bf-nav-links  { display: none; }
  .bf-nav-toggle { display: flex; }
  .bf-nav-inner  { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (max-width: 1024px) {
  .bf-hero--page::after {
    background: linear-gradient(
      to top,
      rgba(12,20,18,.97) 0%,
      rgba(12,20,18,.75) 40%,
      rgba(12,20,18,.45) 70%,
      rgba(12,20,18,.20) 100%
    );
  }

  /* Hero: alleen h1 + knoppen tonen */
  .bf-page .bf-hero--page .bf-eyebrow { display: none !important; }
  .bf-page .bf-hero--page .bf-hero-lead { display: none !important; }

  /* Content iets lager */
  .bf-page .bf-hero--page .bf-hero-overlay-content { padding-bottom: 3rem; }

  /* Gap tussen de 2 hero-knoppen */
  .bf-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
  }

  /* Scroll-hint rechts uitlijnen */
  .bf-page .bf-hero .bf-scroll-hint {
    left: auto !important;
    right: 1.5rem !important;
    transform: none !important;
  }
}

/* ========== SECTIONS ========== */
.bf-section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.bf-section-dark { background: var(--bf-deep); color: var(--bf-cream); }
.bf-section-dark h1, .bf-section-dark h2, .bf-section-dark h3 { color: var(--bf-cream); }
.bf-section-dark .bf-eyebrow { color: var(--bf-sand); }
.bf-section-dark .bf-eyebrow::before { background: var(--bf-sand); }
.bf-section-sand { background: var(--bf-sand); }
#bf-won-contact { background: linear-gradient(to right, #e4dbd0 50%, var(--bf-cream) 50%); }

.bf-section-head { max-width: 720px; margin-bottom: 3.5rem; }
.bf-section-head--right {
  margin-left: auto;
  text-align: right;
}
.bf-section-head--right .bf-eyebrow::before { display: none; }
.bf-section-head--right .bf-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--bf-teal);
  vertical-align: middle;
  margin-left: 12px;
}
.bf-section-dark .bf-section-head--right .bf-eyebrow::after { background: var(--bf-sand); }
.bf-section-head p {
  margin-top: 1.25rem;
  color: var(--bf-mute);
  font-size: 1.05rem;
}
.bf-section-dark .bf-section-head p { color: rgba(247, 243, 236, .75); }

/* ========== HERO: SHARED ========== */
.bf-hero { position: relative; overflow: hidden; }

.bf-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}
.bf-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,58,64,.2) 0%, rgba(15,58,64,.65) 100%);
}

/* ——— Full hero (home page: full-width image, Ken Burns) ——— */
.bf-hero--full {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bf-deep);
}
.bf-hero--full .bf-hero-image { animation: bf-kenburns-img 12s ease forwards; }
.bf-hero--full .bf-hero-image::after { display: none; }
.bf-hero--full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,20,18,.90) 0%,
    rgba(12,20,18,.55) 25%,
    rgba(12,20,18,.10) 52%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 1;
}
.bf-hero-overlay-content {
  position: relative;
  z-index: 2;
  padding-bottom: 5.5rem;
}
.bf-hero-overlay-content .bf-eyebrow { color: rgba(247,243,236,.6); }
.bf-hero-overlay-content .bf-eyebrow::before { background: rgba(247,243,236,.3); }
.bf-hero-overlay-content h1 { color: var(--bf-cream); margin-bottom: .75rem; }
.bf-hero-overlay-content h1 em { color: rgba(247,243,236,.85); font-style: italic; font-weight: 300; }
.bf-hero-overlay-content .bf-hero-lead {
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  max-width: 560px;
  font-weight: 300;
  color: rgba(247,243,236,.68);
  margin-top: .75rem;
}
.bf-hero-overlay-content .bf-btn-outline {
  border-color: rgba(247,243,236,.45);
  color: var(--bf-cream);
}
.bf-page .bf-hero-overlay-content .bf-btn-outline { color: var(--bf-cream); }
.bf-hero-overlay-content .bf-btn-outline:hover {
  background: rgba(247,243,236,.1);
  border-color: rgba(247,243,236,.8);
}

@keyframes bf-kenburns-img {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

/* ——— Page hero (inner pages: image with overlay title) ——— */
.bf-hero--page {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bf-deep);
}
.bf-hero--page .bf-hero-image {
  top: -15%;
  bottom: -15%;
  height: 130%;
}
.bf-hero--page .bf-hero-image::after { display: none; }
.bf-hero--page::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,20,18,.85) 0%,
    rgba(12,20,18,.35) 45%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 1;
}

/* Page header: cream title band below inner-page hero */
.bf-page-header {
  background: var(--bf-cream);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--bf-line);
}
.bf-page-header h1 { color: var(--bf-deep); margin-bottom: .75rem; }
.bf-page-header h1 em { font-style: italic; color: var(--bf-teal); font-weight: 300; }
.bf-page-header .bf-eyebrow { color: var(--bf-teal); }
.bf-page-header .bf-eyebrow::before { background: var(--bf-teal); }
.bf-page-header .bf-hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 640px;
  font-weight: 300;
  color: var(--bf-mute);
  margin-top: .75rem;
  margin-bottom: 0;
}

/* ========== TWO-COLUMN ========== */
.bf-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.bf-two-col-reverse { direction: rtl; }
.bf-two-col-reverse > * { direction: ltr; }
.bf-image-block {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bf-teal), var(--bf-deep));
  overflow: hidden;
  box-shadow: 1.5rem 1.5rem 0 var(--bf-sand);
}
.bf-img-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform .9s cubic-bezier(.25,.46,.45,.94);
  clip-path: polygon(0 0, 100% 0, 100% 65%, 65% 100%, 0 100%);
}
.bf-image-block:hover .bf-img-inner { transform: scale(1.05); }
.bf-image-block::before {
  content: '';
  position: absolute;
  bottom: 6%;
  right: 6%;
  width: 58px;
  height: 58px;
  background-image: url('../images/logo-icon-light.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .7;
  animation: bf-slow-spin 28s linear infinite;
  pointer-events: none;
}
@keyframes bf-slow-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.bf-image-block::after {
  content: '';
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(232, 223, 210, .3);
  pointer-events: none;
  z-index: 1;
}
.bf-image-block--clip {
  box-shadow: none;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}
@media (max-width: 820px) {
  .bf-two-col { grid-template-columns: 1fr; }
  .bf-image-block { aspect-ratio: 3/2; }
}

/* ========== FEATURE GRID (situatie) ========== */
.bf-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.bf-feature {
  border-top: 2px solid var(--bf-sand);
  padding-top: 1.5rem;
}
.bf-feature-num {
  display: block;
  font-family: var(--bf-ff-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--bf-sand);
  margin-bottom: .5rem;
  line-height: 1;
}
.bf-feature h4 {
  font-family: var(--bf-ff-display);
  font-style: italic;
  margin-bottom: .65rem;
  color: var(--bf-cream);
}
.bf-feature p { font-size: .95rem; color: rgba(247, 243, 236, .75); }
@media (max-width: 900px) { .bf-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; } }
@media (max-width: 520px) { .bf-feature-grid { grid-template-columns: 1fr; } }

/* ========== INFO CARDS (kant-en-klaar bullets, etc.) ========== */
.bf-info-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}
.bf-info-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--bf-line);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.bf-info-list li::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--bf-teal);
  margin-top: .85em;
  flex-shrink: 0;
}

/* ========== UNITS GRID (woningen) ========== */
.bf-units {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--bf-line);
  margin-top: 3rem;
  border: 1px solid var(--bf-line);
}
.bf-unit {
  background: var(--bf-cream);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: background .3s ease;
}
.bf-unit:hover { background: #fff; }
.bf-unit-tag {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--bf-teal);
  margin-bottom: 1rem;
}
.bf-unit h3 { margin-bottom: .5rem; }
.bf-unit-meta { font-size: .9rem; color: var(--bf-mute); margin-bottom: 2rem; }
.bf-unit-arrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bf-deep);
}
.bf-unit-arrow::after { content: '→'; transition: transform .3s ease; }
.bf-unit:hover .bf-unit-arrow::after { transform: translateX(6px); }
@media (max-width: 700px) { .bf-units { grid-template-columns: 1fr; } }

/* ========== DISTANCES TABLE ========== */
.bf-distances {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(232, 223, 210, .25);
  border-bottom: 1px solid rgba(232, 223, 210, .25);
}
.bf-distance {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(232, 223, 210, .25);
  text-align: center;
}
.bf-distance:last-child { border-right: 0; }
.bf-distance-city {
  font-family: var(--bf-ff-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--bf-sand);
  margin-bottom: .5rem;
}
.bf-distance-meta {
  font-size: .85rem;
  letter-spacing: .1em;
  color: rgba(247, 243, 236, .7);
}
@media (max-width: 768px) {
  .bf-distances { grid-template-columns: repeat(2, 1fr); }
  .bf-distance:nth-child(2) { border-right: 0; }
  .bf-distance:nth-child(1), .bf-distance:nth-child(2) { border-bottom: 1px solid rgba(232, 223, 210, .25); }
}

/* ========== CONTACT FORM ========== */
.bf-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.bf-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.bf-form label {
  display: block;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, .7);
  margin-bottom: .5rem;
}
.bf-form input, .bf-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 243, 236, .3);
  padding: .85rem 0;
  color: var(--bf-cream);
  font-family: var(--bf-ff-body);
  font-size: 1rem;
  transition: border-color .25s ease;
}
.bf-form input:focus, .bf-form textarea:focus {
  outline: 0;
  border-bottom-color: var(--bf-sand);
}
.bf-form textarea { resize: vertical; min-height: 100px; }
.bf-form--light label { color: rgba(15,58,64,.6); }
.bf-form--light input,
.bf-form--light textarea {
  border-bottom-color: rgba(15,58,64,.25);
  color: var(--bf-deep);
}
.bf-form--light input:focus,
.bf-form--light textarea:focus { border-bottom-color: var(--bf-teal); }

.bf-contact-info {
  border-left: 1px solid rgba(247, 243, 236, .2);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}
.bf-contact-block + .bf-contact-block {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(247, 243, 236, .15);
}
.bf-contact-block h4 {
  font-family: var(--bf-ff-body);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bf-sand);
  margin-bottom: 1rem;
}
.bf-contact-block p { color: rgba(247, 243, 236, .8); font-size: .95rem; line-height: 1.7; }
.bf-contact-block strong {
  color: var(--bf-cream);
  font-weight: 500;
  font-family: var(--bf-ff-display);
  font-size: 1.2rem;
  display: block;
  margin-bottom: .35rem;
}
@media (max-width: 768px) {
  .bf-contact-grid { grid-template-columns: 1fr; }
  .bf-contact-info {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(247, 243, 236, .2);
    padding-top: 2rem;
  }
}

/* ========== SCROLL HINT ========== */
.bf-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  z-index: 3;
  pointer-events: none;
}
.bf-scroll-hint-compass {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1) opacity(.5);
}
.bf-scroll-line {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,.18);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.bf-scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 55%;
  background: rgba(255,255,255,.75);
  animation: bf-line-drop 1.9s ease-in-out infinite;
}
@keyframes bf-line-drop {
  0%   { transform: translateY(-120%); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(220%); opacity: 0; }
}

/* ========== SLIDESHOW ========== */
.bf-slideshow-wrap {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--bf-deep);
}
.bf-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity, transform;
  transform: scale(1.06);
}
.bf-slide.is-active {
  opacity: 1;
  animation: bf-slide-zoom 7s ease forwards;
}
@keyframes bf-slide-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.bf-slideshow-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .75rem;
  z-index: 10;
}
.bf-slideshow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .35s, transform .35s;
}
.bf-slideshow-dot.is-active {
  background: #fff;
  transform: scale(1.5);
}
.bf-slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .25s, border-color .25s;
  font-size: 1.2rem;
}
.bf-slideshow-arrow:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.7);
}
.bf-slideshow-arrow--prev { left: 2rem; }
.bf-slideshow-arrow--next { right: 2rem; }
.bf-slideshow-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--bf-teal);
  z-index: 10;
}
.bf-slideshow-progress.is-running {
  animation: bf-progress 5s linear forwards;
}
@keyframes bf-progress {
  from { width: 0; }
  to   { width: 100%; }
}

@media (max-width: 700px) {
  .bf-slideshow-wrap { height: 55vh; min-height: 320px; }
  .bf-slideshow-arrow { display: none; }
}

/* ========== COMPASS GRID ========== */
.bf-compass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bf-deep);
  gap: 0;
  position: relative;
}
.bf-cg-card { cursor: default;
  border: none;
  padding: 2.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  transition: background .4s ease;
  position: relative;
}
.bf-cg-card:hover    { background: rgba(255,255,255,.04); }
.bf-cg-card.is-active { background: rgba(255,255,255,.06); }
.bf-cg-card--tl { grid-area: 1 / 1; }
.bf-cg-card--tr { grid-area: 1 / 2; }
.bf-cg-card--bl { grid-area: 2 / 1; }
.bf-cg-card--br { grid-area: 2 / 2; }
.bf-cg-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bf-cg-compass {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  transition: transform .85s cubic-bezier(.34,1.2,.64,1);
}

/* circular photo with faded edges */
.bf-cg-circle {
  width: 170px;
  height: 170px;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
  -webkit-mask-image: radial-gradient(circle at center, black 36%, transparent 68%);
  mask-image: radial-gradient(circle at center, black 36%, transparent 68%);
}
.bf-cg-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: brightness(.62);
  transition: filter .9s ease, transform .9s ease;
  will-change: filter, transform;
}
.bf-cg-card.is-active .bf-cg-bg {
  filter: brightness(.92);
  transform: scale(1);
}
.bf-cg-card:not(.is-active):hover .bf-cg-bg {
  filter: brightness(.72);
  transform: scale(1.04);
}
.bf-cg-num {
  font-family: var(--bf-ff-display);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,.18);
  transition: color .5s ease;
  margin-bottom: .15rem;
}
.bf-cg-card.is-active .bf-cg-num { color: rgba(255,255,255,.55); }
.bf-cg-title {
  font-family: var(--bf-ff-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: #fff !important;
  margin: 0 0 .6rem;
  line-height: 1.2;
}
.bf-cg-text {
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(255,255,255,.35);
  max-width: 270px;
  margin: 0;
  transition: color .5s ease;
}
.bf-cg-card.is-active .bf-cg-text { color: rgba(255,255,255,.78); }

@media (max-width: 860px) {
  .bf-cg-circle   { width: 120px; height: 120px; }
  .bf-cg-text     { color: rgba(255,255,255,.6); }
}

/* ========== FOOTER ========== */
.bf-footer {
  background: #061f22;
  color: rgba(247, 243, 236, .6);
  padding: 3rem 0 2rem;
  font-size: .85rem;
}
.bf-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.bf-footer-brand {
  font-family: var(--bf-ff-display);
  font-size: 1.4rem;
  color: var(--bf-cream);
}

/* ========== UTIL: REVEAL ========== */
.bf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.25,.46,.45,.94);
  transition-delay: var(--bf-reveal-delay, 0ms);
}
.bf-reveal.bf-in { opacity: 1; transform: none; }

/* ========== IMAGE GRID (locatie voorzieningen) ========== */
.bf-page .bf-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 2rem;
}
.bf-page .bf-img-card {
  position: relative;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: default;
}
.bf-page .bf-img-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,58,64,.85) 100%);
}
.bf-page .bf-img-card figcaption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  color: var(--bf-cream);
  font-size: .85rem;
  z-index: 1;
}
.bf-page .bf-img-card figcaption strong {
  display: block;
  font-family: var(--bf-ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: .25rem;
  color: var(--bf-cream);
}
@media (max-width: 900px) { .bf-page .bf-img-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== POI CARDS (locatie voorzieningen) ========== */
.bf-poi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.bf-poi-card {
  background: #fff;
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s ease;
}
.bf-poi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(15,58,64,.22);
}
.bf-poi-photo {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  transition: transform .9s cubic-bezier(.25,.46,.45,.94);
}
.bf-poi-card:hover .bf-poi-photo { transform: scale(1.04); }
.bf-poi-body {
  padding: 1.75rem 2rem 2rem;
}
.bf-poi-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.bf-poi-title {
  font-family: var(--bf-ff-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--bf-deep);
  margin: 0;
  line-height: 1.1;
}
.bf-poi-dist {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bf-teal);
  white-space: nowrap;
}
.bf-poi-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--bf-mute);
  margin-bottom: 1.25rem;
}
.bf-poi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border-top: 1px solid var(--bf-line);
  padding-top: 1.1rem;
}
.bf-poi-list li {
  font-size: .8rem;
  font-weight: 400;
  color: var(--bf-ink);
  padding-left: 1.1rem;
  position: relative;
  letter-spacing: .01em;
}
.bf-poi-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--bf-teal);
  font-size: .75rem;
}
@media (max-width: 800px) {
  .bf-poi-grid { grid-template-columns: 1fr; }
}

/* ========== UNIT CARDS (woningen overzicht) ========== */
.bf-page .bf-unit-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 3rem;
}
.bf-page .bf-unit-card {
  display: block;
  background: var(--bf-cream);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 1px 0 var(--bf-line);
}
.bf-page .bf-unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -24px rgba(15,58,64,.35);
}
.bf-page .bf-unit-card-image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  transition: transform .9s cubic-bezier(.25,.46,.45,.94);
}
.bf-page .bf-unit-card:hover .bf-unit-card-image { transform: scale(1.05); }
.bf-page .bf-unit-card-body {
  padding: 1.75rem 2rem 2rem;
}
.bf-page .bf-unit-card .bf-unit-tag {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--bf-teal);
  margin-bottom: .75rem;
  display: block;
}
.bf-page .bf-unit-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.85rem;
}
.bf-page .bf-unit-card .bf-unit-meta {
  font-size: .9rem;
  color: var(--bf-mute);
  margin-bottom: 1.25rem;
}
.bf-page .bf-unit-card .bf-unit-arrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bf-deep);
}
.bf-page .bf-unit-card .bf-unit-arrow::after {
  content: '→';
  transition: transform .3s ease;
}
.bf-page .bf-unit-card:hover .bf-unit-arrow::after { transform: translateX(6px); }
@media (max-width: 800px) { .bf-page .bf-unit-cards { grid-template-columns: 1fr; } }

/* ========== UNIT DETAIL: SPEC TABLE ========== */
.bf-page .bf-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.bf-page .bf-spec-table tr {
  border-bottom: 1px solid var(--bf-line);
}
.bf-page .bf-spec-table tr:first-child { border-top: 1px solid var(--bf-line); }
.bf-page .bf-spec-table th,
.bf-page .bf-spec-table td {
  padding: 1.1rem 0;
  text-align: left;
  vertical-align: top;
}
.bf-page .bf-spec-table th {
  font-family: var(--bf-ff-body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bf-teal);
  width: 40%;
  padding-right: 1rem;
}
.bf-page .bf-spec-table td {
  font-family: var(--bf-ff-display);
  font-size: 1.15rem;
  color: var(--bf-deep);
  font-weight: 400;
}

/* ========== UNIT DETAIL: PLAN GRID ========== */
.bf-page .bf-plan-grid {
  display: grid;
  gap: 28px;
  margin-top: 3rem;
}
.bf-page .bf-plan-grid-1 { grid-template-columns: 1fr; max-width: 1000px; margin-left: auto; margin-right: auto; }
.bf-page .bf-plan-grid-2 { grid-template-columns: 1fr 1fr; }
.bf-page .bf-plan {
  margin: 0;
  background: #fff;
  padding: 1.5rem;
  border: 1px solid var(--bf-line);
}
.bf-page .bf-plan-image {
  background: #fff;
  display: grid;
  place-items: center;
  min-height: 200px;
}
.bf-page .bf-plan-image img {
  max-width: 100%;
  height: auto;
}
.bf-page .bf-plan figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--bf-ff-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bf-deep);
}
.bf-page .bf-plan-disclaimer {
  margin-top: 2rem;
  font-size: .8rem;
  text-align: center;
  color: var(--bf-mute);
}
@media (max-width: 800px) { .bf-page .bf-plan-grid-2 { grid-template-columns: 1fr; } }

/* Per-verdieping: impressie + maatvoering naast elkaar */
.bf-page .bf-plan-floor { margin-top: 3rem; }
.bf-page .bf-plan-floor-title {
  font-family: var(--bf-ff-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--bf-deep);
  text-align: center;
  margin: 0 0 1.5rem;
}
.bf-page .bf-plan-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 800px) { .bf-page .bf-plan-pair { grid-template-columns: 1fr; } }
/* Eén gecombineerde plattegrond (render + maatvoering in één beeld) */
.bf-page .bf-plan-pair--single { grid-template-columns: 1fr; max-width: 820px; margin-left: auto; margin-right: auto; }

/* ========== BROCHURE MODAL ========== */
.bf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.bf-modal[hidden] { display: none; }
.bf-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,20,18,.72);
  cursor: pointer;
}
.bf-modal-box {
  position: relative;
  background: var(--bf-cream, #f7f3ec);
  padding: 3rem 3.5rem;
  max-width: 520px;
  width: 100%;
  z-index: 1;
}
.bf-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bf-mute, #6b6b6b);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0;
  transition: color .2s;
}
.bf-modal-close:hover { color: var(--bf-deep, #0f3a40); }
.bf-modal-title {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--bf-deep, #0f3a40);
  line-height: 1.15;
  margin: 0 0 .5rem;
}
.bf-modal-sub {
  font-size: .9rem;
  color: var(--bf-mute, #6b6b6b);
  margin-bottom: 2rem;
}
.bf-form-field {
  margin-bottom: 1.25rem;
}
.bf-form-field label {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bf-teal, #2c6e74);
  margin-bottom: .45rem;
}
.bf-form-field input,
.bf-form-field select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--bf-line, rgba(15,58,64,.15));
  background: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .95rem;
  color: var(--bf-ink, #1a1a1a);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.bf-form-field input:focus,
.bf-form-field select:focus { border-color: var(--bf-teal, #2c6e74); }
.bf-form-field.bf-select-wrap { position: relative; }
.bf-form-field.bf-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 1rem;
  bottom: .9rem;
  pointer-events: none;
  color: var(--bf-teal, #2c6e74);
  font-size: .85rem;
}
.bf-form-submit { width: 100%; margin-top: .5rem; justify-content: center; }
.bf-form-msg {
  margin-top: 1rem;
  font-size: .88rem;
  text-align: center;
  min-height: 1.4em;
}
.bf-form-msg.is-success { color: var(--bf-teal, #2c6e74); }
.bf-form-msg.is-error   { color: #b22222; }
.bf-inline-msg { font-size: .9rem; margin-top: .75rem; min-height: 1.2em; }
.bf-inline-msg.is-success { color: #2c6e74; }
.bf-inline-msg.is-error   { color: #c0392b; }
@media (max-width: 600px) {
  .bf-modal-box { padding: 2.25rem 1.75rem; }
}

/* ========== TECH GRID (woningen technische omschrijving) ========== */
.bf-page .bf-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  margin-top: 3rem;
}
.bf-page .bf-tech-item h4 {
  font-family: var(--bf-ff-display);
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: .65rem;
  color: var(--bf-cream);
}
.bf-page .bf-tech-item p {
  font-size: .92rem;
  color: rgba(247,243,236,.75);
  line-height: 1.65;
}
@media (max-width: 900px) { .bf-page .bf-tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bf-page .bf-tech-grid { grid-template-columns: 1fr; } }

/* ========== PRICE BADGE (hero) ========== */
.bf-price-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
  padding: .85rem 1.5rem;
  border: 1px solid rgba(247,243,236,.18);
  background: rgba(12,20,18,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bf-price-badge-label {
  font-family: var(--bf-ff-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247,243,236,.55);
}
.bf-price-badge-amount {
  font-family: var(--bf-ff-display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--bf-cream);
  letter-spacing: .02em;
  line-height: 1;
}
.bf-price-badge-note {
  font-family: var(--bf-ff-body);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247,243,236,.38);
  align-self: flex-end;
  padding-bottom: .15rem;
}
