/* Real Estate micro-site — light "sibling" of the film site.
   Brand DNA kept: Bebas Neue + Outfit + the orange accent.
   Values inverted to a bright, photo-forward palette. */
:root {
  --re-bg: #f7f5f2;
  --re-surface: #ffffff;
  --re-ink: #1a1a1a;
  --re-ink-soft: #5a5a5a;
  --re-line: #e3ddd5;
  --re-accent: #e85d00;        /* deepened #FF6600 for AA on light */
  --re-accent-bright: #ff6600;
  --re-accent-soft: rgba(232, 93, 0, 0.08);
  --re-font-display: 'Bebas Neue', sans-serif;
  --re-font-body: 'Outfit', sans-serif;
  --re-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --re-nav-h: 74px;
  --re-max: min(1240px, 92vw);
  --re-pad: clamp(56px, 6vw, 108px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--re-font-body);
  background: var(--re-bg);
  color: var(--re-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Nav */
.re-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--re-nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(247, 245, 242, 0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.re-nav.scrolled { border-bottom-color: var(--re-line); }
.re-logo {
  display: inline-flex; flex-direction: column;
  font-family: var(--re-font-display);
  line-height: 0.9; text-decoration: none;
  color: var(--re-ink);
}
.re-logo-brand { font-size: 1.5rem; letter-spacing: 0.06em; }
.re-logo-name { color: #4a4a4a; }  /* gray on the light nav, so "Media" (accent) leads */
.re-logo-media { color: var(--re-accent); }
.re-logo-sub {
  color: var(--re-ink-soft);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  margin-top: 0.2em;
}
.re-nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.re-nav-links a {
  text-decoration: none; color: var(--re-ink-soft);
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.re-nav-links a:hover { color: var(--re-accent); }
.re-nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* Buttons */
.re-btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--re-font-body); font-weight: 600;
  font-size: 0.98rem; letter-spacing: 0.02em;
  padding: 14px 30px; border-radius: 6px; border: 1px solid var(--re-accent);
  background: var(--re-accent); color: #fff;
  transition: transform 0.2s var(--re-ease), background 0.2s ease, box-shadow 0.2s ease;
}
.re-btn:hover { background: var(--re-accent-bright); transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(232, 93, 0, 0.6); }
.re-btn.ghost { background: transparent; color: var(--re-ink); border-color: var(--re-line); }
.re-btn.ghost:hover { border-color: var(--re-accent); color: var(--re-accent); box-shadow: none; }
/* Ghost on dark imagery (hero) */
.re-btn.ghost.light { color: #fff; border-color: rgba(255,255,255,0.55); }
.re-btn.ghost.light:hover { background: #fff; color: var(--re-ink); border-color: #fff; }

/* Layout helpers */
.re-section { padding: var(--re-pad) clamp(20px, 4vw, 48px); }
.re-wrap { max-width: var(--re-max); margin: 0 auto; }
.re-kicker {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--re-accent); font-weight: 600; margin: 0 0 12px;
}
.re-h2 {
  font-family: var(--re-font-display); font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: 0.02em;
  line-height: 1; margin: 0 0 18px;
}
.re-lead { color: var(--re-ink-soft); max-width: 620px; font-size: 1.05rem; }

/* Hero */
.re-hero {
  min-height: 92vh; display: flex; align-items: flex-end;
  padding: 0; position: relative; color: #fff; overflow: hidden;
}
.re-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.re-hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.62) 100%); }
.re-hero-content { position: relative; z-index: 1;
  padding: clamp(28px, 6vw, 80px); max-width: 900px; }
.re-hero h1 {
  font-family: var(--re-font-display); font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.95;
  letter-spacing: 0.02em; margin: 0 0 16px;
}
.re-hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 0 0 28px; max-width: 560px; }
.re-hero-loc { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 18px; }
.re-hero-loc span { position: relative; opacity: 0.92; }
.re-hero-loc span + span::before { content: ''; position: absolute; left: -8px; top: 50%;
  width: 5px; height: 1px; background: var(--re-accent-bright); transform: translateY(-50%); }
