/* Bigtam for real estate — page styles on top of site.css.
   Same ground as the main site (white, peach, ink, one orange accent); the banner adds a dusk sky
   with a self-drawing skyline and a live lead feed. */

/* ---------- banner ---------- */
.re-hero { position: relative; padding-block: calc(env(safe-area-inset-top, 0px) + 104px) 0; overflow: hidden; }
.re-hero::before { content: ""; position: absolute; inset: -20% auto auto -15%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, var(--peach-2) 0%, rgba(255, 228, 208, 0) 62%); pointer-events: none; }
.re-hero > .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.re-hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.re-hero h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.04em; }
.re-facts { margin: 6px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.re-facts div { padding: 16px 16px 0 0; }
.re-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.re-facts dt { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -0.02em; color: var(--ink); }
.re-facts dd { margin: 4px 0 0; font-size: 14px; color: var(--soft); }

.re-stage { position: relative; aspect-ratio: 5 / 6; max-height: 640px; width: 100%; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(28% 22% at 72% 30%, rgba(255, 196, 140, .95) 0%, rgba(255, 196, 140, 0) 70%),
    linear-gradient(180deg, #FFF8F1 0%, #FFE9D6 46%, #FFD4B0 78%, #FFC596 100%);
  box-shadow: 0 40px 90px -30px rgba(120, 50, 0, .35); }
.re-stage::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(10, 10, 12, .06); }
.re-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; z-index: 0; }
.re-sky path { fill: none; stroke: #2A1A10; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0; }
.re-sky .soft { stroke-opacity: .45; stroke-width: 1.1; }
.re-sky .win { stroke-opacity: .28; stroke-width: 1; }
.re-sky .hill { stroke-opacity: .35; }
.re-sky .hot { stroke: var(--accent); stroke-opacity: 1; }
.re-sky .gr { stroke-width: 1.8; }
@media (prefers-reduced-motion: no-preference) {
  .re-sky path { stroke-dashoffset: 1; animation: re-draw 1.4s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: var(--d, 0s); }
}
@keyframes re-draw { to { stroke-dashoffset: 0; } }
.re-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .8s var(--ease); }
.re-stage.has-img .re-hero-img { opacity: 1; }
.re-stage.has-img .re-sky { opacity: 0; }
.re-stage.has-img::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 6, 2, .45) 100%); }

