/* Typography: JetBrains Mono is the sole typeface for every interior UI text.
   The monumental serif remains exclusive to the cover and is not loaded here.
   Torres del Norte: the inventory's UI layer uses the cover's 12 × 8 grid.
   The iframe and its SuperSplat rendering code are intentionally untouched. */
@font-face{font-family:"TDN HUD";src:url("../assets/fonts/jetbrains-mono.woff") format("woff");font-weight:400;font-display:swap}
:root{--tdn-ink:#0F151F;--tdn-gold:#D2B16B;--tdn-ivory:#e9e8e2;--tdn-line:rgba(255,255,255,.15);--tdn-bar-bg:rgba(15,21,31,.90);--tdn-mono:"TDN HUD",ui-monospace,SFMono-Regular,Consolas,monospace;--tdn-cell:calc((100vw - 40px)/12);--tdn-row:calc((100dvh - 40px)/8)}
body.editorial-interior{--ivory:var(--tdn-ivory);--paper:var(--tdn-ivory);--gold:var(--tdn-gold);--gold-soft:var(--tdn-line);--font-display:var(--tdn-mono);--font-editorial:var(--tdn-mono);--font-ui:var(--tdn-mono);background:var(--tdn-ink);color:var(--tdn-ivory);font-family:var(--tdn-mono)}
body.editorial-interior *,body.editorial-interior *::before,body.editorial-interior *::after{border-radius:0!important}
/* Full-bleed lower HUD rail, matching the header. Controls remain interactive above it. */
body.editorial-interior::after{content:none}
body.editorial-interior .chrome{z-index:3;inset:20px;border:1px solid var(--tdn-line);background-image:none;opacity:.48}
body.editorial-interior .chrome::after{display:none}
body.editorial-interior .crosshair{position:fixed;width:15px;height:15px;z-index:39;pointer-events:none;color:var(--tdn-gold)}
body.editorial-interior .crosshair::before,body.editorial-interior .crosshair::after{content:"";position:absolute;background:currentColor;opacity:.65}
body.editorial-interior .crosshair::before{width:15px;height:1px;top:7px;left:0}
body.editorial-interior .crosshair::after{width:1px;height:15px;top:0;left:7px}
/* Reticle corners belong to the clear viewer area, never the header/footer rails. */
body.editorial-interior .crosshair.tl{top:76px;left:20px}body.editorial-interior .crosshair.tr{top:76px;right:20px}body.editorial-interior .crosshair.bl{bottom:76px;left:20px}body.editorial-interior .crosshair.br{bottom:76px;right:20px}
body.editorial-interior .veil{background:var(--tdn-ink)}
body.editorial-interior header{z-index:36;top:0;left:0;right:0;height:64px;padding:0 24px;display:grid;grid-template-columns:4fr 4fr 4fr;background:transparent;border:0;color:var(--tdn-ivory);font:10px var(--tdn-mono);letter-spacing:.05em}
body.editorial-interior header span,body.editorial-interior header a,body.editorial-interior header select{font-family:var(--tdn-mono);font-weight:400;letter-spacing:.05em;text-shadow:none}
body.editorial-interior header span:first-child a{font-size:0}
body.editorial-interior header span:first-child a::before{content:"TORRES DEL NORTE";font-size:10px}
body.editorial-interior header span:nth-child(2){color:var(--tdn-gold);font-size:10px}
body.editorial-interior header > span:last-child{gap:20px;padding-right:42px}
body.editorial-interior header .brand-mark{right:24px;width:28px;color:var(--tdn-ivory)}
body.editorial-interior #sceneLabel{font-family:var(--tdn-mono);font-size:10px}
body.editorial-interior .lang-switch{font-family:var(--tdn-mono)}
body.editorial-interior .title{z-index:6;left:44px;bottom:96px;width:calc(var(--tdn-cell)*4 - 48px);padding:0;border:0;color:var(--tdn-ivory);text-shadow:0 1px 2px rgba(0,0,0,.85),0 2px 10px rgba(0,0,0,.55)}
body.editorial-interior .title .eyebrow{margin-bottom:10px;color:var(--tdn-gold);font:9px var(--tdn-mono);letter-spacing:.05em}
body.editorial-interior .title h1{font:400 clamp(27px,3.5vw,43px)/1.12 var(--tdn-mono);letter-spacing:-.045em;color:var(--tdn-ivory)}
body.editorial-interior .title h1 span{color:var(--tdn-gold)}
body.editorial-interior .title::after{display:none}
body.editorial-interior .unit-spec{margin-top:14px}
body.editorial-interior .unit-spec-meta,body.editorial-interior .unit-spec-price{font:9px/1.45 var(--tdn-mono);letter-spacing:.05em;color:var(--tdn-gold)}
body.editorial-interior .unit-spec-price{margin-top:4px;font-size:12px}
body.editorial-interior .editorial-card{z-index:6;left:44px;top:calc(20px + var(--tdn-row));bottom:auto;width:calc(var(--tdn-cell)*3 - 48px);min-width:230px;color:var(--tdn-ivory);mix-blend-mode:normal;text-shadow:0 1px 8px var(--tdn-ink);transition:none}
body.editorial-interior .editorial-card.visible{opacity:1;transform:none}
body.editorial-interior .editorial-kicker{margin:0 0 16px;padding:0;border:0;color:var(--tdn-gold);font:9px var(--tdn-mono);letter-spacing:.05em}
body.editorial-interior .editorial-kicker::after{display:none}
body.editorial-interior .editorial-card h2,body.editorial-interior[data-room="primary_bedroom"] .editorial-card h2,body.editorial-interior[data-room="secondary_bedroom"] .editorial-card h2,body.editorial-interior[data-room="primary_bath"] .editorial-card h2,body.editorial-interior[data-room="guest_bath"] .editorial-card h2,body.editorial-interior[data-room="kids_room"] .editorial-card h2{margin:0 0 13px;color:var(--tdn-ivory);font:400 clamp(23px,2.5vw,32px)/1.15 var(--tdn-mono);letter-spacing:-.045em}
body.editorial-interior .editorial-headline{max-width:38ch;margin:0 0 12px;color:var(--tdn-gold);font:400 11.5px/1.45 var(--tdn-mono);letter-spacing:0;text-transform:none}
body.editorial-interior .editorial-card > p:not(.editorial-kicker):not(.editorial-headline){max-width:33ch;color:var(--tdn-ivory);font:400 13px/1.42 var(--tdn-mono)}
body.editorial-interior .editorial-detalles{max-width:100%;margin-top:12px;padding-top:10px;border-top:1px solid var(--tdn-line);color:var(--tdn-ivory);font:400 11px/1.35 var(--tdn-mono);letter-spacing:0}
body.editorial-interior .editorial-detalles-label{margin-bottom:6px;color:var(--tdn-gold);font:9px var(--tdn-mono);letter-spacing:.05em}
body.editorial-interior .rooms{z-index:7;top:calc(20px + var(--tdn-row));right:20px;width:calc(var(--tdn-cell)*2);padding:0 12px;gap:0}
body.editorial-interior .rooms::before{margin:0;padding:0 0 14px;border-bottom:1px solid var(--tdn-line);color:var(--tdn-gold);font:9px var(--tdn-mono);letter-spacing:.05em}
body.editorial-interior .rooms button{padding:10px 0;border-bottom:1px solid var(--tdn-line);color:var(--tdn-ivory);font:10px var(--tdn-mono);letter-spacing:.05em}
body.editorial-interior .rooms button.active{padding-left:10px;color:var(--tdn-gold);border-bottom-color:var(--tdn-gold)}
body.editorial-interior .rooms button.active::before{top:8px;bottom:8px;background:var(--tdn-gold)}
body.editorial-interior .dock{z-index:8;left:50%;bottom:0;height:64px;transform:translateX(-50%);align-items:center;gap:0;background:none;backdrop-filter:none}
body.editorial-interior .dock button{min-width:92px;padding:14px 8px;text-align:center;border:0;color:var(--tdn-ivory);font:9px var(--tdn-mono);letter-spacing:.05em}
body.editorial-interior .dock button:first-child{border-left:0}
body.editorial-interior .dock button.active{background:rgba(210,177,107,.08);color:var(--tdn-gold);border-bottom:0}
body.editorial-interior .tools{z-index:8;right:112px;bottom:0;height:64px;align-items:center;gap:0}
body.editorial-interior .tools button{padding:13px 12px;border:0;color:var(--tdn-ivory);font:9px var(--tdn-mono);letter-spacing:.05em}
/* The cover language uses bracketed controls, not vertical separator strokes. */
body.editorial-interior .tools button::before,body.editorial-interior .dock button::before{content:"[ ";white-space:pre;color:var(--tdn-gold)}
body.editorial-interior .tools button::after,body.editorial-interior .dock button::after{content:" ]";white-space:pre;color:var(--tdn-gold)}
body.editorial-interior .map-panel{z-index:7;right:20px;bottom:94px;width:calc(var(--tdn-cell)*2);border:1px solid var(--tdn-line);background:rgba(15,21,31,.78);backdrop-filter:none;transition:none}
body.editorial-interior .map-panel.expanded{width:calc(var(--tdn-cell)*4);background:rgba(15,21,31,.94);backdrop-filter:none}
body.editorial-interior .map-head{padding:10px 12px;border-bottom:1px solid var(--tdn-line);color:var(--tdn-gold);font:8px var(--tdn-mono);letter-spacing:.05em}
body.editorial-interior .map-body{background:var(--tdn-ink)}
body.editorial-interior .map-body img{filter:none}
body.editorial-interior .map-pin{border-radius:0!important;background:var(--tdn-ink);box-shadow:none}
body.editorial-interior .wa-link{z-index:40;right:12px;bottom:0;margin:0;box-sizing:border-box;width:92px;height:64px;padding:0 6px;display:flex;align-items:center;justify-content:center;background:none;border:0;color:var(--tdn-ivory);font:10px var(--tdn-mono);letter-spacing:.02em;white-space:nowrap;text-decoration:none}
body.editorial-interior .wa-link::before{content:"[ ";white-space:pre;color:var(--tdn-gold)}
body.editorial-interior .wa-link::after{content:" ]";white-space:pre;color:var(--tdn-gold)}
body.editorial-interior .wa-link:hover,body.editorial-interior .wa-link:focus-visible{color:var(--tdn-gold)}
body.editorial-interior .map-close{color:var(--tdn-gold);text-decoration:none;font:8px var(--tdn-mono)}
body.editorial-interior .interior-loading{background:var(--tdn-ink);color:var(--tdn-gold)}
@media(min-width:769px) and (max-height:760px){
 body.editorial-interior .editorial-card{top:100px}
 body.editorial-interior .editorial-card h2{font-size:30px}
 body.editorial-interior .editorial-card > p:not(.editorial-kicker):not(.editorial-headline){font-size:11px;line-height:1.3}
 body.editorial-interior .editorial-detalles{font-size:10px}
 body.editorial-interior .rooms{top:100px}
 body.editorial-interior .title{bottom:84px}
}
@media(max-width:768px){
 /* All three mobile HUD bands share the same 20px Swiss-grid edges. */
 body.editorial-interior::after{left:0;right:0;width:100%;height:54px}
 body.editorial-interior header{display:grid!important;font-size:11px;top:0;left:0;right:0;width:100%;box-sizing:border-box;height:54px;padding:0 12px;grid-template-columns:auto 1fr auto;gap:0;background:transparent;border-bottom:0}
 body.editorial-interior header > span:first-child{display:block;grid-column:1;white-space:nowrap}
 body.editorial-interior header > span:first-child a::before{content:"TORRES DEL NORTE";font-size:11px}
 body.editorial-interior header > span:nth-child(2){display:none}
 body.editorial-interior header > span:last-child{grid-column:2;justify-self:end;display:block;padding-right:30px;white-space:nowrap}
 body.editorial-interior .desktop-unit-label{display:none}
 body.editorial-interior .mobile-unit-nav{display:inline}
 body.editorial-interior #unitNavHome{display:none}
 body.editorial-interior #unitNav{color:var(--tdn-gold);font:11px var(--tdn-mono);letter-spacing:.05em;appearance:none;-webkit-appearance:none;padding:7px 26px 7px 2px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23D2B16B' stroke-width='2.5' stroke-linejoin='miter'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 2px center;background-size:15px 15px;border:0;cursor:pointer}
 body.editorial-interior header .brand-mark{right:12px;width:22px}
 body.editorial-interior .chrome{inset:20px}
 /* Clear portion starts below the mobile room selector; footer starts 64px from bottom. */
 body.editorial-interior .crosshair.tl,body.editorial-interior .crosshair.tr{top:120px}
 body.editorial-interior .crosshair.bl,body.editorial-interior .crosshair.br{bottom:66px}
 body.editorial-interior:has(.m-espacios.open) .crosshair.tl,body.editorial-interior:has(.m-espacios.open) .crosshair.tr{opacity:0}
 body.editorial-interior:has(.m-intro.visible) .crosshair,body.editorial-interior.details-open .crosshair.bl,body.editorial-interior.details-open .crosshair.br{opacity:0}
 body.editorial-interior .title{left:32px;right:32px;bottom:92px;width:auto;padding:0}
 body.editorial-interior .title h1{font-size:clamp(24px,6.8vw,31px);line-height:1.12}
 body.editorial-interior .unit-spec{margin-top:8px}
 body.editorial-interior .unit-spec-meta{font-size:11px;line-height:1.55;letter-spacing:.02em}
 body.editorial-interior .unit-spec-price{font-size:13px;line-height:1.5}
 body.editorial-interior .dock.expanded{left:20px;right:20px;top:74px;bottom:auto;min-width:0;width:auto;padding:0;background:var(--tdn-ink);border:1px solid var(--tdn-line);gap:0}
 body.editorial-interior .dock.expanded button{padding:14px 12px;border-bottom:1px solid var(--tdn-line);border-left:0;text-align:left}
 body.editorial-interior .m-room-bar{top:54px;left:0;right:0;width:100%;box-sizing:border-box;height:54px;min-height:0;padding:0 20px;background:transparent;border:0}
 body.editorial-interior .m-room-name{font:11px var(--tdn-mono);letter-spacing:.05em;color:var(--tdn-gold);text-shadow:none}
 body.editorial-interior .m-room-name::after{width:12px;height:12px;background:none;border-right:2px solid var(--tdn-gold);border-bottom:2px solid var(--tdn-gold);transform:rotate(45deg);transition:transform 180ms ease;opacity:1;margin-right:2px}
 body.editorial-interior .m-room-name[aria-expanded="true"]::after{transform:rotate(225deg)}
 body.editorial-interior .m-room-count{font:11px var(--tdn-mono);color:var(--tdn-gold);text-shadow:none}
 body.editorial-interior .m-espacios{top:108px;right:0;left:auto;width:max-content;max-width:calc(100vw - 40px);max-height:calc(100dvh - 174px);overflow-y:auto;overflow-x:hidden;padding:4px 0;background:var(--tdn-ink);border:1px solid var(--tdn-line);transition:none}
 body.editorial-interior .m-espacios.open{transition:none}
 body.editorial-interior .m-espacios::before{content:none!important;display:none!important}
 body.editorial-interior .m-espacios-list{display:grid;width:max-content;min-width:100%}
 body.editorial-interior .m-espacios-item{display:grid;grid-template-columns:24px max-content;justify-content:end;align-items:center;gap:12px;width:100%;padding:11px 14px;border-bottom:1px solid var(--tdn-line)!important;text-align:right;color:var(--tdn-ivory)!important}
 body.editorial-interior .m-espacios-num{min-width:0;text-align:right;color:var(--tdn-gold);font:11px var(--tdn-mono)}
 body.editorial-interior .m-espacios-label{text-align:right;white-space:nowrap;font:11px var(--tdn-mono);letter-spacing:.05em}
 body.editorial-interior .m-intro{padding:calc(74px + max(var(--tdn-row),66px) + 18px) 32px 120px;background:rgba(15,21,31,.60);transition:none;justify-content:flex-start}
 body.editorial-interior .m-intro.visible{opacity:1}
 body.editorial-interior .m-intro-kicker{margin:0 0 18px;color:var(--tdn-gold);font:11px var(--tdn-mono);letter-spacing:.05em}
 body.editorial-interior .m-intro-title{margin:0 0 12px;color:var(--tdn-ivory);font:400 clamp(24px,6.8vw,31px)/1.15 var(--tdn-mono);letter-spacing:-.045em}
 body.editorial-interior .m-intro-headline{margin:0 0 14px;color:var(--tdn-gold);font:400 11.5px/1.45 var(--tdn-mono);letter-spacing:0;text-transform:none;max-width:100%}
 body.editorial-interior .m-intro-copy{color:var(--tdn-ivory);font:400 13px/1.45 var(--tdn-mono)}
 body.editorial-interior .m-intro-hint{left:32px;bottom:92px;color:var(--tdn-gold);font:11px var(--tdn-mono);letter-spacing:.05em;animation:none}
 body.editorial-interior .m-walk-hint{bottom:180px;color:var(--tdn-gold);font:11px/1.4 var(--tdn-mono);letter-spacing:.05em}
 body.editorial-interior .tools{left:12px;right:92px;bottom:0;height:54px;gap:0;align-items:center;border-top:0}
 body.editorial-interior .tools button,body.editorial-interior .tools .m-detalles-trigger{font:10px var(--tdn-mono);letter-spacing:.02em;color:var(--tdn-ivory)!important;border:0!important;border-right:0!important;border-bottom:0!important;padding:10px 3px!important}
 body.editorial-interior .wa-link{right:0;bottom:0;width:92px;height:54px;padding:0 6px;font-size:10px}
 body.editorial-interior .map-panel{left:20px;right:20px;bottom:72px;width:calc(var(--tdn-cell)*3);background:var(--tdn-ink);border:1px solid var(--tdn-line)}
 body.editorial-interior .map-panel.expanded{width:calc(100vw - 40px)}
 body.editorial-interior .m-sheet{z-index:6;left:0;right:0;bottom:0;width:100%;max-height:calc(100dvh - 74px);background:rgba(15,21,31,.60);border:0;border-top:1px solid var(--tdn-gold);border-radius:0!important;backdrop-filter:none;-webkit-backdrop-filter:none;transition:transform 360ms cubic-bezier(.32,.72,0,1)}
 body.editorial-interior .m-sheet-handle{display:none}
 body.editorial-interior .m-sheet-close{top:16px;right:20px;color:var(--tdn-gold)!important;font:11px var(--tdn-mono)}
 body.editorial-interior .m-sheet-content{padding:52px 20px calc(92px + env(safe-area-inset-bottom,0px));text-shadow:none}
 body.editorial-interior .m-sheet-backdrop{z-index:5;background:transparent}
 body.editorial-interior.details-open .title{visibility:hidden}
 body.editorial-interior .m-sheet-title{margin:0 0 12px;color:var(--tdn-ivory);font:400 clamp(22px,6vw,27px)/1.16 var(--tdn-mono);letter-spacing:-.04em}
 body.editorial-interior .m-sheet-headline{color:var(--tdn-gold);font:400 11.5px/1.45 var(--tdn-mono);letter-spacing:0;text-transform:none}
 body.editorial-interior .m-sheet-copy{color:var(--tdn-ivory);font:400 13px/1.45 var(--tdn-mono)}
 body.editorial-interior .m-sheet-detalles{color:var(--tdn-ivory);border-top:1px solid var(--tdn-line);font:11px/1.4 var(--tdn-mono);letter-spacing:0}
 body.editorial-interior .m-sheet-detalles-label{color:var(--tdn-gold);font:11px var(--tdn-mono)}
}
@media(max-width:374px){body.editorial-interior .m-intro-copy{font-size:12px;line-height:1.35}body.editorial-interior .m-intro-hint{bottom:78px}body.editorial-interior .title{bottom:82px}}


/* Interior vignette: restore the ORIGINAL chrome overlay, with the project petroleum-blue ink. */
/* Symmetric RECTANGULAR edge falloff; the central field remains fully transparent. */
body.editorial-interior .chrome{
  position:fixed;
  inset:0;
  z-index:3;
  opacity:1;
  border:0;
  pointer-events:none;
  background:
    linear-gradient(to right,rgba(15,21,31,.96) 0%,rgba(15,21,31,.80) 7%,rgba(15,21,31,.50) 15%,rgba(15,21,31,.17) 24%,transparent 33%),
    linear-gradient(to left,rgba(15,21,31,.96) 0%,rgba(15,21,31,.80) 7%,rgba(15,21,31,.50) 15%,rgba(15,21,31,.17) 24%,transparent 33%),
    linear-gradient(to bottom,rgba(15,21,31,.86) 0%,rgba(15,21,31,.62) 8%,rgba(15,21,31,.27) 18%,transparent 30%),
    linear-gradient(to top,rgba(15,21,31,.86) 0%,rgba(15,21,31,.62) 8%,rgba(15,21,31,.27) 18%,transparent 30%);
}
/* Restore the existing 20px Swiss grid keyline without suppressing the vignette. */
body.editorial-interior .chrome::after{
  display:block;
  content:"";
  position:absolute;
  inset:20px;
  border:1px solid var(--tdn-line);
  opacity:.48;
  pointer-events:none;
  background:none;
}