.re-hero-loc span:first-child { color: var(--re-accent-bright); opacity: 1; }
.re-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero scroll cue */
.re-hero-scroll { position: absolute; z-index: 1; bottom: 26px; right: clamp(24px, 5vw, 60px);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; }
.re-hero-scroll svg { width: 18px; height: 18px; animation: re-bob 1.8s var(--re-ease) infinite; }
.re-hero-scroll:hover { color: #fff; }
@keyframes re-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 640px) { .re-hero-scroll { display: none; } }

/* Services */
.re-services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 44px;
}
.re-card {
  background: var(--re-surface); border: 1px solid var(--re-line);
  border-radius: 12px; padding: 30px 26px;
  transition: transform 0.3s var(--re-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.re-card:hover { transform: translateY(-4px); border-color: var(--re-accent);
  box-shadow: 0 20px 46px -24px rgba(0,0,0,0.25); }
.re-card svg { width: 34px; height: 34px; stroke: var(--re-accent); margin-bottom: 16px; }
.re-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.re-card p { color: var(--re-ink-soft); font-size: 0.96rem; margin: 0; }

/* Featured listing block */
.re-featured { background: var(--re-surface); border-top: 1px solid var(--re-line);
  border-bottom: 1px solid var(--re-line); }
.re-featured-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 56px);
  align-items: center; }
.re-featured img { border-radius: 12px; aspect-ratio: 3/2; object-fit: cover; }
.re-featured-media { position: relative; display: block; border-radius: 12px; overflow: hidden;
  transition: transform 0.4s var(--re-ease), box-shadow 0.4s ease; }
.re-featured-media img { border-radius: 0; transition: transform 0.6s var(--re-ease); }
.re-featured-media:hover { box-shadow: 0 24px 60px -28px rgba(0,0,0,0.4); }
.re-featured-media:hover img { transform: scale(1.04); }
.re-featured-badge { position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(26,26,26,0.82); color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.re-featured .re-address { font-family: var(--re-font-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.02em; margin: 6px 0 14px; line-height: 1; }
.re-featured .re-hero-cta { margin-top: 22px; }
@media (max-width: 820px) { .re-featured-inner { grid-template-columns: 1fr; } }

/* Video walkthrough */
.re-video-player {
  position: relative;
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 34px auto 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--re-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--re-surface);
  transition: transform 0.4s var(--re-ease), box-shadow 0.4s ease;
}
.re-video-player:hover { box-shadow: 0 24px 60px -28px rgba(0,0,0,0.4); }
.re-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--re-ease);
}
.re-video-player:hover .re-video-poster { transform: scale(1.03); }
.re-video-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.re-video-trigger:focus-visible {
  outline: 2px solid var(--re-accent);
  outline-offset: -3px;
}
.re-video-play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--re-accent);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.5);
  transition: transform 0.25s var(--re-ease), background 0.2s ease;
  pointer-events: none;
}
.re-video-player:hover .re-video-play,
.re-video-trigger:focus-visible .re-video-play {
  transform: scale(1.08);
  background: var(--re-accent-bright);
}
.re-video-play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px; /* optical centering of the triangle */
  fill: #fff;
}
.re-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.re-video-player.is-playing .re-video-poster,
.re-video-player.is-playing .re-video-trigger { display: none; }

/* Value strip */
.re-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.re-value h3 { font-family: var(--re-font-display); font-size: 1.6rem; color: var(--re-accent);
  margin: 0 0 6px; letter-spacing: 0.02em; }
.re-value p { color: var(--re-ink-soft); margin: 0; font-size: 0.95rem; }

/* Contact form */
.re-form { max-width: 620px; margin-top: 32px; }
.re-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.re-form label { display: block; font-size: 0.85rem; color: var(--re-ink-soft); margin-bottom: 6px; }
.re-form input, .re-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--re-line); border-radius: 6px;
  background: var(--re-surface); font-family: var(--re-font-body); font-size: 0.98rem; color: var(--re-ink);
}
.re-form input:focus, .re-form textarea:focus { outline: 2px solid var(--re-accent); border-color: var(--re-accent); }
.re-form .field { margin-bottom: 16px; }
.re-form-status { margin-top: 14px; font-size: 0.95rem; }
.re-form-status.success { color: #2e7d32; }
.re-form-status.error { color: #c62828; }
@media (max-width: 560px) { .re-form .row { grid-template-columns: 1fr; } }

/* Footer */
.re-footer { padding: 40px clamp(20px, 4vw, 48px); border-top: 1px solid var(--re-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--re-ink-soft); font-size: 0.9rem; }
.re-footer a { color: var(--re-ink-soft); text-decoration: none; }
.re-footer a:hover { color: var(--re-accent); }

/* Scroll reveal */
.re-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--re-ease), transform 0.7s var(--re-ease); }
.re-reveal.in { opacity: 1; transform: none; }