/* the live lead feed over the banner */
.re-feed { position: absolute; z-index: 4; left: clamp(12px, 3%, 22px); right: clamp(12px, 3%, 22px); top: clamp(12px, 4%, 26px); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.re-chip { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 9px 14px 9px 9px; border-radius: 16px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 26px -14px rgba(60, 25, 0, .45);
  font-size: 13.5px; line-height: 1.3; color: var(--ink); animation: re-in .5s cubic-bezier(.16, 1, .3, 1) both; }
.re-chip.out { animation: re-out .45s ease both; }
.re-chip i { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); color: #FFFFFF; font-style: normal; font-size: 13px; }
.re-chip.wa i { background: #1FA855; }
.re-chip.hot i { background: var(--accent); }
.re-chip b { font-weight: 600; }
.re-chip small { display: block; font-size: 12px; color: var(--soft); }
@keyframes re-in { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
@keyframes re-out { to { opacity: 0; transform: translateY(-6px); } }

.re-channels { margin-top: clamp(48px, 6vw, 80px); border-block: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.re-channels .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-block: 22px; }
.re-channels ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.re-channels li { font-size: 15px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #FFFFFF; }

/* ---------- edge ---------- */
.re-edge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #2A2A2F; border: 1px solid #2A2A2F; border-radius: var(--r-md); overflow: hidden; }
.re-edge-c { background: var(--night); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.re-edge-c .n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.re-edge-c h3 { color: var(--on-night); }
.re-edge-c p { color: var(--on-night-soft); font-size: 16px; }

/* ---------- services ---------- */
.re-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.re-svc { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color .25s, transform .3s var(--ease); }
.re-svc:hover { border-color: var(--peach-2); transform: translateY(-3px); }
.re-svc:first-child { grid-column: span 2; background: var(--peach); border-color: var(--peach-2); }
.re-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--peach); color: var(--accent-ink); }
.re-svc:first-child .re-ic { background: #FFFFFF; }
.re-svc h3 { font-size: 19px; line-height: 1.25; }
.re-svc p { font-size: 15px; color: var(--soft); }

/* ---------- split sections ---------- */
.re-split-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.re-split-grid.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.re-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.re-list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.re-list b { font-size: 17px; color: var(--ink); }
.re-list span { font-size: 15.5px; color: var(--soft); }
.re-steps { list-style: none; counter-reset: s; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.re-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 66px; border: 1px solid var(--line); border-radius: var(--r-md); background: #FFFFFF; display: flex; flex-direction: column; gap: 4px; }
.re-steps li::before { content: "0" counter(s); position: absolute; left: 20px; top: 18px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--accent-ink); }
.re-steps b { font-size: 17px; color: var(--ink); }
.re-steps span { font-size: 15px; color: var(--soft); }

/* image slots: an architectural grid until the photo arrives */
.re-slot { border-radius: var(--r-md); background:
  linear-gradient(rgba(194, 65, 0, .07) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, rgba(194, 65, 0, .07) 1px, transparent 1px) 0 0 / 28px 28px,
  radial-gradient(120% 90% at 80% 0%, var(--peach-2) 0%, rgba(255, 228, 208, 0) 60%),
  linear-gradient(160deg, #FFF8F2 0%, #F6EDE6 100%); }
.re-slot.loaded { background: var(--surface); }
.re-tall { max-height: 620px; }

/* ---------- WhatsApp mock ---------- */
.re-auto { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }
.re-phone { justify-self: center; width: min(100%, 360px); border-radius: 40px; padding: 12px; background: #111114; box-shadow: 0 40px 80px -30px rgba(10, 10, 12, .45); }
.re-phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-radius: 30px 30px 0 0; background: #075E54; color: #FFFFFF; }
.re-phone-top .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: #075E54; font-weight: 700; }
.re-phone-top b { display: block; font-size: 15px; }
.re-phone-top small { font-size: 12px; opacity: .8; }
.re-chat { height: 430px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px 16px; border-radius: 0 0 30px 30px; background: #ECE5DD; }
.re-msg { max-width: 82%; padding: 8px 11px 6px; border-radius: 12px; font-size: 13.5px; line-height: 1.35; color: #111; background: #FFFFFF; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); animation: re-in .4s cubic-bezier(.16, 1, .3, 1) both; }
.re-msg.me { align-self: flex-end; background: #DCF8C6; }
.re-msg small { display: block; text-align: right; font-size: 10.5px; color: #667; margin-top: 2px; }
.re-msg.sys { align-self: center; background: #FFF4C7; font-size: 12px; color: #5a4a00; }
.re-typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; border-radius: 12px; background: #FFFFFF; }
.re-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa; animation: re-dot 1s infinite; }
.re-typing i:nth-child(2) { animation-delay: .15s; } .re-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes re-dot { 50% { opacity: .3; transform: translateY(-2px); } }

/* ---------- film and on-site tiles ---------- */
.re-films { padding-top: 0; }
#films { padding-top: clamp(72px, 10vw, 140px); }
.re-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.re-tile { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.re-tile h3 { font-size: 20px; margin-top: 4px; }
.re-tile p { font-size: 15px; color: var(--soft); }

/* ---------- portfolio ---------- */
.re-port { background: var(--surface); }
.re-proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.re-proj { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.re-proj .re-slot { border-radius: 0; }
.re-proj-b { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.re-loc { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.re-loc svg { width: 15px; height: 15px; }
.re-proj h3 { font-size: 22px; }
.re-proj-m { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.re-proj-m b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.re-proj-m span { font-size: 13.5px; color: var(--soft); text-align: right; }
.re-more { background: var(--night); border-color: var(--night); padding: clamp(26px, 3vw, 36px); justify-content: flex-end; gap: 10px; min-height: 320px; }
.re-more strong { font-family: var(--display); font-size: clamp(64px, 7vw, 96px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; color: var(--accent); }
.re-more h3 { color: var(--on-night); font-size: 24px; }
.re-more p { color: var(--on-night-soft); }

/* ---------- contact ---------- */
.re-contact-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg);
  background: radial-gradient(70% 120% at 100% 0%, var(--peach-2) 0%, rgba(255, 228, 208, 0) 60%), var(--peach); border: 1px solid var(--peach-2); }
.re-contacts { margin: 0; display: flex; flex-direction: column; }
.re-contacts div { padding: 16px 0; border-bottom: 1px solid rgba(194, 65, 0, .18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.re-contacts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.re-contacts dd { margin: 0; font-weight: 600; color: var(--ink); user-select: all; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .re-svc-grid, .re-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .re-hero > .wrap, .re-split-grid, .re-split-grid.rev, .re-contact-card { grid-template-columns: minmax(0, 1fr); }
  .re-stage { aspect-ratio: 4 / 3; }
  .re-edge-grid { grid-template-columns: minmax(0, 1fr); }
  .re-proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .re-tall { aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  .re-hero { padding-top: calc(env(safe-area-inset-top, 0px) + 92px); }
  .re-facts { grid-template-columns: minmax(0, 1fr); }
  .re-facts div, .re-facts div + div { padding: 12px 0 0; border-left: 0; }
  .re-stage { aspect-ratio: 4 / 5; }
  .re-svc-grid, .re-proj-grid { grid-template-columns: minmax(0, 1fr); }
  .re-svc:first-child { grid-column: auto; }
  .re-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .re-tile h3 { font-size: 17px; }
  .re-tile p { font-size: 13.5px; }
  .re-chip { font-size: 12.5px; }
}