/* Mobile nav */
@media (max-width: 760px) {
  .re-nav-toggle { display: block; }
  .re-nav-links {
    position: fixed; inset: var(--re-nav-h) 0 auto 0; flex-direction: column;
    background: var(--re-surface); border-bottom: 1px solid var(--re-line);
    padding: 20px; gap: 18px; transform: translateY(calc(-100% - var(--re-nav-h))); transition: transform 0.3s var(--re-ease);
  }
  .re-nav-links.open { transform: none; }
}

/* ===== Gallery + lightbox (self-contained copy; kept in sync with css/styles.css) ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px; max-width: var(--re-max); margin: 0 auto; }
.gallery-item { position: relative; aspect-ratio: 3/2; border-radius: 8px; overflow: hidden;
  background: var(--re-surface); border: 1px solid var(--re-line);
  transition: transform 0.4s var(--re-ease), border-color 0.3s ease, box-shadow 0.3s ease; }
.gallery-item:hover { transform: translateY(-4px); border-color: var(--re-accent);
  box-shadow: 0 18px 44px -20px rgba(0,0,0,0.3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--re-ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.has-media { cursor: pointer; }

/* ===== Selected-work showcase (editorial masonry, CSS columns) ===== */
.re-showcase-grid { columns: 3 260px; column-gap: 14px; max-width: var(--re-max); margin: 0 auto; }
.re-showcase-item { break-inside: avoid; margin: 0 0 14px; border-radius: 8px; overflow: hidden;
  background: var(--re-surface); border: 1px solid var(--re-line);
  transition: transform 0.4s var(--re-ease), border-color 0.3s ease, box-shadow 0.3s ease; }
.re-showcase-item:hover { transform: translateY(-4px); border-color: var(--re-accent);
  box-shadow: 0 18px 44px -20px rgba(0,0,0,0.3); }
.re-showcase-item img { width: 100%; height: auto; display: block;
  transition: transform 0.6s var(--re-ease); }
.re-showcase-item:hover img { transform: scale(1.03); }
.re-showcase-item.has-media { cursor: pointer; }

.gallery-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center;
  justify-content: center; padding: clamp(16px, 4vw, 60px); opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease; }
.gallery-lightbox.open { opacity: 1; visibility: visible; }
.gallery-lightbox-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.94);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gallery-lightbox-stage { position: relative; z-index: 1; max-width: 100%; max-height: 100%;
  display: flex; align-items: center; justify-content: center; transform: scale(0.96);
  transition: transform 0.35s var(--re-ease); }
.gallery-lightbox.open .gallery-lightbox-stage { transform: scale(1); }
.gallery-lightbox-stage img, .gallery-lightbox-stage video { max-width: min(94vw, 1600px);
  max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); display: block; }
.gallery-lightbox-close, .gallery-lightbox-nav { position: absolute; z-index: 2; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.5); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease; }
.gallery-lightbox-close { top: clamp(12px,2vw,28px); right: clamp(12px,2vw,28px); width: 48px; height: 48px; }
.gallery-lightbox-close:hover { background: var(--re-accent); transform: rotate(90deg); }
.gallery-lightbox-close svg { width: 22px; height: 22px; }
.gallery-lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.gallery-lightbox-nav:hover { background: var(--re-accent); }
.gallery-lightbox-nav.prev { left: clamp(8px,2vw,28px); }
.gallery-lightbox-nav.next { right: clamp(8px,2vw,28px); }
.gallery-lightbox-nav svg { width: 24px; height: 24px; }
.gallery-lightbox-nav[hidden] { display: none; }
.gallery-lightbox-counter { position: absolute; bottom: clamp(12px,2vw,28px); left: 50%;
  transform: translateX(-50%); z-index: 2; font-size: 0.8rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.85); }
@media (max-width: 600px) { .gallery-lightbox-nav { width: 44px; height: 44px; } }

/* ===== Pricing ===== */
.re-pricing .re-lead { margin-bottom: 8px; }

/* Intro offer banner — the section's focal hook */
.re-offer {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(105deg, var(--re-accent-soft), rgba(232, 93, 0, 0.02));
  border: 1px solid var(--re-accent); border-left: 4px solid var(--re-accent);
  border-radius: 12px; padding: 20px 24px; margin: 34px 0 48px;
}
.re-offer-tag {
  flex: none; font-family: var(--re-font-display); letter-spacing: 0.06em;
  font-size: 1.05rem; line-height: 1; color: #fff; background: var(--re-accent);
  padding: 10px 14px; border-radius: 6px; text-transform: uppercase;
}
.re-offer-body { display: flex; flex-direction: column; gap: 4px; }
.re-offer-body strong { font-size: 1.15rem; letter-spacing: -0.01em; }
.re-offer-body span { color: var(--re-ink-soft); font-size: 0.85rem; line-height: 1.5; }

/* Price blocks */
.re-price-block { margin: 0 0 46px; }
.re-price-title { font-family: var(--re-font-display); font-size: 1.75rem; letter-spacing: 0.02em; margin: 0 0 4px; }
.re-price-sub { color: var(--re-ink-soft); margin: 0 0 20px; font-size: 0.96rem; }

/* Size tiers — kept quiet so the offer + bundle carry the accent */
.re-tiers { display: grid; gap: 10px; }
.re-tier {
  display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: center; gap: 14px;
  background: var(--re-surface); border: 1px solid var(--re-line); border-radius: 10px;
  padding: 16px 22px; transition: border-color 0.25s ease;
}
.re-tier:hover { border-color: var(--re-accent); }
.re-tier-size { font-weight: 600; }
.re-tier-photos { color: var(--re-ink-soft); font-size: 0.9rem; }
.re-tier-price { font-family: var(--re-font-display); font-size: 1.55rem; color: var(--re-accent); letter-spacing: 0.02em; text-align: right; }
.re-price-note { color: var(--re-ink-soft); font-size: 0.88rem; margin: 14px 2px 0; font-style: italic; }

/* Bundle — secondary focal (the upsell) */
.re-bundle {
  position: relative; background: var(--re-surface);
  border: 2px solid var(--re-accent); border-radius: 14px;
  padding: 34px 30px 30px; margin: 0 0 46px; box-shadow: 0 22px 50px -28px rgba(0,0,0,0.28);
}
.re-bundle-flag {
  position: absolute; top: -13px; left: 26px; background: var(--re-accent); color: #fff;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 6px 13px; border-radius: 20px;
}
.re-bundle h3 { font-family: var(--re-font-display); font-size: 1.95rem; letter-spacing: 0.02em; margin: 2px 0 8px; }
.re-bundle-price { font-size: 1.05rem; color: var(--re-ink-soft); margin: 0 0 18px; }
.re-bundle-price strong { font-family: var(--re-font-display); font-size: 2.1rem; color: var(--re-accent); vertical-align: -2px; }
.re-bundle-price span { font-size: 0.86rem; }
.re-bundle-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 9px; }
.re-bundle-list li { position: relative; padding-left: 28px; }
.re-bundle-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 17px; height: 17px;
  background: var(--re-accent); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.re-bundle-save { color: var(--re-ink-soft); font-size: 0.88rem; margin: 0 0 22px; }

/* Add-ons — a plain, scannable price list */
.re-addons { display: grid; }
.re-addon {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 4px; border-bottom: 1px solid var(--re-line);
}
.re-addon > span:first-child { color: var(--re-ink); }
.re-addon > span:last-child { font-weight: 600; color: var(--re-accent); white-space: nowrap; }
.re-addon em { color: var(--re-ink-soft); font-weight: 400; font-style: normal; font-size: 0.82rem; }

.re-price-fine { color: var(--re-ink-soft); font-size: 0.84rem; margin: 12px 2px 0; }

@media (max-width: 620px) {
  .re-tier { grid-template-columns: 1fr auto; row-gap: 2px; }
  .re-tier-photos { grid-column: 1 / -1; order: 3; }
  .re-offer { flex-direction: column; align-items: flex-start; }
}
